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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x74]
cmp eax, dword [ecx + 8]
jbe 0x5d3468
sub esp, 0xf4
mov eax, 0
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov byte [esp + 0x2b], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov eax, dword [esp + 0xf8]
mov dword [esp], eax
mov ecx, dword [esp + 0xfc]
mov dword [esp + 4], ecx
call fcn.005d1bf0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 8]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], edx
test ecx, ecx
jne 0x5d2db7
mov dword [esp + 0x64], ebx
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea ecx, [0x5d34c0]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ebx
lea ecx, [esp + 0x90]
mov dword [esp + 0xf0], ecx
mov byte [esp + 0x2b], 1
lea edi, [esp + 0xc0]
xor eax, eax
call fcn.004690f5
mov dword [esp + 0xc0], 0x2c
mov ecx, dword [esp + 0xfc]
mov edx, dword [ecx + 0x28]
mov ebp, dword [ecx + 0x24]
test edx, edx
jne 0x5d2d81
mov dword [esp + 0x4c], 0
mov dword [esp + 0x4c], 1
mov edx, 1
lea ebp, [esp + 0x4c]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x38], edx
lea eax, [0x6e3380]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], edx
call fcn.0044e560
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x70]
mov ebx, ecx
xor ebp, ebp
xor esi, esi
jmp 0x5d2dfa
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
add esp, 0xf4
ret
mov ecx, dword [esp + 0x50]
inc ecx
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x70]
mov edx, esi
mov esi, ebx
mov ebx, dword [esp + 0x38]
mov edi, ebp
mov ebp, ecx
mov ecx, edi
cmp ebp, ebx
jge 0x5d2ed8
mov edi, dword [edx + ebp*4]
test edi, edi
je 0x5d2ed4
mov dword [esp + 0x50], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x68], eax
mov eax, dword [0x96e974]
lea ecx, [0x6f86e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.0040f010
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x10]
mov edx, dword [eax]
test cl, cl
je 0x5d2ec3
mov ebx, dword [eax + 4]
test ebx, ebx
jbe 0x5d3452
mov ebx, dword [esp + 0x2c]
inc ebx
mov ebp, dword [esp + 0x30]
cmp ebp, ebx
jb 0x5d2e66
mov eax, dword [esp + 0x68]
jmp 0x5d2ea2
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6e3380]
mov dword [esp + 0x10], eax
call fcn.0044e6e0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x6c]
mov ebp, ecx
mov ecx, dword [0x995310]
test ecx, ecx
je 0x5d2eba
call fcn.00468e70
mov dword [edi], edx
mov ecx, dword [eax + ebx*4 - 4]
mov dword [edi + 4], ecx
mov dword [eax + ebx*4 - 4], edx
jmp 0x5d2ddf
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x68]
jmp 0x5d2ddf
xor eax, eax
xor esi, esi
test eax, eax
je 0x5d2eff
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], esi
test esi, esi
jbe 0x5d3449
mov dword [esp + 0xcc], eax
jmp 0x5d2f20
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov ecx, dword [esp + 0xfc]
lea esi, [ecx + 0x10]
mov dword [esp + 0x84], esi
lea edi, [esp + 0xac]
call fcn.004695de
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
test ecx, 0x80000000
je 0x5d2f77
mov ebx, edx
shl edx, 1
shl ecx, 1
mov ebp, ebx
shr ebx, 0x1f
or ecx, ebx
mov ebx, ecx
shl ecx, 1
shr ebx, 0x1f
shr edx, 0x1f
or edx, ecx
add edx, 0xd7b17f80
adc ebx, 0xd
jmp 0x5d2f89
mov ecx, dword [esp + 0xb4]
mov ebx, dword [esp + 0xb8]
mov ebp, edx
mov edx, ecx
test ebx, ebx
sete cl
test edx, edx
sete dl
and ecx, edx
test cl, cl
je 0x5d2fa4
test ebp, 0x3fffffff
sete cl
jmp 0x5d2fa6
xor ecx, ecx
xor ecx, 1
test cl, cl
je 0x5d3077
lea edi, [esp + 0x98]
mov esi, dword [esp + 0x84]
call fcn.004695de
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
test ecx, 0x80000000
je 0x5d2ffe
shl ecx, 1
mov ebx, edx
shl edx, 1
mov ebp, ebx
shr ebx, 0x1f
or ecx, ebx
mov ebx, ecx
shl ecx, 1
shr ebx, 0x1f
shr edx, 0x1f
or edx, ecx
add edx, 0xd7b17f80
adc ebx, 0xd
jmp 0x5d3010
mov ecx, dword [esp + 0xa0]
mov ebx, dword [esp + 0xa4]
mov ebp, edx
mov edx, ecx
imul ecx, ebx, 0x3b9aca00
mov eax, 0x3b9aca00
mul edx
add ecx, edx
and ebp, 0x3fffffff
mov edx, ebp
sar ebp, 0x1f
add eax, edx
adc ecx, ebp
add eax, 0x3d1a0000
adc ecx, 0xa1b203eb
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x64
call fcn.00460800
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add ecx, 0xd53e8000
mov dword [esp + 0x54], ecx
adc edx, 0x19db1de
mov dword [esp + 0x58], edx
lea eax, [esp + 0x54]
jmp 0x5d3079
xor eax, eax
mov dword [esp + 0x60], 0
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x10]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
lea eax, [esp + 0xc0]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x18], 0
lea eax, [esp + 0x60]
mov dword [esp + 0x1c], eax
call fcn.0047ac30
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ecx
test edx, edx
jne 0x5d3260
mov eax, dword [esp + 0x60]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea ecx, [0x5d3480]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x88]
mov dword [esp + 0xec], eax
mov byte [esp + 0x2b], 3
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0xf8]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 8], eax
call fcn.005d2840
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x80], ebp
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x5c], esi
test eax, eax
jne 0x5d3220
mov edi, dword [esp + 0x108]
mov eax, dword [esp + 0x104]
inc eax
mov esi, dword [esp + 0x100]
cmp edi, eax
jae 0x5d31ea
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x74], ecx
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x6ebc40]
mov dword [esp + 0x10], eax
call fcn.0044e6e0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x108], eax
mov dword [esp + 0x100], esi
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x80]
mov eax, ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x104], eax
lea edi, [eax + eax*2]
mov dword [esi + edi*4 - 8], edx
mov dword [esi + edi*4 - 4], ebx
mov ebx, dword [0x995310]
test ebx, ebx
je 0x5d3218
mov eax, edi
call fcn.00468e70
mov dword [edi], ecx
mov ebx, dword [esi + eax*4 - 0xc]
mov dword [edi + 4], ebx
mov edi, eax
mov dword [esi + edi*4 - 0xc], ecx
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov ebx, dword [ecx + 0x14]
test ebx, ebx
jbe 0x5d3298
jl 0x5d3444
mov eax, 4
mul ebx
jo 0x5d3433
mov edi, dword [ecx + 0x18]
mov edx, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
cmp eax, edi
ja 0x5d3433
mov dword [esp + 0x34], ebx
mov dword [esp + 0x7c], edx
xor eax, eax
jmp 0x5d3350
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xf0]
mov eax, dword [edx]
call eax
add esp, 0xf4
ret
mov eax, dword [esp + 0x104]
test eax, eax
jne 0x5d32f9
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], ebp
mov dword [esp + 0x110], esi
mov byte [esp + 0x2b], 1
mov edx, dword [esp + 0xec]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xf0]
mov eax, dword [edx]
call eax
add esp, 0xf4
ret
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov byte [esp + 0x2b], 1
mov edx, dword [esp + 0xec]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xf0]
mov eax, dword [edx]
call eax
add esp, 0xf4
ret
mov ecx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x5c]
cmp eax, ebx
jge 0x5d3298
mov dword [esp + 0x50], eax
mov ecx, dword [edx + eax*4]
mov ebx, dword [esp + 0xf8]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xfc]
mov dword [esp + 8], ecx
call fcn.005d2840
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x5d3336
mov eax, dword [esp + 0x108]
mov ebp, dword [esp + 0x104]
inc ebp
mov esi, dword [esp + 0x100]
cmp eax, ebp
jae 0x5d33ff
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x78], ecx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x6ebc40]
mov dword [esp + 0x10], eax
call fcn.0044e6e0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x108], eax
mov dword [esp + 0x100], esi
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x104], ebp
lea eax, [ebp + ebp*2]
mov dword [esi + eax*4 - 8], edx
mov dword [esi + eax*4 - 4], ebx
mov ebx, dword [0x995310]
test ebx, ebx
je 0x5d342a
call fcn.00468e70
mov dword [edi], ecx
mov ebx, dword [esi + eax*4 - 0xc]
mov dword [edi + 4], ebx
mov dword [esi + eax*4 - 0xc], ecx
jmp 0x5d3336
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x5d343f
call fcn.0045ff90
call fcn.00460020
call fcn.0045ff90
xor eax, eax
mov ecx, eax
call fcn.00468ed0
xor eax, eax
mov ecx, eax
call fcn.00468ed0
nop
call fcn.00438090
add esp, 0xf4
ret
call fcn.00467a60
jmp fcn.005d2c50