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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5b0574
sub esp, 0x48
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.005b1c80
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x5b04db
mov dword [eax + 0x74], ecx
mov edx, dword [0x77c810]
lea ebx, [eax + 0x78]
test edx, edx
jne 0x5b04be
mov edx, dword [esp + 0x54]
mov dword [eax + 0x78], edx
mov byte [eax + 0x7c], 0
mov dword [eax + 0x80], 0
lea edx, [eax + 0x74]
xor ebx, ebx
lea ebp, [0x744b20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], edx
mov esi, dword [eax + 8]
mov edi, dword [0x76a82c]
cmp esi, edi
jne 0x5b045f
mov esi, dword [eax + 0xc]
cmp ebx, esi
jge 0x5b01d9
test ecx, ecx
je 0x5b034d
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.005aea30
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc], ecx
call fcn.005aea90
movzx eax, byte [esp + 0x10]
test al, al
je 0x5b0314
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x58]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x78]
lea ebx, [edx + ecx]
mov dword [esp + 0x24], ebx
mov ebp, dword [eax + 0x54]
mov dword [esp + 0x44], ebp
mov esi, dword [esp + 0x7c]
cmp ebx, esi
ja 0x5b02d1
mov edi, dword [esp + 0x74]
mov dword [esp + 0x40], edi
mov dword [esp + 0x7c], esi
cmp ebx, esi
ja 0x5b02ca
lea edx, [edi + edx*4]
mov dword [esp], edx
mov dword [esp + 4], ebp
shl ecx, 2
mov dword [esp + 8], ecx
call fcn.0044a7d0
mov eax, dword [esp + 0x40]
test eax, eax
je 0x5b02be
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x40], eax
mov ebx, dword [esp + 0x4c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], ebx
call fcn.005b1d60
mov eax, dword [esp + 0x40]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x88], eax
add esp, 0x48
ret
xor ecx, ecx
xor edx, edx
lea eax, [0x77c580]
jmp 0x5b0279
call fcn.004246c0
ud2
lea edi, [0x60c540]
mov dword [esp], edi
mov edi, dword [esp + 0x74]
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00437350
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x44]
jmp 0x5b0247
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.005b1d60
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x48
ret
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5b03bf
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x14], ecx
call fcn.005ae490
movzx eax, byte [esp + 0x18]
test al, al
je 0x5b0386
jmp 0x5b021a
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.005b1d60
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x48
ret
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], ecx
mov esi, dword [ecx + 4]
cmp esi, 0x1f4
jle 0x5b040d
mov ecx, dword [0x76a828]
mov esi, dword [0x77c810]
lea edi, [eax + 0x10]
test esi, esi
jne 0x5b03ec
mov dword [eax + 0x10], ecx
jmp 0x5b0354
mov dword [esp], edi
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x38]
jmp 0x5b0354
lea esi, [0x62d540]
mov dword [esp], esi
call fcn.0040cd50
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov ecx, dword [0x77c810]
test ecx, ecx
jne 0x5b0449
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
jmp 0x5b03d7
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x2c]
jmp 0x5b0433
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc], ecx
call fcn.005afb20
movzx eax, byte [esp + 0x10]
test al, al
je 0x5b0485
jmp 0x5b021a
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.005b1d60
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x48
ret
mov dword [esp], ebx
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
call fcn.0040d580
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x50]
jmp 0x5b0194
mov edx, dword [esp + 0x58]
test edx, edx
je 0x5b0529
mov ebx, dword [esp + 0x5c]
mov dword [eax + 0x64], ebx
mov ebp, dword [esp + 0x60]
mov dword [eax + 0x68], ebp
mov ebp, dword [0x77c810]
lea esi, [eax + 0x60]
test ebp, ebp
jne 0x5b050f
mov dword [eax + 0x60], edx
lea edx, [eax + 0x60]
lea ebp, [0x744ae0]
jmp 0x5b01ad
mov dword [esp], esi
mov dword [esp + 4], edx
call fcn.0040d580
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x5c]
jmp 0x5b0501
mov edx, dword [esp + 0x68]
mov dword [eax + 0x70], edx
mov ebx, dword [0x77c810]
lea ebp, [eax + 0x6c]
test ebx, ebx
jne 0x5b0556
mov ebx, dword [esp + 0x64]
mov dword [eax + 0x6c], ebx
lea esi, [eax + 0x6c]
mov ebx, edx
mov edx, esi
lea ebp, [0x744b60]
jmp 0x5b01ad
mov dword [esp], ebp
mov ebx, dword [esp + 0x64]
mov dword [esp + 4], ebx
call fcn.0040d580
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x68]
jmp 0x5b0544
call fcn.00448420
jmp fcn.005b0140