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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5c3043
add esp, 0xffffff80
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x10]
test edx, edx
jne 0x5c273d
xor ecx, ecx
xor ebx, ebx
mov esi, dword [esp + 0x8c]
mov ebp, dword [esp + 0x88]
xor eax, eax
jmp 0x5c276f
mov eax, dword [edx]
mov dword [esp], ecx
mov ebx, dword [esp + 0x88]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 8], ebx
call eax
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x84]
mov edi, ebx
movzx ebx, byte [edx + 5]
test bl, bl
jne 0x5c3030
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x3c], esi
mov byte [esp + 0x23], al
test ecx, ecx
jne 0x5c2804
movzx ebx, byte [edx + 4]
test bl, bl
je 0x5c2804
test esi, esi
jne 0x5c2804
lea eax, [0x64d3c0]
mov dword [esp], eax
call fcn.0040b470
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x3c]
mov dword [edi + 4], eax
mov ecx, dword [0x84e4b0]
test ecx, ecx
jne 0x5c27cb
mov ecx, dword [esp + 0x5c]
mov dword [edi], ecx
jmp 0x5c27dc
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.0045f3a0
mov eax, ecx
mov ecx, dword [esp + 0x5c]
mov dword [edi + 0xc], 2
lea edx, [0x6625a1]
mov dword [edi + 8], edx
movzx eax, byte [esp + 0x23]
mov edx, dword [esp + 0x84]
mov ebp, ecx
mov esi, dword [esp + 0x3c]
lea ecx, [0x6cf788]
mov dword [esp + 0x30], ecx
mov ebx, edi
lea edi, [esp + 0x60]
xor eax, eax
call fcn.0045f638
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], esi
movzx eax, byte [esp + 0x23]
mov ecx, dword [esp + 0x30]
jmp 0x5c283c
mov edx, dword [esp + 0x84]
mov ebp, dword [esp + 0x5c]
mov esi, eax
movzx eax, byte [esp + 0x23]
mov ebx, edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x30], ecx
mov edi, dword [esp + 0x64]
cmp dword [esp + 0x74], edi
jge 0x5c2b5f
mov byte [esp + 0x23], al
lea eax, [esp + 0x60]
mov dword [esp], eax
call fcn.005c39c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x5c2908
mov edx, dword [esp + 0x30]
test edx, edx
je 0x5c2883
mov ebx, dword [esp + 0x84]
jmp 0x5c2894
mov ebx, dword [esp + 0x84]
movzx ebp, byte [ebx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5c28ac
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x5c]
lea ebx, [0x6625a1]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x50]
jmp 0x5c28fe
lea eax, [0x64d3c0]
mov dword [esp], eax
call fcn.0040b470
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x3c]
mov dword [edi + 4], eax
mov ecx, dword [0x84e4b0]
test ecx, ecx
jne 0x5c28d7
mov edx, dword [esp + 0x5c]
mov dword [edi], edx
jmp 0x5c28e8
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.0045f3a0
mov eax, ecx
mov edx, dword [esp + 0x5c]
mov dword [edi + 0xc], 2
lea ebx, [0x6625a1]
mov dword [edi + 8], ebx
lea ecx, [0x6cf788]
movzx ebp, byte [esp + 0x23]
jmp 0x5c2ace
cmp ecx, 4
jge 0x5c2911
xor edx, edx
jmp 0x5c2942
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x4c], eax
mov dword [esp], eax
lea ecx, [0x6629e7]
mov dword [esp + 4], ecx
mov dword [esp + 8], 4
call fcn.00402620
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x2c]
mov edx, eax
mov eax, dword [esp + 0x4c]
test dl, dl
jne 0x5c298a
mov edx, dword [esp + 0x30]
test edx, edx
je 0x5c2956
mov ecx, edx
mov ebx, dword [esp + 0x50]
jmp 0x5c2975
mov edx, dword [esp + 0x84]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.005c3da0
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
movzx edx, byte [esp + 0x23]
mov eax, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x84]
jmp 0x5c2aba
cmp ecx, 4
jb 0x5c3013
add ecx, 0xfffffffc
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 4
add eax, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005c4250
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test edx, edx
je 0x5c29ec
mov ebp, dword [esp + 0x30]
test ebp, ebp
je 0x5c29d0
mov edx, ebp
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x3c]
movzx ebp, byte [esp + 0x23]
mov ecx, edx
mov edi, ebx
mov edx, dword [esp + 0x5c]
lea ebx, [0x6625a1]
jmp 0x5c2ace
mov dword [esp + 0x24], ecx
mov dword [esp + 0x44], eax
movzx edx, byte [esp + 0x23]
test dl, dl
je 0x5c2a04
mov edx, 1
jmp 0x5c2a23
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005bb990
mov eax, dword [esp + 8]
test eax, eax
setne al
mov ecx, dword [esp + 0x24]
mov edx, eax
mov eax, dword [esp + 0x44]
mov byte [esp + 0x23], dl
lea ebx, [esp + 0x60]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.005c3aa0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5c2a4c
mov ebx, dword [esp + 0x84]
jmp 0x5c2a5a
mov ebx, dword [esp + 0x84]
mov edx, dword [ebx + 0xc]
test edx, edx
jne 0x5c2a60
mov ecx, dword [esp + 0x50]
jmp 0x5c2a8a
mov eax, dword [edx]
mov dword [esp], ebx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov ebp, dword [esp + 0x24]
mov dword [esp + 8], ebp
call eax
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov eax, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x84]
test eax, eax
jne 0x5c2ab5
mov dword [esp], ebx
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
call fcn.005c3da0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x84]
movzx edx, byte [esp + 0x23]
lea ebx, [0x6625a1]
mov ebp, edx
mov edi, ecx
mov edx, dword [esp + 0x5c]
mov ecx, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], edi
xchg ebp, eax
mov byte [esp + 0x23], al
xchg ebp, eax
mov esi, dword [esp + 0x7c]
lea ebx, [esi + 1]
mov dword [esp + 0x7c], ebx
mov edx, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
test edx, edx
je 0x5c2b27
cmp ebp, ebx
jle 0x5c2b11
lea edi, [ebp - 1]
cmp edi, ebx
jne 0x5c2b1e
cmp ebp, ebx
jbe 0x5c300a
lea edx, [edx + esi*8 + 8]
mov edx, dword [edx + 4]
test edx, edx
jne 0x5c2b1e
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x74], edx
jmp 0x5c2828
mov edi, dword [esp + 0x50]
jmp 0x5c2828
mov edx, dword [esp + 0x78]
lea ebx, [edx + 1]
mov dword [esp + 0x74], ebx
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
lea edi, [ebp - 1]
cmp edi, ebx
jne 0x5c2b56
cmp ebp, ebx
jbe 0x5c3001
lea edx, [edx + esi + 1]
cmp byte [edx], 0x2e
jne 0x5c2b56
mov dword [esp + 0x74], ebp
mov edi, dword [esp + 0x50]
jmp 0x5c2828
test al, al
je 0x5c2b8b
mov eax, dword [edx + 0x14]
test eax, eax
je 0x5c2b8b
test ecx, ecx
jne 0x5c2b8b
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
jmp 0x5c2ee1
movzx eax, byte [esp + 0x90]
test al, al
je 0x5c2bb4
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
jmp 0x5c2cf5
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x70]
test ebp, ebp
jne 0x5c2bd0
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
test al, al
jmp 0x5c2c1b
mov dword [esp + 0x38], ecx
mov dword [esp + 0x58], ebx
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
lea eax, [0x66254e]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004bed60
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
movzx eax, byte [esp + 0x90]
test al, al
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x58]
je 0x5c2cc1
movzx eax, byte [edx + 4]
test al, al
je 0x5c2cc1
test ecx, ecx
jne 0x5c2cc1
test esi, esi
je 0x5c2c51
lea eax, [esi + ebp - 1]
cmp byte [eax], 0x2e
jne 0x5c2c4f
lea eax, [esi - 1]
test esi, esi
mov edx, eax
mov eax, esi
mov esi, edx
jmp 0x5c2c53
test esi, esi
mov eax, esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebp
je 0x5c2c65
cmp esi, 0xfd
jle 0x5c2cb9
lea eax, [0x64d3c0]
mov dword [esp], eax
call fcn.0040b470
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x3c]
mov dword [edi + 4], eax
mov ecx, dword [0x84e4b0]
test ecx, ecx
jne 0x5c2c90
mov ecx, dword [esp + 0x40]
mov dword [edi], ecx
jmp 0x5c2ca1
mov ecx, eax
mov eax, dword [esp + 0x40]
call fcn.0045f3a0
mov edx, eax
mov eax, ecx
mov ecx, edx
mov dword [edi + 0xc], 2
lea edx, [0x6625a1]
mov dword [edi + 8], edx
lea edx, [0x6cf788]
jmp 0x5c2cc9
mov edx, ecx
mov edi, ebx
mov ecx, ebp
jmp 0x5c2cc9
mov eax, esi
mov edx, ecx
mov edi, ebx
mov ecx, ebp
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], edi
sub esp, 0xffffff80
ret
movzx eax, byte [esp + 0x90]
mov ecx, edx
mov edx, ebp
mov ebp, dword [esp + 0x74]
lea esi, [esp + 0x60]
cmp dword [esi + 4], ebp
jle 0x5c2bb4
mov dword [esp + 0x54], ebx
mov dword [esp + 0x34], ecx
mov dword [esp], esi
call fcn.005c39c0
mov ecx, dword [esp + 8]
nop
mov eax, dword [esp + 4]
xor edx, edx
jmp 0x5c2ea2
lea edx, [0x6629e7]
mov dword [esp], edx
mov dword [esp + 4], 4
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.005c4bd0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x5c2d62
mov edx, ebp
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], ecx
lea ebp, [esp + 0x60]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.005c3aa0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x50]
jmp 0x5c2da0
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x84]
movzx esi, byte [ebp + 4]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5c2e19
test edx, edx
jne 0x5c2e19
mov dword [esp + 0x28], ecx
mov dword [esp + 0x48], eax
test ecx, ecx
je 0x5c2dc6
cmp ecx, 0x3f
jle 0x5c2e19
lea eax, [0x64d3c0]
mov dword [esp], eax
call fcn.0040b470
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x28]
mov dword [edi + 4], eax
mov eax, dword [0x84e4b0]
test eax, eax
jne 0x5c2df1
mov edx, dword [esp + 0x48]
mov dword [edi], edx
jmp 0x5c2dfa
mov eax, dword [esp + 0x48]
call fcn.0045f3a0
mov dword [edi + 0xc], 2
lea ebx, [0x6625a1]
mov dword [edi + 8], ebx
mov ebp, dword [esp + 0x84]
lea edx, [0x6cf788]
mov ebx, edi
mov esi, dword [esp + 0x7c]
lea eax, [esi + 1]
mov dword [esp + 0x7c], eax
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
test edi, edi
je 0x5c2e6a
cmp ecx, eax
jle 0x5c2e51
lea ebp, [ecx - 1]
cmp ebp, eax
jne 0x5c2e5e
cmp ecx, eax
jbe 0x5c2ebe
lea eax, [edi + esi*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x5c2e5e
mov ebp, dword [esp + 0x84]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x74], eax
jmp 0x5c2ce9
mov ebp, dword [esp + 0x84]
jmp 0x5c2ce9
mov esi, dword [esp + 0x78]
lea eax, [esi + 1]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
lea ebp, [ecx - 1]
cmp ebp, eax
jne 0x5c2e95
cmp ecx, eax
jbe 0x5c2eb9
lea eax, [esi + edi + 1]
cmp byte [eax], 0x2e
jne 0x5c2e95
mov dword [esp + 0x74], ecx
mov ebp, dword [esp + 0x84]
jmp 0x5c2ce9
inc edx
cmp edx, ecx
jge 0x5c2d98
jae 0x5c2ec3
lea ebx, [edx + eax]
cmp byte [ebx], 0x80
jb 0x5c2ea1
jmp 0x5c2d26
call fcn.0045f420
call fcn.0045f420
mov eax, edx
call fcn.0045f420
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x74], eax
jge 0x5c2b8b
lea eax, [esp + 0x60]
mov dword [esp], eax
call fcn.005c39c0
mov eax, dword [esp + 0x84]
mov edx, dword [eax + 0x14]
mov ecx, dword [edx]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov dword [esp], ebx
mov dword [esp + 4], ebp
call ecx
movzx eax, byte [esp + 8]
test al, al
je 0x5c2f9f
mov edx, dword [esp + 0x7c]
lea eax, [edx + 1]
mov dword [esp + 0x7c], eax
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
test ebx, ebx
je 0x5c2f67
cmp ecx, eax
jle 0x5c2f5a
lea ebp, [ecx - 1]
cmp ebp, eax
jne 0x5c2eca
cmp ecx, eax
jbe 0x5c2ffc
lea eax, [ebx + edx*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x5c2eca
mov eax, dword [esp + 0x64]
mov dword [esp + 0x74], eax
jmp 0x5c2eca
mov edx, dword [esp + 0x78]
lea eax, [edx + 1]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x60]
lea ebp, [ecx - 1]
cmp ebp, eax
jne 0x5c2eca
cmp ecx, eax
jbe 0x5c2ff7
lea eax, [edx + ebx + 1]
cmp byte [eax], 0x2e
jne 0x5c2eca
mov dword [esp + 0x74], ecx
jmp 0x5c2eca
lea eax, [0x64d3c0]
mov dword [esp], eax
call fcn.0040b470
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x3c]
mov dword [edi + 4], eax
mov eax, dword [0x84e4b0]
test eax, eax
jne 0x5c2fca
mov eax, dword [esp + 0x5c]
mov dword [edi], eax
jmp 0x5c2fd3
mov eax, dword [esp + 0x5c]
call fcn.0045f3a0
mov dword [edi + 0xc], 1
lea eax, [0x6cddf8]
mov dword [edi + 8], eax
mov edx, dword [esp + 0x84]
lea ecx, [0x6cf788]
mov ebx, edi
jmp 0x5c2b8b
call fcn.0045f420
call fcn.0045f420
mov eax, ebx
mov ecx, ebp
call fcn.0045f420
mov eax, ebx
mov ecx, ebp
call fcn.0045f420
mov eax, 4
call fcn.0045f480
dec esi
mov ebx, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
add ebp, esi
mov esi, ebx
test esi, esi
je 0x5c2784
cmp byte [ebp], 0x2e
je 0x5c301d
jmp 0x5c2784
call fcn.0045df90
jmp fcn.005c2700