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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x54]
cmp eax, dword [ecx + 8]
jbe 0x5b5683
sub esp, 0xd4
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax]
mov edx, dword [eax + 0x38]
test edx, edx
je 0x5b5666
mov dword [esp + 0x64], ecx
lea eax, [0x677060]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax + 0x38]
mov edi, dword [esp + 4]
mov edx, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x2c]
mov dword [edi + 4], ecx
mov dword [edi + 8], ebx
mov ecx, dword [0x894e10]
test ecx, ecx
jne 0x5b5121
mov dword [edi], edx
jmp 0x5b512c
mov ecx, eax
mov eax, edx
call fcn.0045f830
mov eax, ecx
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ebx
mov ecx, dword [0x894e10]
test ecx, ecx
jne 0x5b514d
mov dword [edi + 0xc], edx
jmp 0x5b5161
lea ecx, [edi + 0xc]
mov ebx, edi
mov edi, ecx
mov ebp, eax
mov eax, edx
call fcn.0045f830
mov eax, ebp
mov edi, ebx
mov ecx, dword [esp + 0x64]
movzx edx, word [ecx + 0x24]
mov word [edi + 0x18], dx
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov dword [edi + 0x1c], ebx
mov ebx, dword [0x894e10]
test ebx, ebx
jne 0x5b5185
mov dword [edi + 0x20], edx
jmp 0x5b5195
lea ebx, [edi + 0x20]
mov ebp, edi
mov edi, ebx
mov eax, edx
call fcn.0045f830
mov edi, ebp
mov dword [esp], ecx
mov dword [esp + 4], edi
call fcn.005b23e0
mov esi, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x5b5651
mov dword [esp + 0x60], esi
lea edi, [esp + 0x88]
xor eax, eax
call fcn.0045fabd
lea edi, [esp + 0x94]
call fcn.0045ff4a
mov ecx, dword [esp + 0xd8]
mov edx, dword [ecx + 0x38]
movzx edx, byte [edx + 0xd]
test dl, dl
je 0x5b51f7
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + 0x30]
test ebx, ebx
setne bl
jmp 0x5b51fd
mov edx, dword [esp + 0x60]
xor ebx, ebx
mov byte [esp + 0xd1], bl
mov ebx, dword [ecx + 0x38]
movzx ebx, byte [ebx + 0xc]
test bl, bl
je 0x5b5219
mov ebx, dword [edx + 0x24]
test ebx, ebx
setne bl
jmp 0x5b521b
xor ebx, ebx
mov byte [esp + 0xd0], bl
lea eax, [esp + 0x88]
mov dword [esp], eax
call fcn.005c5230
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
call ecx
lea eax, [esp + 0x88]
mov dword [esp], eax
call fcn.005c5230
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov byte [esp + 4], 0x16
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.005a9780
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x5b563c
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 4]
test edx, edx
je 0x5b561f
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.0045fac9
mov byte [esp + 0x78], 1
mov ecx, dword [esp + 0xd8]
mov edx, dword [ecx + 0x38]
mov ebx, dword [esp + 0x64]
movzx ebp, word [ebx + 0x24]
mov esi, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov word [esp], bp
mov ebp, dword [esp + 0x60]
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.005a16c0
movzx ecx, word [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov word [esp + 0x7a], cx
test edx, edx
jne 0x5b55e9
mov word [esp], cx
call fcn.005a0dc0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
movzx edx, byte [esp + 4]
test ecx, ecx
jne 0x5b55bb
mov dword [esp + 0x48], eax
mov byte [esp + 0x37], dl
mov ecx, dword [esp + 0xd8]
mov edx, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x48]
mov dword [esp], eax
lea ebp, [0x69deb4]
mov dword [esp + 4], ebp
mov dword [esp + 8], 0x22
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.005a0b80
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x48]
mov dword [esp], ebx
call fcn.00408cb0
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x37]
cmp cl, 0xe2
je 0x5b5396
lea ecx, [0x7034e4]
jmp 0x5b53bb
lea eax, [0x66d1c0]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 4]
mov dword [eax], 0xffffffff
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
lea ecx, [0x703084]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + 0xc]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x68], edx
lea ebp, [0x668b60]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.00409050
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
test ebx, ebx
jne 0x5b5403
mov ebx, dword [0x86d498]
mov ecx, dword [0x86d49c]
mov eax, dword [edx + 0x14]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x1c], ecx
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
test eax, eax
je 0x5b5511
mov dword [esp + 0x4c], eax
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005a8ba0
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x69cb6d]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x1f
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.0044b970
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
lea edx, [0x667e60]
mov dword [esp], edx
call fcn.0040b400
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x38]
mov dword [edi + 4], eax
mov eax, dword [0x894e10]
test eax, eax
jne 0x5b54ed
mov eax, dword [esp + 0x50]
mov dword [edi], eax
jmp 0x5b54f6
mov eax, dword [esp + 0x50]
call fcn.0045f830
lea eax, [0x703160]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], edi
add esp, 0xd4
ret
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebx
mov dword [esp + 0x7c], edx
lea eax, [esp + 0x6c]
mov dword [esp], eax
call fcn.005c80f0
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax + 0x44]
mov eax, dword [eax + 0x48]
mov ecx, dword [ecx + 0x20]
mov dword [esp], eax
call ecx
lea eax, [esp + 0x6c]
mov dword [esp], eax
call fcn.005c80f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov byte [esp + 4], 0x16
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.005a9780
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x5b559e
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], edx
add esp, 0xd4
ret
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
add esp, 0xd4
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005a8ba0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], ecx
add esp, 0xd4
ret
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x68], ebx
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov byte [esp + 4], 0x28
call fcn.005a8ba0
mov eax, dword [esp + 0x68]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xe0], eax
add esp, 0xd4
ret
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
add esp, 0xd4
ret
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], edx
add esp, 0xd4
ret
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], edx
add esp, 0xd4
ret
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
add esp, 0xd4
ret
call fcn.0045e420
jmp fcn.005b50b0