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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003363c
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x10040150]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push esi
push edi
mov eax, dword [0x10040150]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
cmp dword [ebx + 8], 0
lea esi, [ebx + 8]
mov dword [esp + 0x20], ebx
mov dword [ebx + 0x10], eax
je 0x100066f9
mov eax, dword [esi]
test eax, eax
je 0x100066f9
mov dword [esi], 0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x108], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.0x_x
lea edi, [esp + 0x24]
call fcn.100061f0
mov eax, dword [ebx + 0xc]
add esp, 8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebx, dword [esp + 0x1c]
call fcn.10001d80
mov ecx, dword [esp + 0x20]
xor edi, edi
mov dword [ecx + 0xc], eax
cmp eax, edi
jne 0x10006760
cmp ebx, edi
je 0x10006760
push 0x8007000e
call fcn.10001e20
lea edx, [esp + 0x2c]
push 0x18
mov dword [esp + 0x2c], vtable.Rot.0
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], edi
call dword [sym.imp.mozalloc.dll_moz_xmalloc]
add esp, 4
cmp eax, edi
je 0x10006b29
mov dword [esp + 0x30], eax
mov dword [eax], eax
mov eax, dword [esp + 0x30]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x30]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x30]
mov byte [eax + 0x14], 1
mov ecx, dword [esp + 0x30]
mov byte [ecx + 0x15], 1
mov byte [esp + 0x108], 6
push str.zNT_3N5U_
call fcn.10002070
add esp, 4
cmp eax, edi
jne 0x100068c1
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov byte [esp + 0x108], 7
mov edi, esi
mov ecx, ebx
call fcn.10007ac0
mov edi, eax
mov dword [esp + 0x24], edi
mov byte [esp + 0x108], 6
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor ebx, ebx
cmp edi, ebx
jl 0x10006a61
cmp dword [esi], ebx
je 0x10006a61
mov dword [esp + 0x18], ebx
mov byte [esp + 0x108], 0xb
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x10006822
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x100354e0
push eax
mov eax, dword [ecx]
mov dword [esp + 0x24], ebx
call eax
mov esi, eax
cmp esi, ebx
jge 0x100068e0
mov byte [esp + 0x108], 6
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x1000685d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x108], 1
lea ecx, [esp + 0x28]
call fcn.100078d0
mov dword [esp + 0x108], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10006899
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.1001d07f
mov esp, ebp
pop ebp
ret 4
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebx, eax
mov dword [esp + 0x14], ebx
cmp ebx, edi
jne 0x100067ce
push 0x8007000e
call fcn.10001e20
push 0x10004aa0
push 0x10004ab0
push 2
push 0x10
lea ecx, [esp + 0x5c]
push ecx
call fcn.1001d95e
mov byte [esp + 0x108], 0xd
push str.rsxtsJEvo
call fcn.10002070
add esp, 4
cmp eax, ebx
jne 0x10006954
mov dword [esp + 0x14], ebx
mov byte [esp + 0x108], 0xe
lea edi, [esp + 0x14]
lea esi, [esp + 0x5c]
call fcn.100077f0
mov byte [esp + 0x108], 0xd
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebx
call edi
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jns 0x1000696f
push eax
call fcn.10001e20
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x10006915
push 0x8007000e
call fcn.10001e20
mov eax, 9
mov word [esp + 0x4c], ax
mov dword [esp + 0x54], esi
test esi, esi
je 0x10006989
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
push str.b77fwovIo78s
call fcn.10002070
add esp, 4
test eax, eax
jne 0x10006a42
xor esi, esi
mov dword [esp + 0x14], esi
mov byte [esp + 0x108], 0xf
mov ecx, dword [esp + 0x20]
push 0
push 2
lea ebx, [esp + 0x54]
mov edx, esi
call fcn.10006e60
mov ebx, eax
mov byte [esp + 0x108], 0xd
push esi
call edi
mov byte [esp + 0x108], 0xb
push 0x10004aa0
push 2
push 0x10
lea eax, [esp + 0x58]
push eax
call fcn.1001da21
mov byte [esp + 0x108], 6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100069ff
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x108], 1
lea ecx, [esp + 0x28]
call fcn.100078d0
mov dword [esp + 0x108], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10006a3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
jmp 0x1000689b
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
jne 0x100069a4
push 0x8007000e
call fcn.10001e20
push str.zNT_3N5U_
call fcn.10002070
add esp, 4
cmp eax, ebx
jne 0x10006b0a
xor edi, edi
mov dword [esp + 0x14], edi
mov bl, 8
mov byte [esp + 0x108], bl
push 3
push edi
lea edx, [esp + 0x74]
lea ecx, [esp + 0x78]
push edx
mov dword [esp + 0x78], ecx
call fcn.10001c90
mov byte [esp + 0x108], bl
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x70]
cmp eax, ecx
je 0x10006ab6
push eax
call fcn.1001d219
add esp, 4
mov byte [esp + 0x108], 6
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x108], 1
lea ecx, [esp + 0x28]
call fcn.100078d0
mov dword [esp + 0x108], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10006b01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
jmp 0x1000689b
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [esp + 0x14], edi
cmp edi, ebx
jne 0x10006a7c
push 0x8007000e
call fcn.10001e20
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x40], edi
call fcn.1001d74c
mov byte [esp + 0x108], 2
mov dword [esp + 0x40], vtable.std::bad_alloc.0
mov byte [esp + 0x108], 1
push 0x1003a550
lea edx, [esp + 0x44]
push edx
call fcn.1002098a
int3