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

Disassembly:
push 0xffffffffffffffff
push 0x100f01fa
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
push esi
cmp eax, ebp
push edi
mov dword [esp + 0xc], ebp
je 0x1000680f
cmp dword [eax], ebp
je 0x1000680f
mov ecx, dword [0x10115c9c]
cmp eax, ecx
jne 0x1000642e
mov esi, dword [0x10115cd8]
cmp esi, 0x10115cc8
jne 0x100063ea
push 0x3000
call fcn.100ddcb0
add esp, 4
mov esi, eax
mov edi, 0x200
mov eax, esi
push 0x10115cc8
push eax
add esi, 0x18
call fcn.10005ed0
dec edi
jne 0x100063d1
mov esi, dword [0x10115cd8]
mov edx, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
lea ecx, [esi + 0x10]
lea eax, [esi + 0x14]
mov dword [edx + 0x14], edi
push 0x10115ce8
mov eax, dword [eax]
mov ecx, dword [ecx]
push esi
mov dword [eax + 0x10], ecx
call fcn.10005ed0
mov dword [esp + 0x1c], esi
cmp esi, ebp
mov dword [esp + 0x6c], 1
je 0x100068a9
lea edx, [esp + 0x74]
push edx
push str._ROOT_
jmp 0x10006881
cmp dword [0x10115d04], 8
jne 0x100064a6
mov esi, dword [0x10115cd8]
cmp esi, 0x10115cc8
jne 0x10006472
push 0x3000
call fcn.100ddcb0
add esp, 4
mov esi, eax
mov edi, 0x200
mov eax, esi
push 0x10115cc8
push eax
add esi, 0x18
call fcn.10005ed0
dec edi
jne 0x10006459
mov esi, dword [0x10115cd8]
push esi
call fcn.10005eb0
push 0x10115ce8
push esi
call fcn.10005ed0
mov dword [esp + 0x1c], esi
cmp esi, ebp
mov dword [esp + 0x6c], 2
je 0x100068a9
lea eax, [esp + 0x74]
push eax
push str.....
jmp 0x10006881
mov esi, dword [0x10115d04]
mov dword [esp + 0x1c], ecx
inc esi
cmp ecx, ebp
mov dword [0x10115d04], esi
jne 0x100064c0
mov dword [0x10115c9c], eax
mov esi, dword [0x10115cd8]
mov ecx, dword [eax + 0xc]
push ebx
mov ebx, dword [eax]
cmp esi, 0x10115cc8
mov dword [esp + 0x18], ecx
jne 0x10006505
push 0x3000
call fcn.100ddcb0
add esp, 4
mov esi, eax
mov edi, 0x200
mov eax, esi
push 0x10115cc8
push eax
add esi, 0x18
call fcn.10005ed0
dec edi
jne 0x100064ec
mov esi, dword [0x10115cd8]
push esi
call fcn.10005eb0
push 0x10115ce8
push esi
call fcn.10005ed0
mov dword [esp + 0x1c], esi
cmp esi, ebp
mov dword [esp + 0x70], 3
je 0x10006544
lea edx, [esp + 0x78]
mov ecx, esi
push edx
push 0x10108a68
call fcn.10007580
mov eax, dword [0x10115ce0]
mov ebp, esi
inc eax
mov dword [0x10115ce0], eax
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x14], eax
mov edx, dword [ecx + 0x2c]
test edx, edx
jle 0x100067a9
add ecx, 0x30
mov dword [esp + 0x78], ecx
test eax, eax
je 0x10006577
push 0x2c
push 1
mov ecx, ebp
call fcn.10001e6e
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
mov eax, dword [ecx]
dec eax
cmp eax, 4
ja case.0x10006589.4
jmp dword [eax*4 + 0x100068c0]
mov edi, dword [ebx]
push 0x18
call fcn.10004a60
mov esi, eax
mov dword [esp + 0x24], esi
test esi, esi
mov dword [esp + 0x70], 4
je 0x100065cc
lea edx, [esp + 0x28]
push edi
push edx
call fcn.10057890
or dword [esp + 0x10], 1
push eax
mov ecx, esi
mov byte [esp + 0x74], 5
call fcn.10004c40
mov esi, eax
jmp 0x100065ce
xor esi, esi
mov al, byte [esp + 0x10]
mov dword [esp + 0x70], 0xffffffff
test al, 1
je 0x100065f4
mov ecx, dword [esp + 0x10]
push 1
and ecx, 0xfffffffe
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x2c]
call fcn.10002043
mov eax, dword [0x100f7360]
push eax
jmp 0x1000666f
mov ecx, dword [ebx]
push 0x18
mov dword [esp + 0x20], ecx
call fcn.10004a60
mov esi, eax
mov dword [esp + 0x24], esi
test esi, esi
mov dword [esp + 0x70], 7
je 0x10006640
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x38]
push edx
push eax
call fcn.10057980
or dword [esp + 0x10], 2
push eax
mov ecx, esi
mov byte [esp + 0x74], 8
call fcn.10004c40
mov esi, eax
jmp 0x10006642
xor esi, esi
mov al, byte [esp + 0x10]
mov dword [esp + 0x70], 0xffffffff
test al, 2
je 0x10006668
mov ecx, dword [esp + 0x10]
push 1
and ecx, 0xfffffffd
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x3c]
call fcn.10002043
mov ecx, dword [0x100f7360]
push ecx
push 0
push esi
mov ecx, ebp
call fcn.100036fa
test esi, esi
je 0x10006783
mov edx, dword [0x10115ce0]
push 1
dec edx
mov ecx, esi
mov dword [0x10115ce0], edx
call fcn.10002043
push esi
call fcn.10004af0
jmp 0x10006783
mov eax, dword [ebx]
test eax, eax
je 0x1000670b
push eax
lea edx, [esp + 0x5c]
push 0x22
push edx
call fcn.10009340
push 0x22
push eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x84], 0xa
push eax
call fcn.10009470
add esp, 0x18
mov ecx, dword [0x100f7360]
mov byte [esp + 0x70], 0xb
push ecx
push 0
push eax
mov ecx, ebp
call fcn.100036fa
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 0xa
call fcn.10002043
push 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], 0xffffffff
call fcn.10002043
jmp 0x10006783
mov edi, 0x10108a64
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x10108a64
jmp 0x1000677c
mov edx, dword [ebx]
push edx
call fcn.10006370
mov esi, eax
mov eax, dword [0x100f7360]
push eax
push 0
push esi
mov ecx, ebp
call fcn.100036fa
test esi, esi
je 0x10006783
mov eax, dword [0x10115ce0]
push 1
dec eax
mov ecx, esi
mov dword [0x10115ce0], eax
call fcn.10002043
push esi
call fcn.10005eb0
push 0x10115cc8
push esi
call fcn.10005ed0
jmp 0x10006783
mov edi, 0x10108a60
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x10108a60
mov ecx, ebp
call fcn.10007fb0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x78]
inc eax
mov edx, dword [ecx + 0x2c]
add edi, 4
add ebx, 4
cmp eax, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x78], edi
jl 0x10006568
mov edx, dword [0x100f7360]
mov ecx, dword [ebp + 8]
sub edx, ecx
pop ebx
cmp edx, 1
ja 0x100067bf
call fcn.100d0305
mov esi, dword [ebp + 8]
push 0
inc esi
mov ecx, ebp
push esi
call fcn.1000234e
test al, al
je 0x100067e4
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
add eax, ecx
push esi
mov ecx, ebp
mov byte [eax], 0x5d
call fcn.100044f0
mov eax, dword [0x10115d04]
mov ecx, dword [esp + 0x1c]
dec eax
pop edi
mov dword [0x10115d04], eax
mov eax, ebp
pop esi
mov dword [0x10115c9c], ecx
pop ebp
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 4
mov esi, dword [0x10115cd8]
cmp esi, 0x10115cc8
jne 0x1000684a
push 0x3000
call fcn.100ddcb0
add esp, 4
mov esi, eax
mov edi, 0x200
mov eax, esi
push 0x10115cc8
push eax
add esi, 0x18
call fcn.10005ed0
dec edi
jne 0x10006831
mov esi, dword [0x10115cd8]
mov edx, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
lea ecx, [esi + 0x10]
lea eax, [esi + 0x14]
mov dword [edx + 0x14], edi
push 0x10115ce8
mov eax, dword [eax]
mov ecx, dword [ecx]
push esi
mov dword [eax + 0x10], ecx
call fcn.10005ed0
mov dword [esp + 0x20], esi
cmp esi, ebp
mov dword [esp + 0x6c], ebp
je 0x100068a9
lea edx, [esp + 0x74]
push edx
push str._NULL_
mov ecx, esi
call fcn.10007580
mov eax, dword [0x10115ce0]
pop edi
inc eax
mov dword [0x10115ce0], 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