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

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5d520f
sub esp, 0x74
mov edx, dword [0x9a4820]
mov ebx, dword [0x9a4824]
mov ebp, dword [esp + 0x78]
xor eax, eax
xor ecx, ecx
xor esi, esi
jmp 0x5d4c83
add edx, 0x20
inc eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], ecx
cmp eax, ebx
jge 0x5d4cb4
lea edi, [esp + 0x54]
mov esi, edx
call fcn.00468bc0
cmp dword [esp + 0x54], ebp
jne 0x5d4caa
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
jmp 0x5d4c7f
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x38]
jmp 0x5d4c7f
test ecx, ecx
jne 0x5d4cf2
cmp esi, 4
jne 0x5d4cd4
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
jmp 0x5d4e16
mov eax, dword [0x9a3fd8]
mov ecx, dword [0x9a3fdc]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
cmp ecx, 2
je 0x5d51e1
cmp ecx, 3
jne 0x5d4d6c
movzx edx, byte [esp + 0x9c]
test dl, dl
jne 0x5d4d6c
mov eax, dword [0x9a38a4]
mov dword [esp], eax
call fcn.004f7cf0
cmp dword [esp + 8], 1
jne 0x5d4d2a
mov eax, dword [esp + 4]
cmp byte [eax], 0x31
je 0x5d4d52
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00409ce0
mov eax, dword [esp + 4]
lea ecx, [0x7ab474]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x74
ret
mov eax, dword [0x9a38a4]
mov dword [esp], eax
call fcn.004f7b10
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x38]
cmp ecx, 0x14
jae 0x5d51c3
mov edx, dword [0x9c508c]
cmp ecx, edx
jae 0x5d5205
mov eax, dword [0x9c5088]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x5d51c3
mov dword [esp], ecx
call fcn.00524100
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 0x20]
mov dword [esp], ecx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0xc], ebx
call edx
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x38]
mov ebx, eax
mov eax, ecx
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x94]
test edi, edi
je 0x5d51a5
mov edi, dword [edi + 8]
cmp edi, 0x4bcec15d
jne 0x5d4f78
mov dword [esp + 0x3c], edx
mov edi, dword [esp + 0x94]
lea edx, [0x6f6ec0]
cmp edi, edx
jne 0x5d51a5
cmp esi, 1
jne 0x5d4f47
lea edx, [ebp - 0xd]
nop
cmp edx, 2
ja 0x5d4ee9
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0xffffffff
mov edx, dword [esp + 0x98]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x20], eax
call fcn.005b7b30
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
mov edx, dword [esp + 0x98]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x1c], eax
call fcn.005b7290
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
mov dword [esp], esi
mov dword [esp + 4], edx
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
call fcn.005d4b60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
cmp edi, 0x8c7bd38d
jne 0x5d506b
mov ecx, dword [esp + 0x94]
lea ebp, [0x71a2c0]
cmp ecx, ebp
jne 0x5d51a5
cmp esi, 3
jne 0x5d503a
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x88]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x18], eax
call fcn.005ac140
movzx eax, byte [esp + 0x1c]
test al, al
je 0x5d5001
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x74
ret
lea eax, [0x6f2340]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x20
lea ecx, [0x740e0e]
mov dword [eax], ecx
lea ecx, [0x7aaeb4]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x74
ret
mov dword [esp], esi
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
call fcn.005d4b60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
cmp edi, 0xc0d9e4a4
jne 0x5d51a5
mov ecx, dword [esp + 0x94]
lea ebp, [0x6ef660]
cmp ecx, ebp
jne 0x5d51a5
mov ecx, dword [esp + 0x98]
mov edi, dword [ecx + 4]
mov ebp, dword [ecx + 8]
mov ecx, dword [ecx]
cmp esi, 4
jne 0x5d515d
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x88]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.005b6d40
movzx eax, byte [esp + 0x34]
test al, al
je 0x5d5124
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x74
ret
lea eax, [0x6f2340]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x22
lea ecx, [0x74213b]
mov dword [eax], ecx
lea ecx, [0x7aaeb4]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x74
ret
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
call fcn.00409e70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
lea ecx, [0x6ef660]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.005d4b60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
mov eax, dword [0x9a3fd8]
mov ecx, dword [0x9a3fdc]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
mov eax, dword [0x9a3fd8]
mov ecx, dword [0x9a3fdc]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x74
ret
mov dword [esp], ebp
call fcn.00409ce0
mov eax, dword [esp + 4]
lea ecx, [0x7ab474]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x74
ret
mov eax, ecx
mov ecx, edx
call fcn.004684d0
nop
call fcn.00467050
jmp fcn.005d4c50