Function at 0x1007b580
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10164388
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x38], ecx
xor ebx, ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov byte [esp + 0x54], 7
call fcn.10152999
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x30], eax
mov esi, dword [esp + 0x5c]
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
push esi
mov byte [esp + 0x5c], 8
call dword [eax + 0x3c]
test eax, eax
jl 0x1007b7eb
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x1007b7eb
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [edx + 0x3c]
test eax, eax
jl 0x1007b7d9
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1007b7d9
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [edx + 0x3c]
test eax, eax
jl 0x1007b7c7
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x1007b7c7
mov edx, dword [eax]
lea ecx, [esp + 0x28]
push ecx
push eax
call dword [edx + 0x170]
test eax, eax
jl 0x1007b7b5
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x1007b7b5
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0x1018ec3c
push eax
call dword [edx]
test eax, eax
jl 0x1007b7a3
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x1007b7a3
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x38], ebx
mov edx, dword [eax]
push eax
call dword [edx + 0x24]
test eax, eax
jl 0x1007b791
cmp dword [esp + 0x34], 2
jl 0x1007b791
mov eax, 1
mov word [esp + 0x3c], 3
mov dword [esp + 0x44], eax
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x40]
sub esp, 0x10
mov ebp, esp
mov dword [ebp], edx
mov dword [ebp + 4], esi
mov esi, dword [esp + 0x5c]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], esi
sub esp, 0x10
mov ebp, esp
mov dword [ebp], edx
mov edx, dword [esp + 0x64]
mov dword [ebp + 4], edx
mov dword [ebp + 8], eax
push ecx
mov byte [esp + 0x7c], 9
mov dword [ebp + 0xc], esi
call dword [edi + 0x2c]
test eax, eax
jl 0x1007b77d
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x1007b77d
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x1018ec4c
push eax
call dword [ecx]
test eax, eax
jl 0x1007b76b
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x1007b76b
mov dword [esp + 0x2c], ebx
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push eax
mov byte [esp + 0x5c], 0xa
call dword [ecx + 0xf0]
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
call fcn.10002470
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x1007b75b
mov dword [esp + 0x14], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [esp + 0x2c]
push edx
mov byte [esp + 0x58], 9
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x1007b77d
mov dword [esp + 0x24], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x58], 8
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x1007b7a3
mov dword [esp + 0x10], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x1007b7b5
mov dword [esp + 0x28], ebx
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x1007b7c7
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1007b7d9
mov dword [esp + 0x1c], ebx
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x1007b7eb
mov dword [esp + 0x20], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call fcn.10152999
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x3c], eax
call fcn.10152999
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x40], eax
call fcn.10152999
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x44], eax
call fcn.10152999
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x38]
push 0x1017deb4
push esi
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x60], 0xb
call fcn.100759c0
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x58], 0xc
call fcn.10002a40
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
mov byte [esp + 0x54], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1007b882
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x101ed7a8
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1007b890
sub eax, edx
push eax
push 0x101ed7a8
lea ecx, [esp + 0x4c]
call fcn.100025e0
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x44]
call fcn.10002a40
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x40]
call fcn.10002a40
sub esp, 0x10
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.10059210
mov ecx, 0x101c7ef0
call fcn.10078710
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0x54], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1007b904
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1007b922
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1007b940
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1007b95e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x54], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1007b981
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov byte [esp + 0x54], 6
je 0x1007b994
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov byte [esp + 0x54], 5
je 0x1007b9a7
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov byte [esp + 0x54], 4
je 0x1007b9ba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov byte [esp + 0x54], 3
je 0x1007b9cd
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov byte [esp + 0x54], 2
je 0x1007b9e0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov byte [esp + 0x54], 1
je 0x1007b9f3
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov byte [esp + 0x54], bl
je 0x1007ba05
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
mov dword [esp + 0x54], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1007ba2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret 8