Function at 0x5a2920
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 0x5a3161
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.005a1a00
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 0x5a2a89
mov dword [esp + 0x64], eax
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea ecx, [0x5a31b0]
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.00463315
mov dword [esp + 0xc4], 0x2c
mov ecx, dword [esp + 0x100]
mov edx, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x24]
test edx, edx
jne 0x5a2a53
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, [0x6837a0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], edx
call fcn.0044b730
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 0x5a2ac4
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 0x5a2bb1
mov edx, dword [edx + ebp*4]
test edx, edx
je 0x5a2bad
mov dword [esp + 0x50], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x2c], esi
mov eax, dword [0x8c039c]
lea ecx, [0x68f9e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0040e400
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
movzx edx, byte [esp + 0x10]
test dl, dl
je 0x5a2b9c
test eax, eax
jbe 0x5a314b
mov edx, dword [esp + 0x2c]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x30]
cmp ebp, ebx
jb 0x5a2b36
mov eax, dword [esp + 0x68]
jmp 0x5a2b75
mov dword [esp + 0x6c], ecx
lea eax, [0x6837a0]
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.0044b870
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 [0x8e84e0]
lea edi, [eax + edx*4]
test ebx, ebx
jne 0x5a2b8c
mov dword [eax + edx*4], ecx
jmp 0x5a2ab1
mov edx, eax
mov eax, ecx
call fcn.00463080
mov eax, edx
jmp 0x5a2ab1
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x68]
jmp 0x5a2ab1
xor esi, esi
xor eax, eax
test eax, eax
je 0x5a2bd8
mov dword [esp + 0xc8], 1
mov dword [esp + 0xcc], esi
test esi, esi
jbe 0x5a3142
mov dword [esp + 0xd0], eax
jmp 0x5a2bf9
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.004637fe
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
test edx, 0x80000000
je 0x5a2c58
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 0x5a2c66
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 0x5a2c81
test ecx, 0x3fffffff
sete cl
jmp 0x5a2c83
xor ecx, ecx
xor ecx, 1
test cl, cl
je 0x5a2d68
lea edi, [esp + 0x9c]
mov esi, dword [esp + 0x88]
call fcn.004637fe
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
test edx, 0x80000000
je 0x5a2ce3
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 0x5a2cf3
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.0045d830
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 0x5a2d6a
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.0049e070
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 0x5a2f62
mov eax, dword [esp + 0x60]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea ecx, [0x5a3170]
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.005a2510
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 0x5a2e69
mov eax, esi
mov edi, ebp
jmp 0x5a2f37
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 0x5a2e9d
mov ecx, dword [esp + 0x80]
jmp 0x5a2ef7
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
lea eax, [0x683f80]
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.0044b870
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 [0x8e84e0]
mov edx, ecx
lea ecx, [ecx + ebp*4]
test esi, esi
jne 0x5a2f24
mov ecx, dword [esp + 0x78]
mov dword [edx + ebp*4], ecx
jmp 0x5a2f37
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, dword [esp + 0x78]
call fcn.00463080
mov eax, ebx
mov edi, edx
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x14]
test edx, edx
jbe 0x5a2f9a
mov ecx, dword [ecx + 0x18]
test byte [ecx], al
cmp edx, 0x100000
ja 0x5a3138
mov dword [esp + 0x34], edx
mov dword [esp + 0x70], ecx
xor ebx, ebx
jmp 0x5a3052
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 0x5a2ffb
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 0x5a2f9a
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.005a2510
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x5a3038
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 0x5a3103
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x7c], eax
lea eax, [0x683f80]
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.0044b870
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 [0x8e84e0]
lea edi, [ecx + ebx*4]
test ebp, ebp
jne 0x5a312e
mov dword [ecx + ebx*4], eax
jmp 0x5a3038
call fcn.00463080
jmp 0x5a3038
mov ebx, 0x100000
call fcn.00463190
xor eax, eax
mov ecx, eax
call fcn.00463100
xor eax, eax
mov ecx, eax
call fcn.00463100
nop
call fcn.004363f0
add esp, 0xf8
ret
call fcn.00461c70
jmp fcn.005a2920