Function at 0x5b61e0
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 0x5b6a21
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.005b52c0
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 0x5b6349
mov dword [esp + 0x64], eax
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea ecx, [0x5b6a70]
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.00462cf5
mov dword [esp + 0xc4], 0x2c
mov ecx, dword [esp + 0x100]
mov edx, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x24]
test edx, edx
jne 0x5b6313
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, [0x655b20]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], edx
call fcn.0044b410
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 0x5b6384
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 0x5b6471
mov edx, dword [edx + ebp*4]
test edx, edx
je 0x5b646d
mov dword [esp + 0x50], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x2c], esi
mov eax, dword [0x8bb818]
lea ecx, [0x664680]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0040e3c0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
movzx edx, byte [esp + 0x10]
test dl, dl
je 0x5b645c
test eax, eax
jbe 0x5b6a0b
mov edx, dword [esp + 0x2c]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x30]
cmp ebp, ebx
jb 0x5b63f6
mov eax, dword [esp + 0x68]
jmp 0x5b6435
mov dword [esp + 0x6c], ecx
lea eax, [0x655b20]
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.0044b610
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 [0x8e4520]
lea edi, [eax + edx*4]
test ebx, ebx
jne 0x5b644c
mov dword [eax + edx*4], ecx
jmp 0x5b6371
mov edx, eax
mov eax, ecx
call fcn.00462a70
mov eax, edx
jmp 0x5b6371
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x68]
jmp 0x5b6371
xor esi, esi
xor eax, eax
test eax, eax
je 0x5b6498
mov dword [esp + 0xc8], 1
mov dword [esp + 0xcc], esi
test esi, esi
jbe 0x5b6a02
mov dword [esp + 0xd0], eax
jmp 0x5b64b9
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.004631de
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
test edx, 0x80000000
je 0x5b6518
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 0x5b6526
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 0x5b6541
test ecx, 0x3fffffff
sete cl
jmp 0x5b6543
xor ecx, ecx
xor ecx, 1
test cl, cl
je 0x5b6628
lea edi, [esp + 0x9c]
mov esi, dword [esp + 0x88]
call fcn.004631de
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
test edx, 0x80000000
je 0x5b65a3
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 0x5b65b3
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.0045d840
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 0x5b662a
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.00473010
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 0x5b6822
mov eax, dword [esp + 0x60]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea ecx, [0x5b6a30]
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.005b5dd0
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 0x5b6729
mov eax, esi
mov edi, ebp
jmp 0x5b67f7
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 0x5b675d
mov ecx, dword [esp + 0x80]
jmp 0x5b67b7
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
lea eax, [0x6563c0]
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.0044b610
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 [0x8e4520]
mov edx, ecx
lea ecx, [ecx + ebp*4]
test esi, esi
jne 0x5b67e4
mov ecx, dword [esp + 0x78]
mov dword [edx + ebp*4], ecx
jmp 0x5b67f7
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, dword [esp + 0x78]
call fcn.00462a70
mov eax, ebx
mov edi, edx
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x14]
test edx, edx
jbe 0x5b685a
mov ecx, dword [ecx + 0x18]
test byte [ecx], al
cmp edx, 0x100000
ja 0x5b69f8
mov dword [esp + 0x34], edx
mov dword [esp + 0x70], ecx
xor ebx, ebx
jmp 0x5b6912
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 0x5b68bb
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 0x5b685a
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.005b5dd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x5b68f8
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 0x5b69c3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x7c], eax
lea eax, [0x6563c0]
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.0044b610
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 [0x8e4520]
lea edi, [ecx + ebx*4]
test ebp, ebp
jne 0x5b69ee
mov dword [ecx + ebx*4], eax
jmp 0x5b68f8
call fcn.00462a70
jmp 0x5b68f8
mov ebx, 0x100000
call fcn.00462b80
xor eax, eax
mov ecx, eax
call fcn.00462af0
xor eax, eax
mov ecx, eax
call fcn.00462af0
nop
call fcn.004361a0
add esp, 0xf8
ret
call fcn.00461660
jmp fcn.005b61e0