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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 8
push 0
push 0
dec ecx
jne 0x5cfe4d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x5cfe66
add esp, 0xfffffff0
call fcn.00406f10
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x5d0349
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.00599124
mov dword [ebx + 0x2c], 0xffffffff
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebx + 4]
cmp dword [eax + 0x34], 0
je 0x5cfef0
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.0059eb8c
test eax, eax
je 0x5cfece
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x10]
mov ecx, edi
mov edx, esi
call fcn.005ae7e8
mov dword [ebx + 0x30], eax
jmp 0x5cff13
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x10]
mov ecx, edi
mov edx, esi
call fcn.005ae75c
mov dword [ebx + 0x30], eax
jmp 0x5cff13
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.0059eb8c
test eax, eax
jne 0x5cff0c
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebx + 0x30], 0xffffffff
mov dword [ebx + 0x38], 0xffffffff
mov dword [ebx + 0x34], 0xffffffff
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], edi
lea eax, [ebx + 0x3c]
mov edx, esi
call fcn.00408af4
xor eax, eax
mov dword [ebx + 0x58], eax
xor eax, eax
mov dword [ebx + 0x70], eax
xor eax, eax
mov dword [ebx + 0x74], eax
movzx eax, byte [0x5d0374]
mov byte [ebx + 0x78], al
movzx eax, byte [0x5d0374]
mov byte [ebx + 0x79], al
xor eax, eax
mov dword [ebx + 0x80], eax
xor eax, eax
mov dword [ebx + 0x84], eax
cmp dword [ebx + 0x30], 0
jl 0x5cffca
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x4c]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x10]
inc dword [eax + 0x4c]
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5cff97
sub eax, 4
mov eax, dword [eax]
mov esi, dword [ebx + 0x2c]
cmp eax, esi
jg 0x5cffbe
add esi, 0x100
push esi
mov eax, dword [ebx + 0x10]
add eax, 0x48
mov ecx, 1
mov edx, dword [0x5cd9f0]
call fcn.0040ae7c
add esp, 4
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x10]
mov edx, dword [edx + 0x48]
mov dword [edx + eax*4], ebx
mov eax, dword [ebx + 0x10]
cmp dword [eax + 0x34], 0
je 0x5d0008
cmp dword [ebp - 0x14], 0
jne 0x5cffe1
cmp dword [ebp - 0x18], 0
jb 0x5d0008
jmp 0x5cffe3
jl 0x5d0008
cmp dword [ebp - 0x14], 0
jne 0x5cfff4
cmp dword [ebp - 0x18], 0x7fffffff
ja 0x5d0008
jmp 0x5cfff6
jg 0x5d0008
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x34], eax
mov edx, eax
mov eax, dword [ebx + 0x10]
mov ecx, ebx
call fcn.005d07e0
mov edx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + edx*8]
test eax, eax
je 0x5d003d
mov dword [eax + 0x14], ebx
mov eax, dword [ebx + 0x24]
mov edx, dword [ebx + 0x10]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*8]
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x24]
mov edx, dword [ebx + 0x10]
mov edx, dword [edx + 0x14]
mov dword [edx + eax*8], ebx
jmp 0x5d005d
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x14]
mov dword [eax + edx*8], ebx
mov eax, dword [ebx + 0x24]
mov edx, dword [ebx + 0x10]
mov edx, dword [edx + 0x14]
mov dword [edx + eax*8 + 4], ebx
xor eax, eax
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebx + 0x18], eax
mov esi, dword [ebx + 0x10]
cmp dword [esi + 0x30], 0
je 0x5d02f3
cmp dword [esi + 0x40], 0
je 0x5d029b
cmp dword [esi + 0x34], 1
sbb eax, eax
inc eax
and eax, 0x7f
mov edi, dword [eax*4 + 0x6c8f7c]
lea edx, [ebp - 0x20]
mov eax, dword [esi + 0x40]
mov eax, dword [eax + 0x3c]
call edi
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebx + 0x10]
cmp dword [eax + 0x34], 1
sbb eax, eax
inc eax
and eax, 0x7f
mov esi, dword [eax*4 + 0x6c8f7c]
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0x3c]
call esi
mov edx, dword [ebp - 0x24]
pop eax
call fcn.00409520
jb 0x5d00dd
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x40]
mov dword [eax + 0x1c], ebx
xor eax, eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x40]
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x40], ebx
jmp 0x5d02ab
mov esi, dword [ebx + 0x10]
cmp dword [esi + 0x34], 1
sbb eax, eax
inc eax
and eax, 0x7f
mov edi, dword [eax*4 + 0x6c8f7c]
lea edx, [ebp - 0x28]
mov eax, dword [esi + 0x44]
mov eax, dword [eax + 0x3c]
call edi
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebx + 0x10]
cmp dword [eax + 0x34], 1
sbb eax, eax
inc eax
and eax, 0x7f
mov esi, dword [eax*4 + 0x6c8f7c]
lea edx, [ebp - 0x2c]
mov eax, dword [ebx + 0x3c]
call esi
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.00409520
ja 0x5d0143
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x44]
mov dword [eax + 0x20], ebx
mov dword [ebx + 0x1c], eax
xor eax, eax
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x44], ebx
jmp 0x5d02ab
mov esi, dword [ebx + 0x10]
cmp dword [esi + 0x34], 1
sbb eax, eax
inc eax
and eax, 0x7f
mov edi, dword [eax*4 + 0x6c8f7c]
lea edx, [ebp - 0x30]
mov eax, dword [ebx + 0x3c]
call edi
mov edx, dword [ebp - 0x30]
mov eax, dword [esi + 0x10]
call fcn.0059ac38
test eax, eax
je 0x5d0208
mov esi, dword [eax + 0x28]
mov eax, dword [ebx + 0x10]
cmp dword [eax + 0x34], 1
sbb eax, eax
inc eax
and eax, 0x7f
mov edi, dword [eax*4 + 0x6c8f7c]
lea edx, [ebp - 0x34]
mov eax, dword [ebx + 0x3c]
call edi
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x10]
cmp dword [eax + 0x34], 1
sbb eax, eax
inc eax
and eax, 0x7f
mov edi, dword [eax*4 + 0x6c8f7c]
lea edx, [ebp - 0x38]
mov eax, dword [esi + 0x3c]
call edi
mov edx, dword [ebp - 0x38]
pop eax
call fcn.00409520
jae 0x5d01e2
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], esi
mov dword [esi + 0x1c], ebx
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x5d01d7
mov dword [eax + 0x20], ebx
jmp 0x5d02ab
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x40], ebx
jmp 0x5d02ab
mov dword [ebx + 0x1c], esi
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x20], eax
mov dword [esi + 0x20], ebx
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x5d01fd
mov dword [eax + 0x1c], ebx
jmp 0x5d02ab
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x44], ebx
jmp 0x5d02ab
mov eax, dword [ebx + 0x10]
mov esi, dword [eax + 0x40]
jmp 0x5d0213
mov esi, dword [esi + 0x20]
test esi, esi
je 0x5d025e
mov eax, dword [ebx + 0x10]
cmp dword [eax + 0x34], 1
sbb eax, eax
inc eax
and eax, 0x7f
mov edi, dword [eax*4 + 0x6c8f7c]
lea edx, [ebp - 0x3c]
mov eax, dword [esi + 0x3c]
call edi
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebx + 0x10]
cmp dword [eax + 0x34], 1
sbb eax, eax
inc eax
and eax, 0x7f
mov edi, dword [eax*4 + 0x6c8f7c]
lea edx, [ebp - 0x40]
mov eax, dword [ebx + 0x3c]
call edi
mov edx, dword [ebp - 0x40]
pop eax
call fcn.00409520
jbe 0x5d0210
test esi, esi
je 0x5d0282
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], esi
mov dword [esi + 0x1c], ebx
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x5d027a
mov dword [eax + 0x20], ebx
jmp 0x5d02ab
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x40], ebx
jmp 0x5d02ab
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x44]
mov dword [eax + 0x20], ebx
mov dword [ebx + 0x1c], eax
xor eax, eax
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x44], ebx
jmp 0x5d02ab
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
xor eax, eax
mov dword [ebx + 0x1c], eax
xor eax, eax
mov dword [ebx + 0x20], eax
mov dword [ebp - 0x10], ebx
mov esi, dword [ebx + 0x10]
cmp dword [esi + 0x34], 1
sbb eax, eax
inc eax
and eax, 0x7f
mov edi, dword [eax*4 + 0x6c8f7c]
lea edx, [ebp - 0x44]
mov eax, dword [ebx + 0x3c]
call edi
mov edx, dword [ebp - 0x44]
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x10]
call fcn.0059ac9c
mov dword [ebx + 0x84], eax
cmp dword [ebx + 0x84], 0
je 0x5d031d
mov dword [ebx + 0x80], 0xffffffff
jmp 0x5d031d
mov eax, dword [esi + 0x44]
test eax, eax
je 0x5d030d
mov dword [eax + 0x20], ebx
mov dword [ebx + 0x1c], eax
xor eax, eax
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x44], ebx
jmp 0x5d031d
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
xor eax, eax
mov dword [ebx + 0x1c], eax
xor eax, eax
mov dword [ebx + 0x20], eax
cmp dword [ebx + 0x30], 0
jl 0x5d032e
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x3c]
call fcn.005d1ea0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d0350
lea eax, [ebp - 0x44]
mov edx, 0xa
call fcn.00408760
ret