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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x78]
cmp eax, dword [ecx + 8]
jbe 0x5a3691
sub esp, 0xf8
mov eax, 0
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov byte [esp + 0x2b], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
mov ecx, dword [esp + 0x100]
mov dword [esp + 4], ecx
call fcn.005a1f30
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], edx
test ebx, ebx
jne 0x5a2fb9
mov dword [esp + 0x64], eax
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea ecx, [0x5a36e0]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
lea ecx, [esp + 0x94]
mov dword [esp + 0xf4], ecx
mov byte [esp + 0x2b], 1
lea edi, [esp + 0xc4]
xor eax, eax
call fcn.00462f85
mov dword [esp + 0xc4], 0x2c
mov ecx, dword [esp + 0x100]
mov edx, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x24]
test edx, edx
jne 0x5a2f83
mov dword [esp + 0x48], 0
mov dword [esp + 0x48], 1
mov edx, 1
lea ebx, [esp + 0x48]
mov dword [esp + 0x38], edx
mov dword [esp + 0x74], ebx
lea eax, [0x649de0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], edx
call fcn.0044b820
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x74]
mov ebx, ecx
xor ebp, ebp
xor esi, esi
jmp 0x5a2ff4
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
add esp, 0xf8
ret
mov ecx, dword [esp + 0x50]
inc ecx
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x74]
mov edi, ebp
mov ebp, ecx
mov ecx, edi
cmp ebp, ebx
jge 0x5a30e1
mov edx, dword [edx + ebp*4]
test edx, edx
je 0x5a30dd
mov dword [esp + 0x50], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x2c], esi
mov eax, dword [0xbbd57c]
lea ecx, [0x6556a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0040e430
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
movzx edx, byte [esp + 0x10]
test dl, dl
je 0x5a30cc
test eax, eax
jbe 0x5a367b
mov edx, dword [esp + 0x2c]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x30]
cmp ebp, ebx
jb 0x5a3066
mov eax, dword [esp + 0x68]
jmp 0x5a30a5
mov dword [esp + 0x6c], ecx
lea eax, [0x649de0]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0044ba20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [ecx + 1]
mov ecx, dword [esp + 0x6c]
mov ebp, edx
mov edx, dword [esp + 0x2c]
mov esi, ebx
mov ebx, dword [0xbe5550]
lea edi, [eax + edx*4]
test ebx, ebx
jne 0x5a30bc
mov dword [eax + edx*4], ecx
jmp 0x5a2fe1
mov edx, eax
mov eax, ecx
call fcn.00462ce0
mov eax, edx
jmp 0x5a2fe1
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x68]
jmp 0x5a2fe1
xor esi, esi
xor eax, eax
test eax, eax
je 0x5a3108
mov dword [esp + 0xc8], 1
mov dword [esp + 0xcc], esi
test esi, esi
jbe 0x5a3672
mov dword [esp + 0xd0], eax
jmp 0x5a3129
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov ecx, dword [esp + 0x100]
lea esi, [ecx + 0x10]
mov dword [esp + 0x88], esi
lea edi, [esp + 0xb0]
call fcn.0046346e
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
test edx, 0x80000000
je 0x5a3188
shl edx, 1
mov ebx, ecx
shr ecx, 0x1f
or edx, ecx
mov ecx, ebx
shl ebx, 1
mov ebp, edx
shl edx, 1
shr ebx, 0x1f
or ebx, edx
mov edx, ebx
add ebx, 0xd7b17f80
shr ebp, 0x1f
add edx, 0xd7b17f80
adc ebp, 0xd
jmp 0x5a3196
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0xbc]
test ebp, ebp
sete dl
test ebx, ebx
sete bl
and edx, ebx
test dl, dl
je 0x5a31b1
test ecx, 0x3fffffff
sete cl
jmp 0x5a31b3
xor ecx, ecx
xor ecx, 1
test cl, cl
je 0x5a3298
lea edi, [esp + 0x9c]
mov esi, dword [esp + 0x88]
call fcn.0046346e
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
test edx, 0x80000000
je 0x5a3213
shl edx, 1
mov ebx, ecx
shr ecx, 0x1f
or ecx, edx
mov edx, ebx
shl ebx, 1
mov ebp, ecx
shl ecx, 1
shr ebx, 0x1f
or ebx, ecx
mov ecx, ebx
add ebx, 0xd7b17f80
shr ebp, 0x1f
add ecx, 0xd7b17f80
adc ebp, 0xd
jmp 0x5a3223
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa8]
mov edx, ecx
mov eax, 0x3b9aca00
mov ecx, edx
mul ebx
and ecx, 0x3fffffff
mov ebx, eax
add eax, ecx
mov esi, eax
add eax, 0x3d1a0000
imul ebp, ebp, 0x3b9aca00
add edx, ebp
mov ebp, ecx
sar ecx, 0x1f
add ebx, ebp
adc edx, ecx
add esi, 0x3d1a0000
adc edx, 0xa1b203eb
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x64
call fcn.0045d8d0
mov ecx, dword [esp + 0x10]
add ecx, 0xd53e8000
mov edx, dword [esp + 0x14]
mov dword [esp + 0x54], ecx
adc edx, 0x19db1de
mov dword [esp + 0x58], edx
lea eax, [esp + 0x54]
jmp 0x5a329a
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 + 0xc4]
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.00494db0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
test edx, edx
jne 0x5a3492
mov eax, dword [esp + 0x60]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea ecx, [0x5a36a0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0xf0], eax
mov byte [esp + 0x2b], 3
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0xfc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 8], eax
call fcn.005a2a40
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 + 0x84], ebp
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x5c], esi
test eax, eax
je 0x5a3399
mov eax, esi
mov edi, ebp
jmp 0x5a3467
mov dword [esp + 0x78], ecx
mov eax, esi
mov esi, dword [esp + 0x108]
mov edi, ebp
lea ebp, [esi + 1]
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x10c]
cmp ecx, ebp
jb 0x5a33cd
mov ecx, dword [esp + 0x80]
jmp 0x5a3427
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
lea eax, [0x64a600]
mov dword [esp], eax
mov edx, dword [esp + 0x80]
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.0044ba20
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x104], ecx
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x84]
lea ebp, [esi + 1]
mov dword [esp + 0x108], ebp
lea ebp, [esi + esi*2]
mov dword [ecx + ebp*4 + 4], edx
mov dword [ecx + ebp*4 + 8], ebx
mov esi, dword [0xbe5550]
mov edx, ecx
lea ecx, [ecx + ebp*4]
test esi, esi
jne 0x5a3454
mov ecx, dword [esp + 0x78]
mov dword [edx + ebp*4], ecx
jmp 0x5a3467
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, dword [esp + 0x78]
call fcn.00462ce0
mov eax, ebx
mov edi, edx
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x14]
test edx, edx
jbe 0x5a34ca
mov ecx, dword [ecx + 0x18]
test byte [ecx], al
cmp edx, 0x100000
ja 0x5a3668
mov dword [esp + 0x34], edx
mov dword [esp + 0x70], ecx
xor ebx, ebx
jmp 0x5a3582
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xf4]
mov eax, dword [edx]
call eax
add esp, 0xf8
ret
mov ecx, dword [esp + 0x108]
test ecx, ecx
jne 0x5a352b
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], edi
mov dword [esp + 0x114], eax
mov byte [esp + 0x2b], 1
mov edx, dword [esp + 0xf0]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xf4]
mov eax, dword [edx]
call eax
add esp, 0xf8
ret
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov byte [esp + 0x2b], 1
mov edx, dword [esp + 0xf0]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xf4]
mov eax, dword [edx]
call eax
add esp, 0xf8
ret
mov ebp, dword [esp + 0x50]
lea ebx, [ebp + 1]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x84]
cmp ebx, edx
jge 0x5a34ca
mov dword [esp + 0x50], ebx
mov eax, dword [ecx + ebx*4]
mov edx, dword [esp + 0xfc]
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 8], eax
call fcn.005a2a40
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x5a3568
mov ebp, dword [esp + 0x108]
lea esi, [ebp + 1]
mov eax, ecx
mov ecx, dword [esp + 0x104]
mov edi, ebx
mov ebx, dword [esp + 0x10c]
cmp ebx, esi
jae 0x5a3633
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x7c], eax
lea eax, [0x64a600]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.0044ba20
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x104], ecx
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x4c]
lea ebx, [ebp + 1]
mov dword [esp + 0x108], ebx
lea ebx, [ebp + ebp*2]
mov dword [ecx + ebx*4 + 4], edx
mov dword [ecx + ebx*4 + 8], edi
mov ebp, dword [0xbe5550]
lea edi, [ecx + ebx*4]
test ebp, ebp
jne 0x5a365e
mov dword [ecx + ebx*4], eax
jmp 0x5a3568
call fcn.00462ce0
jmp 0x5a3568
mov ebx, 0x100000
call fcn.00462df0
xor eax, eax
mov ecx, eax
call fcn.00462d60
xor eax, eax
mov ecx, eax
call fcn.00462d60
nop
call fcn.004364e0
add esp, 0xf8
ret
call fcn.004618d0
jmp fcn.005a2e50