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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1001846e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov eax, dword [edi + 8]
mov dword [esp + 0x10], ebx
test eax, eax
jne 0x10005ddd
xor eax, eax
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebx + 0x70]
call fcn.10002bf0
mov al, byte [esp + 0xc]
xor esi, esi
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], al
call fcn.10002ea0
push 1
lea ecx, [esp + 0x10]
push 1
push ecx
mov ecx, edi
mov dword [esp + 0xd0], esi
mov byte [esp + 0x18], 0xa
call fcn.10002df0
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x10006196
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xa8]
sub edx, esi
mov ecx, edi
push edx
push esi
push eax
call fcn.10002830
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xd0], 1
call fcn.10002bf0
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0xc8], 0
call fcn.10002ea0
push 1
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x18], 0x5d
call fcn.10004e60
cmp eax, 0xffffffff
je 0x10006170
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x28]
sub edx, eax
inc eax
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10002830
mov eax, dword [esp + 0x20]
mov byte [esp + 0xc4], 2
test eax, eax
jbe 0x10005f3b
lea esi, [eax - 1]
cmp eax, esi
jb 0x10005f3b
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10005f3b
lea ecx, [esp + 0x18]
call fcn.1000a1a0
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + esi], 0xd
jne 0x10005f3b
mov eax, dword [esp + 0x20]
or edi, 0xffffffff
lea esi, [eax - 1]
cmp eax, esi
jae 0x10005eea
call fcn.1000ca7c
lea ecx, [esp + 0x18]
call fcn.10003b90
mov eax, dword [esp + 0x20]
sub eax, esi
cmp eax, 0xffffffff
jae 0x10005f04
mov edi, eax
test edi, edi
jbe 0x10005f3b
mov edx, dword [esp + 0x1c]
sub eax, edi
push eax
lea ecx, [edx + esi]
lea edx, [ecx + edi]
push edx
push ecx
call fcn.1000d150
mov esi, dword [esp + 0x2c]
add esp, 0xc
sub esi, edi
lea ecx, [esp + 0x18]
push 0
push esi
call fcn.10003000
test al, al
je 0x10005f3b
push esi
lea ecx, [esp + 0x1c]
call fcn.10002fe0
cmp dword [ebx + 0x14], 1
jne 0x10005f99
mov eax, dword [ebx + 0xa0]
mov esi, dword [eax]
cmp esi, eax
je 0x10005f99
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
test eax, eax
jne 0x10005f5c
mov eax, 0x10019280
push ecx
push 0
push eax
lea ecx, [esp + 0x24]
call fcn.10002df0
test eax, eax
jge 0x10005f7b
mov esi, dword [esi]
mov eax, dword [ebx + 0xa0]
cmp esi, eax
jne 0x10005f4d
jmp 0x10005f99
mov edi, 0x1014d5f0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x1014d5f0
lea ecx, [esp + 0x20]
call fcn.10004ed0
push 1
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x18], 0x5b
call fcn.10002df0
mov esi, eax
cmp esi, 0xffffffff
je 0x10006153
push 1
lea ecx, [esp + 0x10]
push esi
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x18], 0x5d
call fcn.10002df0
mov dword [esp + 0x40], eax
sub eax, esi
push eax
lea edx, [esp + 0x7c]
push esi
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], eax
call fcn.10002830
mov eax, dword [eax + 4]
test eax, eax
jne 0x10005ff7
mov eax, 0x10019280
lea ecx, [esp + 0x48]
lea edx, [esp + 0x58]
push ecx
push edx
push str.__lf:_lf_
push eax
call fcn.1000d8ce
add esp, 0x10
lea ecx, [esp + 0x78]
mov edi, eax
push 1
call fcn.10002ea0
cmp edi, 2
jne 0x10006081
fld qword [esp + 0x58]
fmul qword [0x10019298]
fadd qword [esp + 0x48]
fmul qword [0x10019290]
call fcn.1000d11c
mov dword [esp + 0x64], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x6c]
call fcn.1000a080
lea ecx, [esp + 0x64]
lea edx, [esp + 0x50]
push ecx
push edx
lea ecx, [ebx + 0x154]
mov byte [esp + 0xcc], 3
call fcn.1000a220
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0xc8], 2
call fcn.10002ea0
jmp 0x1000612e
lea eax, [esi + 1]
push 6
lea ecx, [esp + 0x9c]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.10002830
mov edx, eax
mov edi, str.offset
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0xc4], 4
repne scasb al, byte es:[edi]
mov eax, dword [edx + 8]
not ecx
dec ecx
push ecx
push str.offset
push eax
push 0
mov ecx, edx
call fcn.100041c0
test eax, eax
push 1
lea ecx, [esp + 0x9c]
sete bl
mov byte [esp + 0xc8], 2
call fcn.10002ea0
test bl, bl
je 0x1000612a
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x88]
push ecx
push esi
push edx
lea ecx, [esp + 0x34]
call fcn.10002830
mov eax, dword [eax + 4]
test eax, eax
jne 0x10006106
mov eax, 0x10019280
mov ecx, dword [esp + 0x10]
add ecx, 0x10
push ecx
push str._offset:_ld_
push eax
call fcn.1000d8ce
add esp, 0xc
lea ecx, [esp + 0x88]
push 1
call fcn.10002ea0
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
push 1
lea eax, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x18], 0x5b
call fcn.10002df0
mov esi, eax
cmp esi, 0xffffffff
jne 0x10005fbb
mov ecx, dword [esp + 0x14]
push 1
mov byte [esp + 0xc8], 0
lea esi, [ecx + 1]
lea ecx, [esp + 0x1c]
call fcn.10002ea0
mov edi, dword [ebp + 8]
mov edx, dword [esp + 0x14]
push 1
inc edx
lea eax, [esp + 0x10]
push edx
push eax
mov ecx, edi
mov byte [esp + 0x18], 0xa
call fcn.10002df0
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x10005e27
lea ecx, [esp + 0x40]
lea esi, [ebx + 0x164]
push ecx
mov ecx, esi
mov ebx, dword [esi + 4]
xor edi, edi
call fcn.10002ef0
mov edx, dword [eax]
push ebx
lea eax, [esp + 0x40]
push edx
push eax
mov ecx, esi
call fcn.1000a7d0
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx + 0x158]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x38], eax
je 0x10006205
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x50]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edi
call fcn.1000a5b0
lea ecx, [esp + 0x38]
call fcn.100035b0
mov eax, dword [esp + 0x38]
mov ecx, dword [ebx + 0x158]
inc edi
cmp eax, ecx
jne 0x100061d1
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10006229
mov cl, byte [eax - 1]
dec eax
test cl, cl
je 0x10006220
cmp cl, 0xff
je 0x10006220
dec cl
mov byte [eax], cl
jmp 0x10006229
push eax
call fcn.1000cba7
add esp, 4
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4