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

Disassembly:
push 0xffffffffffffffff
push 0x100ffbfa
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 0x100064ba
cmp dword [eax], ebp
je 0x100064ba
mov ecx, dword [0x101314bc]
cmp eax, ecx
jne 0x100060ee
mov esi, dword [0x101314f8]
cmp esi, 0x101314e8
jne 0x100060aa
push 0x3000
call fcn.1009e2c0
add esp, 4
mov esi, eax
mov edi, 0x200
mov eax, esi
push 0x101314e8
push eax
add esi, 0x18
call fcn.10005bc0
dec edi
jne 0x10006091
mov esi, dword [0x101314f8]
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 0x10131508
push esi
mov dword [eax + 0x10], ecx
call fcn.10005bc0
mov dword [esp + 0x1c], esi
cmp esi, ebp
mov dword [esp + 0x6c], 1
je 0x10006554
lea edx, [esp + 0x74]
push edx
push str._ROOT_
jmp 0x1000652c
cmp dword [0x10131524], 8
jne 0x10006166
mov esi, dword [0x101314f8]
cmp esi, 0x101314e8
jne 0x10006132
push 0x3000
call fcn.1009e2c0
add esp, 4
mov esi, eax
mov edi, 0x200
mov eax, esi
push 0x101314e8
push eax
add esi, 0x18
call fcn.10005bc0
dec edi
jne 0x10006119
mov esi, dword [0x101314f8]
push esi
call fcn.10005ba0
push 0x10131508
push esi
call fcn.10005bc0
mov dword [esp + 0x1c], esi
cmp esi, ebp
mov dword [esp + 0x6c], 2
je 0x10006554
lea eax, [esp + 0x74]
push eax
push str.....
jmp 0x1000652c
mov esi, dword [0x10131524]
inc esi
cmp ecx, ebp
mov dword [0x10131524], esi
mov dword [esp + 0x1c], ecx
jne 0x10006180
mov dword [0x101314bc], eax
mov esi, dword [0x101314f8]
cmp esi, 0x101314e8
mov ecx, dword [eax + 0xc]
push ebx
mov ebx, dword [eax]
mov dword [esp + 0x18], ecx
jne 0x100061c5
push 0x3000
call fcn.1009e2c0
add esp, 4
mov esi, eax
mov edi, 0x200
mov eax, esi
push 0x101314e8
push eax
add esi, 0x18
call fcn.10005bc0
dec edi
jne 0x100061ac
mov esi, dword [0x101314f8]
push esi
call fcn.10005ba0
push 0x10131508
push esi
call fcn.10005bc0
mov dword [esp + 0x1c], esi
cmp esi, ebp
mov dword [esp + 0x70], 3
je 0x100061ff
lea edx, [esp + 0x78]
push edx
push 0x10112aa8
mov ecx, esi
call fcn.10007420
inc dword [0x10131500]
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 0x10006456
add ecx, 0x30
mov dword [esp + 0x78], ecx
test eax, eax
je 0x10006232
push 0x2c
push 1
mov ecx, ebp
call fcn.10001e72
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
mov eax, dword [ecx]
dec eax
cmp eax, 4
ja case.0x10006244.4
jmp dword [eax*4 + 0x1000656c]
mov edi, dword [ebx]
push 0x18
call fcn.10004760
mov esi, eax
mov dword [esp + 0x24], esi
test esi, esi
mov dword [esp + 0x70], 4
je 0x10006287
push edi
lea edx, [esp + 0x2c]
push edx
call fcn.10056fb0
or dword [esp + 0x10], 1
push eax
mov ecx, esi
mov byte [esp + 0x74], 5
call fcn.10004930
mov esi, eax
jmp 0x10006289
xor esi, esi
test byte [esp + 0x10], 1
mov dword [esp + 0x70], 0xffffffff
je 0x100062a8
and dword [esp + 0x10], 0xfffffffe
push 1
lea ecx, [esp + 0x2c]
call fcn.10002047
mov eax, dword [0x10105430]
push eax
jmp 0x1000631c
mov ecx, dword [ebx]
push 0x18
mov dword [esp + 0x20], ecx
call fcn.10004760
mov esi, eax
mov dword [esp + 0x24], esi
test esi, esi
mov dword [esp + 0x70], 7
je 0x100062f4
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.100570a0
or dword [esp + 0x10], 2
push eax
mov ecx, esi
mov byte [esp + 0x74], 8
call fcn.10004930
mov esi, eax
jmp 0x100062f6
xor esi, esi
test byte [esp + 0x10], 2
mov dword [esp + 0x70], 0xffffffff
je 0x10006315
and dword [esp + 0x10], 0xfffffffd
push 1
lea ecx, [esp + 0x3c]
call fcn.10002047
mov ecx, dword [0x10105430]
push ecx
push 0
push esi
mov ecx, ebp
call fcn.10003308
test esi, esi
je 0x10006430
mov edx, dword [0x10131500]
dec edx
push 1
mov ecx, esi
mov dword [0x10131500], edx
call fcn.10002047
push esi
call fcn.100047f0
jmp 0x10006430
mov eax, dword [ebx]
test eax, eax
je 0x100063b8
push eax
lea edx, [esp + 0x5c]
push 0x22
push edx
call fcn.10008e30
push 0x22
push eax
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x88], 0xa
call fcn.10008f60
add esp, 0x18
mov ecx, dword [0x10105430]
push ecx
push 0
push eax
mov ecx, ebp
mov byte [esp + 0x7c], 0xb
call fcn.10003308
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 0xa
call fcn.10002047
push 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], 0xffffffff
call fcn.10002047
jmp 0x10006430
or ecx, 0xffffffff
xor eax, eax
mov edi, 0x10112aa4
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x10112aa4
jmp 0x10006429
mov edx, dword [ebx]
push edx
call fcn.10006030
mov esi, eax
mov eax, dword [0x10105430]
push eax
push 0
push esi
mov ecx, ebp
call fcn.10003308
test esi, esi
je 0x10006430
mov eax, dword [0x10131500]
dec eax
push 1
mov ecx, esi
mov dword [0x10131500], eax
call fcn.10002047
push esi
call fcn.10005ba0
push 0x101314e8
push esi
call fcn.10005bc0
jmp 0x10006430
or ecx, 0xffffffff
xor eax, eax
mov edi, 0x10112aa0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x10112aa0
mov ecx, ebp
call fcn.10007b80
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 0x10006223
mov edx, dword [0x10105430]
sub edx, dword [ebp + 8]
cmp edx, 1
pop ebx
ja 0x1000646a
call fcn.1009090d
mov esi, dword [ebp + 8]
push 0
inc esi
push esi
mov ecx, ebp
call fcn.10002311
test al, al
je 0x1000648f
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 4]
add eax, ecx
push esi
mov ecx, ebp
mov byte [eax], 0x5d
call fcn.100040f0
mov eax, dword [0x10131524]
mov ecx, dword [esp + 0x1c]
dec eax
pop edi
mov dword [0x10131524], eax
pop esi
mov eax, ebp
mov dword [0x101314bc], ecx
pop ebp
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 4
mov esi, dword [0x101314f8]
cmp esi, 0x101314e8
jne 0x100064f5
push 0x3000
call fcn.1009e2c0
add esp, 4
mov esi, eax
mov edi, 0x200
mov eax, esi
push 0x101314e8
push eax
add esi, 0x18
call fcn.10005bc0
dec edi
jne 0x100064dc
mov esi, dword [0x101314f8]
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 0x10131508
push esi
mov dword [eax + 0x10], ecx
call fcn.10005bc0
mov dword [esp + 0x20], esi
cmp esi, ebp
mov dword [esp + 0x6c], ebp
je 0x10006554
lea edx, [esp + 0x74]
push edx
push str._NULL_
mov ecx, esi
call fcn.10007420
mov eax, dword [0x10131500]
inc eax
pop edi
mov dword [0x10131500], 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