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

Disassembly:
mov ecx, dword [0x7c3e14]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x60]
cmp eax, dword [ecx + 8]
jbe 0x5b67aa
sub esp, 0xe0
mov eax, dword [esp + 0xf0]
test eax, eax
je 0x5b5cbf
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0xb0]
test ecx, ecx
je 0x5b5cb7
movzx edx, byte [ecx + 0xf]
nop
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x5b5cae
or edx, 0x80
mov ebx, dword [esp + 0xb4]
jmp 0x5b5ccc
xor edx, edx
xor ecx, ecx
xor ebx, ebx
jmp 0x5b5ccc
mov eax, dword [esp + 0xf4]
xor edx, edx
xor ecx, ecx
xor ebx, ebx
mov ebp, edx
and edx, 0x1f
nop
cmp edx, 0x16
jne 0x5b5cfc
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.0048c8a0
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xf4]
mov ebp, edx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ecx
nop
nop
mov edx, dword [esp + 0x100]
test edx, edx
je 0x5b5d2c
test edx, 0x200
jne 0x5b5d2c
lea esi, [0x65b040]
mov edi, dword [esp + 0xf8]
jmp 0x5b5d56
mov eax, dword [esp + 0xf8]
mov dword [esp], eax
mov ecx, dword [esp + 0xfc]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0048f510
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov esi, eax
mov edi, ecx
mov dword [esp + 0x74], edi
mov dword [esp + 0x30], esi
mov eax, dword [esi + 0x28]
mov dword [esp], edi
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x30]
mov edx, dword [edx + 0x54]
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 8], eax
call fcn.00489990
mov eax, dword [esp + 0xc]
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x98], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0xf8]
mov dword [esp], ebx
mov ebp, dword [esp + 0xfc]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x100]
mov dword [esp + 8], esi
mov byte [esp + 0xc], 1
call fcn.0048ccf0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xa8], ecx
mov edx, dword [esp + 0x100]
test edx, edx
je 0x5b5e2e
test edx, 0x200
jne 0x5b5e2e
lea ebx, [0x65b040]
mov ebp, dword [esp + 0xf8]
jmp 0x5b5e58
mov eax, dword [esp + 0xf8]
mov dword [esp], eax
mov ecx, dword [esp + 0xfc]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0048f510
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, eax
mov ebp, ecx
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0048ff00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.0048ccf0
mov eax, dword [esp + 0xa8]
cmp dword [esp + 0x10], eax
je 0x5b5e96
xor eax, eax
jmp 0x5b5eb6
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00403ff0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov edx, ecx
and ecx, 0x1f
mov dword [esp + 0x64], ecx
test al, al
jne 0x5b5ef2
mov eax, dword [esp + 0xe4]
mov ebx, dword [eax]
movzx ebx, byte [ebx + 0xa]
test bl, bl
jne 0x5b5ef9
mov ebx, dword [esp + 0x100]
mov ebp, dword [esp + 0xf8]
mov esi, dword [esp + 0xfc]
jmp 0x5b61fc
mov eax, dword [esp + 0xe4]
cmp ecx, 0x11
je 0x5b6156
cmp ecx, 0x17
je 0x5b6156
mov ebx, dword [eax]
movzx ebx, byte [ebx + 0xb]
test bl, bl
je 0x5b6086
cmp ecx, 0x15
jne 0x5b5fba
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0048d6c0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5b6086
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
call fcn.0048ff00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xf8]
mov dword [esp], ebx
mov ebx, dword [esp + 0xfc]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x100]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.0048e460
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
add esp, 0xe0
ret
lea eax, [0x5dace0]
mov dword [esp], eax
call fcn.0040c420
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xf0]
mov dword [eax], ecx
mov ecx, dword [0x7c3fa0]
test ecx, ecx
jne 0x5b5fe8
mov ecx, dword [esp + 0xf4]
jmp 0x5b5ff6
call fcn.00468400
mov ecx, dword [esp + 0xf4]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00409ce0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xe4]
mov dword [esp], ecx
mov ecx, dword [esp + 0xe8]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xec]
mov dword [esp + 8], ecx
lea ecx, [0x5d7c20]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x1c], eax
call fcn.005b5c50
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], ecx
add esp, 0xe0
ret
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 4], eax
call fcn.00409c60
mov eax, dword [esp + 8]
lea ecx, [0x5dda40]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.00409b50
mov eax, dword [esp + 4]
lea ecx, [0x5e0ca0]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
lea eax, [0x61aa6b]
mov dword [esp], eax
mov dword [esp + 4], 0x33
lea eax, [esp + 0xb8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c4e90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], ecx
add esp, 0xe0
ret
cmp ecx, 0x17
jne 0x5b6164
mov ebx, dword [esp + 0x7c]
mov ebp, dword [ebx + 4]
jmp 0x5b6180
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0048d6c0
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x54]
mov edx, dword [esp + 0x98]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x3c]
cmp dword [esp + 4], eax
jl 0x5b623e
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
call fcn.0048ffe0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0048c8a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, edx
mov ebp, eax
mov esi, ecx
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebp
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x50], eax
lea eax, [0x7c3cc0]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x68]
jmp 0x5b63a6
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x54]
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x64]
cmp ecx, 0x17
jne 0x5b626b
mov ecx, dword [esp + 0x7c]
mov ecx, dword [ecx + 4]
jmp 0x5b628b
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
call fcn.0048d6c0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0046860a
mov ecx, dword [esp + 0xe8]
mov dword [esp], ecx
mov ecx, dword [esp + 0xec]
mov dword [esp + 4], ecx
call fcn.00409c60
mov ecx, dword [esp + 8]
lea edx, [0x5dda40]
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
call fcn.00409b50
mov ecx, dword [esp + 4]
lea edx, [0x5ddbc0]
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
call fcn.00409b50
mov ecx, dword [esp + 4]
lea edx, [0x5ddbc0]
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], ecx
lea ecx, [0x61be4e]
mov dword [esp], ecx
mov dword [esp + 4], 0x45
lea ecx, [esp + 0xc8]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.004c4e90
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], edx
add esp, 0xe0
ret
mov eax, dword [esp + 0x48]
inc eax
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], edx
mov dword [esp + 0x94], ebp
mov eax, dword [esp + 0xe4]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x84]
cmp ecx, 0x17
jne 0x5b63b0
mov ecx, dword [edi + 4]
jmp 0x5b63e2
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
call fcn.0048d6c0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x48]
cmp eax, ecx
jge 0x5b66f6
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.0048cb40
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x48]
sar ebx, 0x1f
mov dword [esp + 0x5c], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.0048ccf0
mov eax, dword [esp + 0x10]
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x84]
mov dword [esp], edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x44]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x48]
mov dword [esp + 0xc], esi
call fcn.0048cb40
mov eax, dword [esp + 0x10]
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xa0], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp], ebx
mov dword [esp + 8], 0xa
call fcn.0047d550
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
mov edx, dword [esp + 0xe8]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0xec]
mov dword [esp + 8], ebx
lea ebp, [0x658fb4]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
lea eax, [0x658fb8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 1
call fcn.00451650
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xe4]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xac]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
call fcn.005ae4a0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x5b6571
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x94]
jmp 0x5b6365
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x5b664e
mov ecx, dword [esp + 0x20]
lea edx, [0x659c70]
cmp ecx, edx
jne 0x5b664e
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov ebx, dword [esp + 0x4c]
lea ebp, [ebx + ecx]
mov eax, dword [eax]
mov esi, dword [esp + 0x50]
cmp esi, ebp
jb 0x5b65b0
mov edi, dword [esp + 0x94]
jmp 0x5b65ff
mov dword [esp + 0x60], ecx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
lea eax, [0x5dda40]
mov dword [esp + 0x10], eax
call fcn.0044db70
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x4c]
mov esi, ecx
mov edi, eax
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x70], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], ebp
lea edx, [0x5dda40]
mov dword [esp], edx
sub ebp, ebx
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
shl ebx, 3
sar esi, 0x1f
and ebx, esi
add ebx, edi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00411700
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x70]
jmp 0x5b6365
mov ecx, dword [esp + 0x4c]
inc ecx
mov dword [esp + 0x60], ecx
mov eax, dword [eax + 0x10]
mov edx, dword [esp + 0x24]
mov dword [esp], edx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x60]
cmp edx, ebx
jb 0x5b6680
mov ebp, dword [esp + 0x94]
jmp 0x5b66cf
mov dword [esp + 0x60], ecx
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5dda40]
mov dword [esp + 0x10], eax
call fcn.0044db70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, ecx
mov ebp, eax
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x60]
lea esi, [ebp + ebx*8 - 4]
mov dword [esi], ecx
mov ecx, dword [0x7c3fa0]
lea esi, [ebp + ebx*8 - 8]
test ecx, ecx
je 0x5b66ef
call fcn.00468410
mov dword [edi], eax
mov ecx, dword [esi]
mov dword [edi + 4], ecx
mov dword [esi], eax
jmp 0x5b6365
mov eax, dword [esp + 0xf8]
mov dword [esp], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
call fcn.0048e460
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x5b678d
lea eax, [0x5e62a0]
mov dword [esp], eax
call fcn.0040c420
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [0x7c3fa0]
test ecx, ecx
jne 0x5b6762
mov ecx, dword [esp + 0x94]
jmp 0x5b6770
call fcn.00468400
mov ecx, dword [esp + 0x94]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x659c70]
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], eax
add esp, 0xe0
ret
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
add esp, 0xe0
ret
call fcn.00467000
jmp fcn.005b5c50