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

Disassembly:
sub esp, 0xd0
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xe4]
mov dword [esp + 0x28], ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x1c]
mov esi, eax
lea ecx, [esp + 0xb8]
push 0
mov edx, esi
mov al, byte [esi + 0xc]
mov byte [esp + 0x1b], al
call fcn.10008ab0
mov ecx, dword [esi]
add esp, 4
add ecx, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esp + 0x18], ecx
test ebx, ebx
jle 0x100159f2
lea ebp, [ebx + 0x10]
push ebp
call dword [sym.imp.msvcrt.dll_malloc]
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
test esi, esi
je 0x100159f2
push ebx
push dword [esp + 0x1c]
mov byte [esi + ebx], 0
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x100159ff
mov esi, 0x1005bdb0
xor ebp, ebp
mov dword [esp + 0x2c], esi
xor ebx, ebx
mov al, byte [esp + 0x17]
mov ecx, edi
mov byte [esp + 0xb4], al
mov eax, dword [edi]
mov byte [esp + 0xb5], 1
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebp
call dword [eax + 0x20]
mov esi, eax
lea ecx, [esp + 0xb8]
push 0
mov edx, esi
mov al, byte [esi + 0xc]
mov byte [esp + 0x1b], al
call fcn.10008ab0
mov ecx, dword [esi]
add esp, 4
add ecx, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esp + 0x18], ecx
test ebx, ebx
jle 0x10015a80
lea esi, [ebx + 0x10]
push esi
call dword [sym.imp.msvcrt.dll_malloc]
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x10015a80
push ebx
push dword [esp + 0x1c]
mov byte [ebx + ebp], 0
push ebp
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x10015a89
xor esi, esi
mov ebp, 0x1005bdb0
xor ebx, ebx
mov edx, dword [0x1005be08]
mov al, byte [esp + 0x17]
push ecx
lea ecx, [esp + 0xac]
mov byte [esp + 0x49], 1
lea edx, [edx + 0x11f8]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], esi
mov byte [esp + 0x48], al
call fcn.1000aa90
add esp, 4
test al, al
jne 0x10015e13
mov edx, dword [0x1005be08]
push ecx
lea ecx, [esp + 0x3c]
lea edx, [edx + 0x11f8]
call fcn.1000aa90
add esp, 4
test al, al
jne 0x10015e13
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x34]
call eax
test al, al
je 0x10015b65
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov esi, eax
test esi, esi
je 0x10015b48
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x28]
call edx
test al, 1
je 0x10015b3e
test dword [esi + 0x390], 0x400
je 0x10015b3e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.100358f0
mov cl, al
mov eax, 1
dec ecx
shl eax, cl
test dword [esi + 0x394], eax
jne 0x10015e13
push edi
mov ecx, esi
call fcn.10034920
jmp 0x10015b5d
mov eax, dword [esp + 0x28]
cmp dword [eax + 0x1c78], 0
je 0x10015b65
push edi
mov ecx, eax
call fcn.10015e60
test al, al
jne 0x10015e15
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
mov esi, eax
lea ecx, [esp + 0x38]
mov edx, esi
call fcn.100397c0
sub esp, 0x14
lea ecx, [esp + 0x4c]
call fcn.10004c10
mov ebx, dword [esp + 0x38]
test eax, eax
js 0x10015bae
lea ecx, [eax + 8]
mov eax, dword [esp + 0x3c]
sub eax, ecx
lea edx, [esp + 0x18]
push ecx
push eax
lea ecx, [ebx + ecx*2]
call fcn.1000b0b0
add esp, 8
test eax, eax
cmovne esi, dword [esp + 0x18]
cmp ebx, 0x1005bdb0
je 0x10015bc3
lea eax, [ebx - 4]
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov ecx, esi
call fcn.100388c0
mov esi, eax
test esi, esi
jne 0x10015bd7
xor al, al
jmp 0x10015e15
push 0xf
lea eax, [esp + 0xc4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x10015c3a
mov ecx, str.AOL_Child
lea eax, [esp + 0xc0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10015c1e
test dx, dx
je 0x10015c1a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10015c1e
add eax, 4
add ecx, 4
test dx, dx
jne 0x10015bf8
xor eax, eax
jmp 0x10015c23
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10015c3a
push eax
push str.__oxFrame.class__
push eax
push esi
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
cmovne esi, eax
call fcn.1002ce50
test al, al
je 0x10015e15
xor eax, eax
mov dword [esp + 0x24], 0xc
lea ecx, [esp + 0x24]
mov dword [esp + 0x48], eax
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x50], eax
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x58], eax
push ecx
mov dword [esp + 0x60], eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x64], eax
xor ebx, ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], eax
mov eax, dword [edi]
push ecx
lea ecx, [esp + 0x58]
push ecx
mov eax, dword [eax + 8]
mov ecx, edi
call eax
test al, al
je 0x10015deb
push dword [esp + 0x1c]
push dword [esp + 0xa8]
push dword [esp + 0xa8]
push dword [esp + 0xa8]
push dword [esp + 0xa8]
push dword [esp + 0xa8]
push dword [esp + 0xa8]
push dword [esp + 0xa8]
push dword [esp + 0xa8]
push dword [esp + 0xa8]
push dword [esp + 0xa8]
push dword [esp + 0xa8]
push dword [esp + 0xa8]
push dword [esp + 0x68]
push dword [esp + 0x68]
push ebx
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push dword [esp + 0x90]
push ebx
push ebx
push ebx
push esi
push ebx
push dword [esp + 0xac]
push dword [esp + 0xb4]
call dword [0x1005be20]
mov ebx, eax
neg ebx
lea edi, [esp + 0xa8]
mov esi, 0x18
sbb bl, bl
and bl, 2
mov edi, edi
push dword [edi - 4]
lea edi, [edi - 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
sub esi, 1
jne 0x10015e00
jmp 0x10015e17
mov al, 1
mov bl, al
cmp ebp, 0x1005bdb0
je 0x10015e2d
push ebp
mov ebp, dword [sym.imp.msvcrt.dll_free]
call ebp
add esp, 4
jmp 0x10015e33
mov ebp, dword [sym.imp.msvcrt.dll_free]
mov eax, dword [esp + 0x2c]
cmp eax, 0x1005bdb0
je 0x10015e44
push eax
call ebp
add esp, 4
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0xd0
ret 4