Function at 0x5bd780
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5bdcae
sub esp, 0x6c
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x5bd8f8
movzx ecx, byte [esp + 0x80]
movzx ecx, cl
lea edx, [eax + 1]
imul edx, ecx
mov ebx, dword [esp + 0x74]
cmp ebx, edx
jl 0x5bd82c
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
lea ecx, [0x6929c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044bce0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x20]
cmp ecx, edx
jb 0x5bdca6
mov ebx, dword [esp + 0x78]
mov ebp, ebx
sub ebx, edx
mov dword [esp + 0x30], ebx
sub ecx, edx
mov esi, ebx
neg ebx
sar ebx, 0x1f
and ebx, edx
mov edi, esi
mov esi, dword [esp + 0x70]
add ebx, esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
jmp 0x5bd972
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp], edx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
lea eax, [0x704f39]
mov dword [esp], eax
mov dword [esp + 4], 0x37
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x6c
ret
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x6c
ret
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x30]
mov ebx, ebp
mov ebp, esi
mov esi, dword [esp + 0x70]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x2c]
cmp ebx, esi
jle 0x5bdc25
lea ebx, [esi + 1]
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x24]
imul ebx, ebp
add esi, 2
imul esi, ebp
mov ebp, dword [esp + 0x78]
cmp ebp, esi
jb 0x5bdc9d
cmp esi, ebx
jb 0x5bdc94
sub ebp, ebx
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, ebx
mov ebx, dword [esp + 0x24]
cmp ebx, 2
jg 0x5bd9f3
cmp ebx, 1
jne 0x5bd9d2
mov esi, dword [esp + 0x70]
movzx ebp, byte [esi + ebp]
jmp 0x5bda5d
cmp ebx, 2
jne 0x5bdc7c
mov esi, dword [esp + 0x70]
movzx ebx, byte [esi + ebp]
shl ebx, 8
movzx ebp, byte [esi + ebp + 1]
or ebp, ebx
mov ebx, dword [esp + 0x24]
jmp 0x5bda5d
cmp ebx, 3
jne 0x5bda22
mov esi, dword [esp + 0x70]
movzx ebx, byte [esi + ebp]
shl ebx, 0x10
movzx esi, byte [esi + ebp + 1]
shl esi, 8
or esi, ebx
mov ebx, dword [esp + 0x70]
movzx ebp, byte [ebx + ebp + 2]
or ebp, esi
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x70]
jmp 0x5bda5d
cmp ebx, 4
jne 0x5bdc7c
mov esi, dword [esp + 0x70]
movzx ebx, byte [esi + ebp]
shl ebx, 0x18
movzx esi, byte [esi + ebp + 1]
shl esi, 0x10
or esi, ebx
mov ebx, dword [esp + 0x70]
movzx ebx, byte [ebx + ebp + 2]
shl ebx, 8
or ebx, esi
mov esi, dword [esp + 0x70]
movzx ebp, byte [esi + ebp + 3]
or ebp, ebx
mov ebx, dword [esp + 0x24]
test ebp, ebp
je 0x5bdbc0
lea esi, [ebp - 1]
mov ebx, dword [esp + 0x1c]
cmp ebx, esi
jg 0x5bdb5b
cmp ecx, esi
jl 0x5bdaf6
cmp edi, esi
jb 0x5bdc73
cmp ebx, esi
ja 0x5bdc6a
mov dword [esp + 0x28], esi
sub edi, ebx
mov dword [esp + 0x34], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, ebx
mov esi, dword [esp + 0x54]
add esi, edi
sub ebp, ebx
mov ebx, dword [esp + 0x7c]
mov edi, esi
mov esi, dword [esp + 0x2c]
cmp ebx, esi
jbe 0x5bdc61
lea esi, [esi + esi*2]
dec ebp
mov dword [eax + esi*4 + 4], ebp
mov ebp, dword [esp + 0x34]
mov dword [eax + esi*4 + 8], ebp
lea ebp, [eax + esi*4]
mov dword [esp + 0x58], ebp
mov ebp, dword [0x1eaa9f0]
test ebp, ebp
jne 0x5bdae0
mov dword [eax + esi*4], edi
jmp 0x5bd93e
mov ebp, edi
mov edi, dword [esp + 0x58]
mov esi, eax
mov eax, ebp
call fcn.00465d80
mov eax, esi
jmp 0x5bd93e
lea eax, [0x6a9700]
mov dword [esp], eax
call fcn.0040be50
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x27
lea ecx, [0x6ff1bf]
mov dword [eax], ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea ecx, [0x785138]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x6c
ret
lea eax, [0x6a9700]
mov dword [esp], eax
call fcn.0040be50
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x6ff6ff]
mov dword [eax], ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea ecx, [0x785138]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x6c
ret
lea eax, [0x6a9700]
mov dword [esp], eax
call fcn.0040be50
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x6fa475]
mov dword [eax], ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea ecx, [0x785138]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x6c
ret
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov eax, dword [esp + 0x1c]
add eax, edx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x6c
ret
mov eax, esi
mov ecx, ebx
call fcn.00465e00
mov eax, ebx
mov ecx, esi
call fcn.00465e60
mov ecx, esi
mov edx, edi
call fcn.00465e40
lea eax, [0x69bcc0]
mov dword [esp], eax
lea eax, [0x784ca8]
mov dword [esp + 4], eax
call fcn.00436d20
mov eax, ebx
mov ecx, esi
call fcn.00465e60
mov ecx, esi
mov edx, ebp
call fcn.00465e40
mov eax, edx
call fcn.00465e60
nop
call fcn.004649b0
jmp fcn.005bd780