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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [0x5f8638]
call fcn.0040b334
xor eax, eax
push ebp
push 0x6000de
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, byte [ebx + 4]
dec eax
sub al, 2
jb 0x5ffdea
mov ecx, dword [0x6180fc]
mov dl, 1
mov eax, dword [0x5f8858]
call fcn.0042ec3c
call fcn.00409974
mov edx, esi
mov eax, ebx
call fcn.005fe858
mov eax, dword [ebp + 0xc]
mov word [eax], 0
mov eax, dword [ebp + 0xc]
add eax, 0x32
mov edx, dword [0x404c28]
call fcn.0040d31c
mov eax, dword [ebp + 0xc]
mov word [eax + 0x1c], 0
mov eax, dword [ebp + 0xc]
mov word [eax + 0x1e], 0
mov eax, dword [ebp + 0xc]
mov word [eax + 0x20], 0
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [eax + 0x22], edx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [eax + 0x26], edx
lea eax, [esi + esi*2]
lea eax, [eax + eax*8]
mov edx, dword [ebx + 0x20]
lea eax, [edx + eax*2]
call fcn.005fd6f8
add eax, dword [ebx + 0x10]
adc edx, dword [ebx + 0x14]
push edx
push eax
mov eax, dword [ebx + 8]
call fcn.004b7c48
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 8]
mov ecx, 4
call fcn.005fc5a8
mov eax, dword [ebp - 0xc]
cmp eax, dword [0x618008]
je 0x5ffe8a
mov ecx, dword [0x618760]
mov dl, 1
mov eax, dword [0x5f8858]
call fcn.0042ec3c
call fcn.00409974
mov edx, dword [ebp + 0xc]
add edx, 2
mov eax, dword [ebx + 8]
mov ecx, 0x1a
call fcn.005fc5a8
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 0x18]
push eax
mov eax, dword [ebp + 0xc]
add eax, 0x2a
mov ecx, 1
mov edx, dword [0x404c28]
call fcn.0040d1f8
add esp, 4
mov ecx, dword [ebp + 0xc]
movzx ecx, word [ecx + 0x18]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x2a]
mov eax, dword [ebx + 8]
call fcn.005fc4f8
mov edi, dword [ebp + 0xc]
movzx edi, word [edi + 0x1a]
test di, di
jbe 0x5fff11
movzx eax, di
push eax
mov eax, dword [ebp + 0xc]
add eax, 0x2e
mov ecx, 1
mov edx, dword [0x404c28]
call fcn.0040d1f8
add esp, 4
mov ecx, dword [ebp + 0xc]
movzx ecx, word [ecx + 0x1a]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x2e]
mov eax, dword [ebx + 8]
call fcn.005fc4f8
mov eax, dword [ebp + 0xc]
xor edx, edx
call fcn.005fd85c
mov byte [ebp - 0xe], al
cmp word [0x61fc3a], 0
je 0x5fff47
mov eax, dword [ebp + 0xc]
push eax
movzx eax, byte [ebp - 0xe]
push eax
mov edx, dword [ebx + 8]
mov ecx, ebx
mov eax, dword [0x61fc3c]
call dword [0x61fc38]
mov dword [ebp - 0x14], eax
jmp 0x5fffbf
cmp dword [0x61fc40], 0
je 0x5fff6d
mov eax, dword [ebp + 0xc]
push eax
movzx eax, byte [ebp - 0xe]
push eax
mov edx, dword [ebx + 8]
mov ecx, ebx
mov eax, dword [0x61fc40]
mov edi, dword [eax]
call dword [edi + 0xc]
mov dword [ebp - 0x14], eax
jmp 0x5fffbf
cmp byte [ebp - 0xe], 0
je 0x5fffb9
cmp dword [ebx + 0x74], 0
je 0x5fffb9
cmp dword [ebx + 0x78], 0
jne 0x5fff96
mov ecx, dword [0x61805c]
mov dl, 1
mov eax, dword [0x5f8858]
call fcn.0042ec3c
call fcn.00409974
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebx + 0x78]
push eax
mov eax, dword [ebx + 0x74]
push eax
mov ecx, dword [ebx + 8]
mov dl, 1
mov eax, dword [0x5fcd40]
call fcn.00601184
mov dword [ebp - 0x14], eax
jmp 0x5fffbf
mov eax, dword [ebx + 8]
mov dword [ebp - 0x14], eax
lea edi, [esi + esi*2]
lea edi, [edi + edi*8]
mov eax, dword [ebx + 0x20]
movzx eax, byte [eax + edi*2 + 6]
mov byte [ebp - 0xd], al
movzx edx, byte [ebp - 0xd]
mov eax, ebx
call fcn.005fe754
movzx edx, byte [ebp - 0xd]
lea ecx, [ebp - 0x1c]
mov eax, dword [0x61fc30]
call fcn.00601d9c
add byte [eax], al