Function at 0x5bb590
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 0x5bbdd1
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.005ba670
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 0x5bb6f9
mov dword [esp + 0x64], eax
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea ecx, [0x5bbe20]
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.004630e5
mov dword [esp + 0xc4], 0x2c
mov ecx, dword [esp + 0x100]
mov edx, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x24]
test edx, edx
jne 0x5bb6c3
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, [0x66b360]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], edx
call fcn.0044b6a0
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 0x5bb734
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 0x5bb821
mov edx, dword [edx + ebp*4]
test edx, edx
je 0x5bb81d
mov dword [esp + 0x50], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x2c], esi
mov eax, dword [0x1107278]
lea ecx, [0x679f40]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0040e3f0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
movzx edx, byte [esp + 0x10]
test dl, dl
je 0x5bb80c
test eax, eax
jbe 0x5bbdbb
mov edx, dword [esp + 0x2c]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x30]
cmp ebp, ebx
jb 0x5bb7a6
mov eax, dword [esp + 0x68]
jmp 0x5bb7e5
mov dword [esp + 0x6c], ecx
lea eax, [0x66b360]
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.0044b8a0
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 [0x112f780]
lea edi, [eax + edx*4]
test ebx, ebx
jne 0x5bb7fc
mov dword [eax + edx*4], ecx
jmp 0x5bb721
mov edx, eax
mov eax, ecx
call fcn.00462e70
mov eax, edx
jmp 0x5bb721
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x68]
jmp 0x5bb721
xor esi, esi
xor eax, eax
test eax, eax
je 0x5bb848
mov dword [esp + 0xc8], 1
mov dword [esp + 0xcc], esi
test esi, esi
jbe 0x5bbdb2
mov dword [esp + 0xd0], eax
jmp 0x5bb869
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.004635ce
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
test edx, 0x80000000
je 0x5bb8c8
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 0x5bb8d6
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 0x5bb8f1
test ecx, 0x3fffffff
sete cl
jmp 0x5bb8f3
xor ecx, ecx
xor ecx, 1
test cl, cl
je 0x5bb9d8
lea edi, [esp + 0x9c]
mov esi, dword [esp + 0x88]
call fcn.004635ce
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
test edx, 0x80000000
je 0x5bb953
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 0x5bb963
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.0045dbe0
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 0x5bb9da
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.00473530
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 0x5bbbd2
mov eax, dword [esp + 0x60]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea ecx, [0x5bbde0]
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.005bb180
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 0x5bbad9
mov eax, esi
mov edi, ebp
jmp 0x5bbba7
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 0x5bbb0d
mov ecx, dword [esp + 0x80]
jmp 0x5bbb67
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
lea eax, [0x66bc40]
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.0044b8a0
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 [0x112f780]
mov edx, ecx
lea ecx, [ecx + ebp*4]
test esi, esi
jne 0x5bbb94
mov ecx, dword [esp + 0x78]
mov dword [edx + ebp*4], ecx
jmp 0x5bbba7
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, dword [esp + 0x78]
call fcn.00462e70
mov eax, ebx
mov edi, edx
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x14]
test edx, edx
jbe 0x5bbc0a
mov ecx, dword [ecx + 0x18]
test byte [ecx], al
cmp edx, 0x100000
ja 0x5bbda8
mov dword [esp + 0x34], edx
mov dword [esp + 0x70], ecx
xor ebx, ebx
jmp 0x5bbcc2
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 0x5bbc6b
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 0x5bbc0a
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.005bb180
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x5bbca8
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 0x5bbd73
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x7c], eax
lea eax, [0x66bc40]
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.0044b8a0
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 [0x112f780]
lea edi, [ecx + ebx*4]
test ebp, ebp
jne 0x5bbd9e
mov dword [ecx + ebx*4], eax
jmp 0x5bbca8
call fcn.00462e70
jmp 0x5bbca8
mov ebx, 0x100000
call fcn.00462f80
xor eax, eax
mov ecx, eax
call fcn.00462ef0
xor eax, eax
mov ecx, eax
call fcn.00462ef0
nop
call fcn.00436430
add esp, 0xf8
ret
call fcn.00461a60
jmp fcn.005bb590