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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x48]
cmp eax, dword [ecx + 8]
jbe 0x5c0fe5
sub esp, 0xc8
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax]
mov dword [esp + 0x5c], edx
mov ebx, dword [eax + 0x48]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call ecx
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0x44]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x3c], ebp
mov esi, dword [eax + 0x48]
mov ecx, dword [ecx + 0x14]
mov dword [esp], esi
call ecx
lea eax, [0x689d40]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov word [eax], 0xfe
mov byte [eax + 2], 0
mov ecx, dword [esp + 0x38]
mov byte [eax + 3], cl
mov edx, dword [esp + 0xcc]
mov ebx, dword [edx + 0x44]
mov ebp, dword [edx + 0x48]
mov ebx, dword [ebx + 0x20]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call ebx
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0xc], ebp
call ecx
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
call fcn.005cb0b0
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0xc]
movzx edx, word [ecx + 0x80]
test dx, dx
jne 0x5c0709
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x5c0709
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.005b6370
lea eax, [0x697fe0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x39
lea ecx, [0x6d8786]
mov dword [eax], ecx
lea ecx, [0x7395a8]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0xc8
ret
mov ebx, dword [ecx + 0x74]
mov ebp, dword [ecx + 0x78]
mov ecx, dword [ecx + 0x7c]
test ebx, ebx
je 0x5c0748
mov esi, dword [eax + 0x10]
mov dword [esi + 0xbc], ebp
mov dword [esi + 0xc0], ecx
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x5c0737
mov dword [esi + 0xb8], ebx
jmp 0x5c0748
lea edi, [esi + 0xb8]
mov ecx, eax
mov eax, ebx
call fcn.00463080
mov eax, ecx
mov ecx, dword [eax + 0xc]
movzx ebx, word [ecx + 0x54]
test bx, bx
jne 0x5c0770
movzx ecx, word [ecx + 0x80]
test cx, cx
je 0x5c07bd
mov edx, dword [eax + 0x10]
mov ebx, dword [edx + 0x4c]
mov edx, dword [edx + 0x50]
xor ebp, ebp
jmp 0x5c0d5b
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x32
call fcn.005b6370
lea eax, [0x697fe0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2b
lea ecx, [0x6d51b3]
mov dword [eax], ecx
lea ecx, [0x7395a8]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0xc8
ret
mov edi, dword [eax + 0x10]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x5c07e0
mov dword [edi], 0
jmp 0x5c07eb
mov ecx, eax
xor eax, eax
call fcn.00463080
mov eax, ecx
mov ecx, dword [eax + 0x10]
mov ebx, dword [ecx + 0xe4]
test ebx, ebx
je 0x5c0812
mov ebx, dword [eax + 0x1c]
movzx ebx, word [ebx + 0xe]
mov ebp, dword [0x8bb360]
mov esi, dword [0x8bb364]
xor edx, edx
jmp 0x5c0a08
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.005c3d00
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.005c3d00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x5c]
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.005b6f50
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x5c09f0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.005b7080
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 8]
test eax, eax
jne 0x5c09db
lea ecx, [0x69a7c0]
cmp ebp, ecx
je 0x5c08bc
mov ebx, 0
jne 0x5c0931
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x5c08d4
mov eax, dword [esp + 0xcc]
mov dword [eax + 0xc], ebx
jmp 0x5c08e7
mov ecx, dword [esp + 0xcc]
lea edi, [ecx + 0xc]
mov eax, ebx
call fcn.00463080
mov eax, ecx
mov dword [esp], eax
call fcn.005c0160
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
je 0x5c0914
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], edx
add esp, 0xc8
ret
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
add esp, 0xc8
ret
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005b6370
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x6c], eax
lea eax, [0x69a7c0]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x74], eax
lea eax, [0x6d9f2d]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c2610
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
add esp, 0xc8
ret
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], edx
add esp, 0xc8
ret
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], edx
add esp, 0xc8
ret
inc edx
mov ecx, edi
cmp edx, esi
jge 0x5c0a19
mov edi, ecx
mov ecx, dword [ebp + edx*4]
cmp word [ecx], bx
jne 0x5c0a05
jmp 0x5c0a1d
mov edi, ecx
xor ecx, ecx
test ecx, ecx
je 0x5c0d23
mov ebx, dword [eax + 0x40]
mov ecx, dword [ecx + 0xc]
cmp dword [ebx + 0xc], ecx
jne 0x5c0ca2
mov ecx, dword [esp + 0x5c]
mov ebx, dword [ecx + 0x28]
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x5c0a48
lea ebx, [0x6e0cac]
mov eax, dword [ebx]
mov edx, ebx
call eax
lea edi, [esp + 0xa0]
lea esi, [esp]
call fcn.004637fe
lea edi, [esp + 0x78]
lea esi, [esp + 0xa0]
call fcn.004637fe
lea edi, [esp + 0xb4]
lea esi, [esp + 0x78]
call fcn.004637fe
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0x1c]
test byte [ecx], al
lea esi, [ecx + 0x34]
lea edi, [esp + 0x8c]
call fcn.004637fe
lea edi, [esp]
lea esi, [esp + 0xb4]
call fcn.004637fe
lea edi, [esp + 0x14]
lea esi, [esp + 0x8c]
call fcn.004637fe
call fcn.004b0d50
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf4240
call fcn.0045d830
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0x10]
mov ebx, dword [eax + 0x1c]
mov ebp, dword [esp + 0x10]
mov esi, dword [ecx + 0xe4]
mov ecx, dword [ecx + 0xe0]
add ebp, dword [ebx + 0x80]
test esi, esi
jbe 0x5c0d51
mov dword [ecx + 0xc], ebp
mov ecx, dword [eax + 0x40]
mov ecx, dword [ecx + 0xc]
mov dword [esp], ecx
call fcn.004822e0
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x34], edx
lea ebx, [0x689d40]
mov dword [esp], ebx
call fcn.0040b800
mov eax, dword [esp + 4]
mov word [eax], 0xfe
mov byte [eax + 2], 0
mov ecx, dword [esp + 0x38]
mov byte [eax + 3], cl
mov edx, dword [esp + 0x34]
mov ebx, dword [edx + 0x20]
mov ebp, dword [esp + 0x48]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call ebx
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xc], ebx
call ecx
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
call fcn.005cb0b0
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x48]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.005c8fc0
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x2c]
mov ebx, dword [eax + 0x30]
mov ebp, dword [eax + 0x34]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x14], ecx
call fcn.005d82a0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x40], edx
lea ebx, [0x6891c0]
mov dword [esp], ebx
call fcn.0040b800
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 8], eax
mov eax, dword [0x8e84e0]
test eax, eax
jne 0x5c0c67
mov eax, dword [esp + 0x60]
mov dword [edi], eax
jmp 0x5c0c70
mov eax, dword [esp + 0x60]
call fcn.00463080
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.005c9050
mov eax, dword [esp + 0xcc]
jmp 0x5c0812
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe8], 0
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x5c0ccc
mov dword [edi + 0xe0], 0
jmp 0x5c0cdd
add edi, 0xe0
mov ecx, eax
xor eax, eax
call fcn.00463080
mov eax, ecx
mov ecx, dword [eax + 0x10]
mov dword [ecx + 0xf0], 0
mov dword [ecx + 0xf4], 0
mov edx, dword [0x8e84e0]
test edx, edx
jne 0x5c0d0d
mov dword [ecx + 0xec], 0
jmp 0x5c0812
lea edi, [ecx + 0xec]
mov ecx, eax
xor eax, eax
call fcn.00463080
mov eax, ecx
jmp 0x5c0812
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005b6370
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
add esp, 0xc8
ret
xor eax, eax
mov ecx, eax
call fcn.00463100
inc ebp
cmp ebp, edx
jge 0x5c0f98
lea esi, [ebx + ebp*2]
cmp word [esi], cx
jne 0x5c0d5a
mov word [esp + 0x32], cx
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x10]
mov dword [esp], edx
call ecx
movzx eax, word [esp + 0x32]
cmp word [esp + 4], ax
je 0x5c0f4b
mov word [esp], ax
call fcn.005d8a20
movzx eax, byte [esp + 0xc]
movzx ecx, word [esp + 0x32]
cmp cx, 0x1d
je 0x5c0df8
test al, al
jne 0x5c0df8
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005b6370
lea eax, [0x697fe0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x30
lea ecx, [0x6d6a02]
mov dword [eax], ecx
lea ecx, [0x7395a8]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0xc8
ret
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x28]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
test ebx, ebx
jne 0x5c0e14
mov ebx, dword [0x8c0968]
mov edx, dword [0x8c096c]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov word [esp + 8], cx
call fcn.005d86c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0xc]
test eax, eax
jne 0x5c0f15
mov ecx, dword [esp + 0xcc]
mov dword [ecx + 0x14], ebp
mov edx, dword [0x8e84e0]
test edx, edx
jne 0x5c0e5e
mov dword [ecx + 0x18], ebx
jmp 0x5c0e68
lea edi, [ecx + 0x18]
mov eax, ebx
call fcn.00463080
mov eax, dword [esi + 0x14]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x40], edx
lea ebx, [0x689280]
mov dword [esp], ebx
call fcn.0040b800
mov eax, dword [esp + 4]
movzx ecx, word [esp + 0x32]
mov word [eax], cx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x5c0ec3
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], ecx
jmp 0x5c0ed3
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x60]
call fcn.00463080
mov eax, ecx
mov ecx, dword [esp + 0xcc]
mov ebx, dword [ecx + 0x10]
mov dword [ebx + 0xc8], 1
mov dword [ebx + 0xcc], 1
mov ebp, dword [0x8e84e0]
test ebp, ebp
jne 0x5c0f03
mov dword [ebx + 0xc4], eax
jmp 0x5c0f0e
lea edi, [ebx + 0xc4]
call fcn.00463080
mov eax, ecx
jmp 0x5c07bd
mov dword [esp + 0x54], edx
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005b6370
mov eax, dword [esp + 0x64]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xd4], eax
add esp, 0xc8
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.005b6370
lea eax, [0x697fe0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x3b
lea ecx, [0x6d8a7f]
mov dword [eax], ecx
lea ecx, [0x7395a8]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0xc8
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.005b6370
lea eax, [0x697fe0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x26
lea ecx, [0x6d37a4]
mov dword [eax], ecx
lea ecx, [0x7395a8]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0xc8
ret
call fcn.00461c70
jmp fcn.005c0580