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

Disassembly:
push 0xffffffffffffffff
push 0x100faf4a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov eax, dword [esp + 0x68]
push ebp
xor ebp, ebp
cmp eax, ebp
push esi
push edi
mov dword [esp + 0xc], ebp
je 0x100062ba
cmp dword [eax], ebp
je 0x100062ba
mov ecx, dword [0x1012acbc]
cmp eax, ecx
jne 0x10005eee
mov esi, dword [0x1012ad08]
cmp esi, 0x1012acf8
jne 0x10005eaa
push 0x3000
call fcn.1009a622
add esp, 4
mov esi, eax
mov edi, 0x200
mov eax, esi
push 0x1012acf8
push eax
add esi, 0x18
call fcn.10005a30
dec edi
jne 0x10005e91
mov esi, dword [0x1012ad08]
mov edx, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
lea eax, [esi + 0x14]
lea ecx, [esi + 0x10]
mov dword [edx + 0x14], edi
mov eax, dword [eax]
mov ecx, dword [ecx]
push 0x1012ad10
push esi
mov dword [eax + 0x10], ecx
call fcn.10005a30
mov dword [esp + 0x1c], esi
cmp esi, ebp
mov dword [esp + 0x6c], 1
je 0x10006354
lea edx, [esp + 0x74]
push edx
push str._ROOT_
jmp 0x1000632c
cmp dword [0x1012acb8], 8
jne 0x10005f66
mov esi, dword [0x1012ad08]
cmp esi, 0x1012acf8
jne 0x10005f32
push 0x3000
call fcn.1009a622
add esp, 4
mov esi, eax
mov edi, 0x200
mov eax, esi
push 0x1012acf8
push eax
add esi, 0x18
call fcn.10005a30
dec edi
jne 0x10005f19
mov esi, dword [0x1012ad08]
push esi
call fcn.10005a10
push 0x1012ad10
push esi
call fcn.10005a30
mov dword [esp + 0x1c], esi
cmp esi, ebp
mov dword [esp + 0x6c], 2
je 0x10006354
lea eax, [esp + 0x74]
push eax
push str.....
jmp 0x1000632c
mov esi, dword [0x1012acb8]
inc esi
cmp ecx, ebp
mov dword [0x1012acb8], esi
mov dword [esp + 0x1c], ecx
jne 0x10005f80
mov dword [0x1012acbc], eax
mov esi, dword [0x1012ad08]
cmp esi, 0x1012acf8
mov ecx, dword [eax + 0xc]
push ebx
mov ebx, dword [eax]
mov dword [esp + 0x18], ecx
jne 0x10005fc5
push 0x3000
call fcn.1009a622
add esp, 4
mov esi, eax
mov edi, 0x200
mov eax, esi
push 0x1012acf8
push eax
add esi, 0x18
call fcn.10005a30
dec edi
jne 0x10005fac
mov esi, dword [0x1012ad08]
push esi
call fcn.10005a10
push 0x1012ad10
push esi
call fcn.10005a30
mov dword [esp + 0x1c], esi
cmp esi, ebp
mov dword [esp + 0x70], 3
je 0x10005fff
lea edx, [esp + 0x78]
push edx
push 0x1010d888
mov ecx, esi
call fcn.10007210
inc dword [0x1012ad34]
mov ebp, esi
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x2c]
xor eax, eax
test edx, edx
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x14], eax
jle 0x10006256
add ecx, 0x30
mov dword [esp + 0x78], ecx
test eax, eax
je 0x10006032
push 0x2c
push 1
mov ecx, ebp
call fcn.10001dfb
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
mov eax, dword [ecx]
dec eax
cmp eax, 4
ja case.0x10006044.4
jmp dword [eax*4 + 0x1000636c]
mov edi, dword [ebx]
push 0x18
call fcn.100045d0
mov esi, eax
mov dword [esp + 0x24], esi
test esi, esi
mov dword [esp + 0x70], 4
je 0x10006087
push edi
lea edx, [esp + 0x2c]
push edx
call fcn.10055ab0
or dword [esp + 0x10], 1
push eax
mov ecx, esi
mov byte [esp + 0x74], 5
call fcn.100047a0
mov esi, eax
jmp 0x10006089
xor esi, esi
test byte [esp + 0x10], 1
mov dword [esp + 0x70], 0xffffffff
je 0x100060a8
and dword [esp + 0x10], 0xfffffffe
push 1
lea ecx, [esp + 0x2c]
call fcn.10001fd0
mov eax, dword [0x10100440]
push eax
jmp 0x1000611c
mov ecx, dword [ebx]
push 0x18
mov dword [esp + 0x20], ecx
call fcn.100045d0
mov esi, eax
mov dword [esp + 0x24], esi
test esi, esi
mov dword [esp + 0x70], 7
je 0x100060f4
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.10055ba0
or dword [esp + 0x10], 2
push eax
mov ecx, esi
mov byte [esp + 0x74], 8
call fcn.100047a0
mov esi, eax
jmp 0x100060f6
xor esi, esi
test byte [esp + 0x10], 2
mov dword [esp + 0x70], 0xffffffff
je 0x10006115
and dword [esp + 0x10], 0xfffffffd
push 1
lea ecx, [esp + 0x3c]
call fcn.10001fd0
mov ecx, dword [0x10100440]
push ecx
push 0
push esi
mov ecx, ebp
call fcn.10003290
test esi, esi
je 0x10006230
mov edx, dword [0x1012ad34]
dec edx
push 1
mov ecx, esi
mov dword [0x1012ad34], edx
call fcn.10001fd0
push esi
call fcn.10004660
jmp 0x10006230
mov eax, dword [ebx]
test eax, eax
je 0x100061b8
push eax
lea edx, [esp + 0x5c]
push 0x22
push edx
call fcn.10008c00
push 0x22
push eax
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x88], 0xa
call fcn.10008d30
add esp, 0x18
mov ecx, dword [0x10100440]
push ecx
push 0
push eax
mov ecx, ebp
mov byte [esp + 0x7c], 0xb
call fcn.10003290
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 0xa
call fcn.10001fd0
push 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], 0xffffffff
call fcn.10001fd0
jmp 0x10006230
or ecx, 0xffffffff
xor eax, eax
mov edi, 0x1010d884
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x1010d884
jmp 0x10006229
mov edx, dword [ebx]
push edx
call fcn.10005e30
mov esi, eax
mov eax, dword [0x10100440]
push eax
push 0
push esi
mov ecx, ebp
call fcn.10003290
test esi, esi
je 0x10006230
mov eax, dword [0x1012ad34]
dec eax
push 1
mov ecx, esi
mov dword [0x1012ad34], eax
call fcn.10001fd0
push esi
call fcn.10005a10
push 0x1012acf8
push esi
call fcn.10005a30
jmp 0x10006230
or ecx, 0xffffffff
xor eax, eax
mov edi, 0x1010d880
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x1010d880
mov ecx, ebp
call fcn.10007970
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x2c]
inc eax
add edi, 4
add ebx, 4
cmp eax, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x78], edi
jl 0x10006023
mov edx, dword [0x10100440]
sub edx, dword [ebp + 8]
cmp edx, 1
pop ebx
ja 0x1000626a
call fcn.1008cc67
mov esi, dword [ebp + 8]
push 0
inc esi
push esi
mov ecx, ebp
call fcn.1000229a
test al, al
je 0x1000628f
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 4]
add eax, ecx
push esi
mov ecx, ebp
mov byte [eax], 0x5d
call fcn.10004020
mov eax, dword [0x1012acb8]
mov ecx, dword [esp + 0x1c]
dec eax
pop edi
mov dword [0x1012acb8], eax
pop esi
mov eax, ebp
mov dword [0x1012acbc], ecx
pop ebp
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 4
mov esi, dword [0x1012ad08]
cmp esi, 0x1012acf8
jne 0x100062f5
push 0x3000
call fcn.1009a622
add esp, 4
mov esi, eax
mov edi, 0x200
mov eax, esi
push 0x1012acf8
push eax
add esi, 0x18
call fcn.10005a30
dec edi
jne 0x100062dc
mov esi, dword [0x1012ad08]
mov edx, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
lea eax, [esi + 0x14]
lea ecx, [esi + 0x10]
mov dword [edx + 0x14], edi
mov eax, dword [eax]
mov ecx, dword [ecx]
push 0x1012ad10
push esi
mov dword [eax + 0x10], ecx
call fcn.10005a30
mov dword [esp + 0x20], esi
cmp esi, ebp
mov dword [esp + 0x6c], ebp
je 0x10006354
lea edx, [esp + 0x74]
push edx
push str._NULL_
mov ecx, esi
call fcn.10007210
mov eax, dword [0x1012ad34]
inc eax
pop edi
mov dword [0x1012ad34], eax
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 4
mov ecx, dword [esp + 0x64]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x64
ret 4