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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x5a0a4b
sub esp, 0xb0
mov eax, 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x60]
test ecx, ecx
jne 0x5a09d5
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 0x20]
mov ebp, dword [eax + 0x24]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0059fe40
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x5a095c
mov eax, dword [esp + 0xb4]
mov dword [eax + 4], ecx
mov ecx, dword [0x74e1b0]
test ecx, ecx
jne 0x5a0944
mov dword [eax], edx
mov ecx, dword [eax + 0x50]
lea ebx, [eax + 0x50]
test ecx, ecx
jne 0x5a08e2
mov dword [esp + 0x74], ebx
mov ecx, dword [eax + 0x5c]
mov ebp, dword [eax + 0x58]
test ebp, ebp
jne 0x5a082f
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [0x6227a4]
mov dword [esp + 0x80], ecx
lea ecx, [0x6227a8]
mov dword [esp + 0x84], ecx
lea ecx, [0x6227a0]
mov dword [esp + 0x88], ecx
xor ecx, ecx
jmp 0x5a0257
mov ebp, dword [esp + 0x38]
lea ecx, [ebp + 1]
mov ebx, dword [esp + 0x74]
cmp ecx, 3
jge 0x5a03d4
mov dword [esp + 0x38], ecx
lea ebx, [esp + 0x80]
mov edx, dword [ebx + ecx*4]
mov dword [esp], eax
mov ebp, dword [edx]
call ebp
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 4]
test ecx, ecx
jne 0x5a035b
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x6c]
mov ebp, dword [eax + 0x70]
mov esi, dword [eax + 0x74]
lea edi, [eax + 0x6c]
mov edx, edi
lea edi, [ebp + 1]
cmp edi, esi
jg 0x5a02d5
lea esi, [ebp + 1]
mov dword [eax + 0x70], esi
lea esi, [ecx + ebp*4]
mov edi, dword [0x74e1b0]
test edi, edi
jne 0x5a02bd
mov dword [ecx + ebp*4], ebx
jmp 0x5a024c
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.0040e560
mov eax, dword [esp + 0xb4]
jmp 0x5a024c
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x70], edx
lea eax, [0x609ba0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
call fcn.00438950
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xb4]
mov dword [ebx + 0x74], edx
mov edx, dword [0x74e1b0]
test edx, edx
jne 0x5a0332
mov dword [ebx + 0x6c], eax
mov ebx, dword [esp + 0x3c]
mov ebp, ecx
mov ecx, eax
mov eax, dword [esp + 0xb4]
jmp 0x5a02a5
mov dword [esp + 0x6c], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040e560
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0xb4]
jmp 0x5a031e
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.0059fd90
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x88]
mov edx, dword [eax + 0x84]
mov ebx, dword [eax + 0x8c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call fcn.0059fd90
mov eax, dword [esp + 0x48]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xbc], eax
add esp, 0xb0
ret
mov ecx, dword [eax + 0x70]
mov edx, dword [eax + 0x44]
lea ebp, [ecx + edx]
mov dword [esp + 0x38], ebp
mov esi, dword [eax + 0x74]
mov edi, dword [eax + 0x6c]
lea ebx, [eax + 0x6c]
mov dword [esp + 0x68], ebx
mov ebx, dword [eax + 0x40]
mov eax, dword [eax + 0x48]
cmp ebp, esi
ja 0x5a07e0
cmp ebp, esi
ja 0x5a0a44
cmp ecx, ebp
ja 0x5a0a44
mov dword [esp + 0x34], esi
mov dword [esp + 0x64], edi
sub esi, ecx
mov dword [esp + 0x30], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
shl ecx, 2
sar esi, 0x1f
and ecx, esi
add ecx, edi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
lea ecx, [0x609ba0]
mov dword [esp], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
call fcn.0040e8c0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xb4]
mov dword [ecx + 0x70], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 0x74], eax
mov eax, dword [0x74e1b0]
test eax, eax
jne 0x5a07c0
mov eax, dword [esp + 0x64]
mov dword [ecx + 0x6c], eax
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x10]
test edx, edx
jle 0x5a0790
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x64], eax
mov dword [esp], ecx
call fcn.0059f210
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.005a1670
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x14]
lea edi, [esp + 0x8c]
mov ebx, eax
xor eax, eax
call fcn.0044bed7
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x20]
mov ebp, dword [eax + 0x24]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ebp
mov ecx, dword [eax + 0x6c]
mov ebp, dword [eax + 0x70]
mov esi, dword [eax + 0x74]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], esi
mov dword [esp + 0x94], ebx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0xac], ecx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x14], ecx
call fcn.0047d820
mov eax, dword [0x74e1b0]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x4c], ebx
test eax, eax
jne 0x5a076c
mov eax, dword [esp + 0xb4]
mov dword [eax + 0x50], ecx
test edx, edx
jne 0x5a0702
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x80]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call fcn.0059fd90
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x94]
lea edx, [0x5c8360]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00402ce0
mov eax, dword [0x74e1b0]
mov ecx, dword [esp + 0xb4]
lea edx, [ecx + 0x9c]
mov ebx, dword [esp + 8]
test eax, eax
jne 0x5a06ea
mov dword [ecx + 0x9c], ebx
mov eax, dword [ecx + 0x90]
mov dword [esp + 0x60], eax
mov edx, dword [ecx + 0x94]
mov dword [esp + 0x38], edx
xor ebx, ebx
jmp 0x5a065a
mov dword [esp + 0x34], ebx
mov edx, dword [eax + ebx*4]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp], 8
lea edx, [0x622798]
mov dword [esp + 4], edx
call fcn.0042eac0
mov eax, dword [esp + 0x34]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x38]
cmp ebx, edx
jl 0x5a061f
mov eax, dword [ecx + 0x58]
test eax, eax
jne 0x5a0682
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
add esp, 0xb0
ret
lea eax, [0x5c86e0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00402ce0
mov eax, dword [0x74e1b0]
mov ecx, dword [esp + 0xb4]
lea edx, [ecx + 0xa0]
mov ebx, dword [esp + 8]
test eax, eax
jne 0x5a06d5
mov dword [ecx + 0xa0], ebx
mov dword [esp + 8], ecx
mov dword [esp], 4
lea eax, [0x62279c]
mov dword [esp + 4], eax
call fcn.0042eac0
jmp 0x5a0665
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.0040e560
mov ecx, dword [esp + 0xb4]
jmp 0x5a06b9
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.0040e560
mov ecx, dword [esp + 0xb4]
jmp 0x5a0607
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x80]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call fcn.0059fd90
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x8c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call fcn.0059fd90
mov eax, dword [esp + 0x40]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xbc], eax
add esp, 0xb0
ret
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040e560
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x4c]
jmp 0x5a059b
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov ebp, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], esi
mov ebx, 1
mov edx, 1
lea eax, [esp + 0x78]
jmp 0x5a048f
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call fcn.0040e560
mov ecx, dword [esp + 0xb4]
jmp 0x5a047e
mov dword [esp + 0x34], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
lea eax, [0x609ba0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.00438950
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x38]
jmp 0x5a03fc
mov eax, dword [ebp + 0x14]
mov dword [esp], ecx
call eax
mov dword [esp], 0
call fcn.00404300
movzx eax, byte [esp + 8]
test al, al
jne 0x5a085c
mov eax, dword [esp + 0xb4]
mov ebx, dword [esp + 0x74]
jmp 0x5a0200
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.0059fd90
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x88]
mov edx, dword [eax + 0x84]
mov ebx, dword [eax + 0x8c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call fcn.0059fd90
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x58]
mov eax, dword [eax + 0x5c]
mov ecx, dword [ecx + 0x18]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0xb0
ret
lea eax, [0x5dcec0]
mov dword [esp], eax
call fcn.0040dcf0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
mov ecx, dword [0x74e1b0]
test ecx, ecx
jne 0x5a0928
lea ecx, [0x613b78]
mov dword [eax], ecx
lea ecx, [0x640f30]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0xb0
ret
mov dword [esp + 0x58], eax
mov dword [esp], eax
lea ecx, [0x613b78]
mov dword [esp + 4], ecx
call fcn.0040e560
mov eax, dword [esp + 0x58]
jmp 0x5a090d
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040e560
mov eax, dword [esp + 0xb4]
jmp 0x5a01e0
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x78]
mov ebx, dword [eax + 0x7c]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.0059fd90
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x8c]
mov edx, dword [eax + 0x84]
mov ebx, dword [eax + 0x88]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.0059fd90
mov eax, dword [esp + 0x44]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xbc], eax
add esp, 0xb0
ret
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.0059fd90
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x8c]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x84]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.0059fd90
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x64]
mov eax, dword [eax + 0x60]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0xb0
ret
call fcn.00425870
ud2
call fcn.0044a470
jmp fcn.005a0150