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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5b7b6e
sub esp, 0x70
lea edi, [esp + 0x58]
xor eax, eax
call fcn.0046395a
lea ecx, [0x5e6f80]
mov dword [esp + 0x58], ecx
lea ecx, [0x5e6f20]
mov dword [esp + 0x60], ecx
lea ecx, [0x5e6a20]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x5b796e
nop
movzx edx, byte [0x7a1de0]
test dl, dl
je 0x5b7939
mov edx, dword [esp + 0x74]
mov dword [0x7a1de4], edx
mov edx, dword [0x7c78f0]
test edx, edx
jne 0x5b7926
mov edx, dword [esp + 0x78]
mov dword [0x7a1de8], edx
jmp 0x5b793d
lea edi, [0x7a1de8]
mov eax, dword [esp + 0x78]
call fcn.00463730
mov edx, eax
jmp 0x5b793d
mov edx, dword [esp + 0x78]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x5b7966
nop
movzx ebx, byte [ecx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5b7974
or ebx, 0x80
jmp 0x5b7974
xor ebx, ebx
xor ecx, ecx
xor edx, edx
jmp 0x5b7974
xor ebx, ebx
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
test ebx, ebx
je 0x5b7996
test ebx, 0x200
jne 0x5b7996
mov eax, ecx
lea ebp, [0x663100]
jmp 0x5b79bc
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004be9f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x24]
mov ebp, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x2c], ebp
xor esi, esi
jmp 0x5b79e3
mov eax, dword [esp + 0x30]
lea esi, [eax + 1]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
cmp esi, 3
jge 0x5b7b57
mov dword [esp + 0x30], esi
mov edi, ebx
lea ebx, [esp + esi*8 + 0x58]
mov edx, dword [ebx]
mov ebx, dword [ebx + 4]
test edx, edx
je 0x5b7a88
nop
movzx esi, byte [0x7a1de0]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5b7a3e
mov dword [0x7a1de4], edx
mov esi, dword [0x7c78f0]
test esi, esi
jne 0x5b7a29
mov dword [0x7a1de8], ebx
jmp 0x5b7a3e
mov esi, edi
lea edi, [0x7a1de8]
mov eax, ebx
call fcn.00463730
mov eax, dword [esp + 0x34]
mov edi, esi
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebx
mov edx, dword [esp + 0x48]
test edx, edx
je 0x5b7a74
nop
movzx esi, byte [edx + 0xf]
xchg esi, eax
mov byte [esp + 0x23], al
xchg esi, eax
and esi, 0x1f
movzx edi, byte [esp + 0x23]
xchg edi, eax
test al, 0x20
xchg edi, eax
jne 0x5b7a6e
or esi, 0x80
mov edi, dword [esp + 0x24]
jmp 0x5b7a7a
xor esi, esi
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov ebx, edx
mov edx, esi
mov esi, dword [esp + 0x30]
jmp 0x5b7a94
xor edx, edx
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x44], edx
xor edx, edx
test edx, edx
je 0x5b7aa8
test edx, 0x200
jne 0x5b7aa8
lea edx, [0x663100]
jmp 0x5b7ace
mov dword [esp], ebx
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004be9f0
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x2c]
mov edx, eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], edx
mov eax, dword [ebp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call eax
movzx eax, byte [esp + 0xc]
test al, al
je 0x5b79c8
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
call fcn.004bfbb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004bc5d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x70
ret
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x70
ret
call fcn.00462320
jmp fcn.005b78b0