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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
sub esp, 0x44
test eax, eax
jne 0x10015fc7
mov eax, 0x80004003
jmp 0x10016819
and dword [eax], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
inc ebx
mov byte [ebp - 2], 0
lea eax, [edi - 0x24]
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.10019aff
mov esi, dword [ebp + 0x10]
lea eax, [edi - 0x20]
cmp dword [eax], 0
mov dword [ebp - 0x20], eax
je 0x1001600f
cmp dword [eax], esi
je 0x1001600f
push 0x507
push 0
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_RedrawWindow]
lea ecx, [edi - 0x24]
call fcn.10019cdc
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10016814
lea eax, [edi - 0x20]
cmp dword [eax], esi
je 0x10016035
push esi
lea ecx, [edi - 0x24]
call fcn.100188f5
mov byte [ebp - 2], 1
lea eax, [edi - 0x20]
cmp dword [edi + 0xa8], 0
jne 0x1001605b
mov ecx, eax
call fcn.100188f5
test eax, eax
je 0x1001604d
push 0xf
jmp 0x1001604f
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [edi + 0xa8], eax
push dword [ebp + 0x24]
mov esi, dword [ebp + 0x18]
lea eax, [ebp - 1]
push eax
mov eax, dword [ebp + 0xc]
push esi
push 0x1002a218
push eax
mov byte [ebp - 1], 0
call fcn.10016afc
mov ebx, eax
add esp, 0x14
mov eax, esi
test ebx, ebx
js 0x100164a1
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
test esi, esi
jne 0x10016097
xor ebx, ebx
jmp 0x100164a1
lea ecx, [edi + 0x3c]
push esi
call fcn.100188f5
xor eax, eax
lea ebx, [edi + 0x40]
mov dword [ebp - 8], eax
mov eax, dword [esi]
push ebx
push 0x1002a74c
push esi
mov esi, dword [eax]
mov ecx, esi
call dword [0x100293c4]
call esi
mov edx, dword [ebx]
test edx, edx
je 0x10016438
mov eax, dword [edx]
lea ecx, [edi + 0x7c]
push ecx
push 1
push edx
mov esi, dword [eax + 0x58]
mov ecx, esi
call dword [0x100293c4]
call esi
test dword [edi + 0x7c], 0x20000
je 0x1001611f
mov eax, dword [edi - 0x24]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x100293c4]
lea ecx, [edi - 0x24]
call esi
push eax
lea ecx, [ebp - 0x10]
call fcn.100188f5
mov eax, dword [ebx]
push dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x100293c4]
call esi
lea ecx, [ebp - 0x10]
call fcn.10012533
push dword [ebx]
lea ecx, [ebp - 0x10]
call fcn.100188f5
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1001615d
cmp dword [ebp + 0x14], 0
mov ecx, dword [eax]
je 0x1001614b
push dword [ebp + 0x14]
mov esi, dword [ecx + 0x14]
mov ecx, esi
push eax
call dword [0x100293c4]
call esi
jmp 0x10016159
mov esi, dword [ecx + 0x20]
mov ecx, esi
push eax
call dword [0x100293c4]
call esi
mov ebx, eax
jmp 0x10016195
cmp dword [ebp + 0x14], 0
je 0x100161db
push dword [ebx]
lea ecx, [ebp - 0x1c]
call fcn.100188f5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1001618a
mov ecx, dword [eax]
push dword [ebp + 0x14]
push eax
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x100293c4]
call esi
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x1c]
call fcn.10012533
mov ebx, dword [ebp - 8]
test ebx, ebx
jns 0x100161d8
test dword [edi + 0x7c], 0x20000
je 0x100161b7
mov eax, dword [edi + 0x40]
push 0
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x100293c4]
call esi
and dword [edi + 0x7c], 0
lea ecx, [edi + 0x40]
call fcn.10019ae3
lea ecx, [edi + 0x3c]
call fcn.10019ae3
lea ecx, [ebp - 0x10]
call fcn.10012533
jmp 0x1001649e
lea ebx, [edi + 0x40]
lea ecx, [ebp - 0x10]
call fcn.10012533
test dword [edi + 0x7c], 0x20000
jne 0x10016225
mov eax, dword [edi - 0x24]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x100293c4]
lea ecx, [edi - 0x24]
call esi
push eax
lea ecx, [ebp - 0x1c]
call fcn.100188f5
mov eax, dword [ebx]
push dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x100293c4]
call esi
lea ecx, [ebp - 0x1c]
call fcn.10012533
mov ecx, dword [ebx]
lea edx, [edi + 0x4c]
and dword [edi + 0x6c], 0
push edx
push 0x1002a75c
mov eax, dword [ecx]
push ecx
mov esi, dword [eax]
mov ecx, esi
call dword [0x100293c4]
call esi
mov dword [ebp - 8], eax
test eax, eax
jns 0x10016299
mov eax, dword [ebx]
lea edx, [edi + 0x4c]
push edx
push 0x1002a76c
push eax
mov ecx, dword [eax]
mov esi, dword [ecx]
mov ecx, esi
call dword [0x100293c4]
call esi
mov dword [ebp - 8], eax
test eax, eax
js 0x1001626f
push 3
jmp 0x1001629b
mov eax, dword [ebx]
lea edx, [edi + 0x4c]
push edx
push 0x1002a77c
push eax
mov ecx, dword [eax]
mov esi, dword [ecx]
mov ecx, esi
call dword [0x100293c4]
call esi
mov dword [ebp - 8], eax
test eax, eax
js 0x1001629f
mov dword [edi + 0x6c], 1
jmp 0x1001629f
push 7
pop eax
mov dword [edi + 0x6c], eax
mov eax, dword [edi - 0x24]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x100293c4]
lea ecx, [edi - 0x24]
call esi
push eax
lea ecx, [ebp - 0xc]
call fcn.100188f5
mov ecx, dword [ebx]
lea eax, [edi + 0x78]
push eax
push dword [ebp - 0xc]
mov esi, dword [ecx]
push ecx
mov ecx, dword [esi + 0x4c]
call dword [0x100293c4]
call dword [esi + 0x4c]
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x100162f0
push dword [ebp - 0xc]
mov esi, dword [eax]
push 0
push 1
push eax
mov ecx, dword [esi + 0x1c]
call dword [0x100293c4]
call dword [esi + 0x1c]
mov eax, dword [ebx]
push 0
push str.AXWIN
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x100293c4]
call esi
test dword [edi + 0x7c], 0x400
jne 0x10016430
lea esi, [edi + 0x90]
push esi
push dword [edi - 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [edi + 0x98]
lea ecx, [edi + 0x88]
sub eax, dword [esi]
lea esi, [edi + 0x80]
mov dword [ecx], eax
mov eax, dword [edi + 0x9c]
sub eax, dword [edi + 0x94]
push esi
push ecx
mov dword [edi + 0x8c], eax
call fcn.100188f5
mov eax, dword [ebx]
push esi
push 1
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x44]
mov ecx, esi
call dword [0x100293c4]
call esi
mov ebx, eax
test ebx, ebx
jns 0x1001637d
lea ecx, [ebp - 0xc]
call fcn.10012533
jmp 0x1001649e
mov eax, dword [edi + 0x40]
lea edx, [edi + 0x80]
push edx
push 1
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x48]
mov ecx, esi
call dword [0x100293c4]
call esi
mov ebx, eax
test ebx, ebx
js 0x10016370
lea esi, [edi + 0x88]
push esi
lea eax, [edi + 0x80]
push eax
call fcn.100188f5
mov eax, dword [esi]
add eax, dword [edi + 0x90]
mov dword [edi + 0x98], eax
mov eax, dword [edi + 0x94]
add eax, dword [edi + 0x8c]
mov dword [edi + 0x9c], eax
mov eax, dword [edi - 0x24]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x100293c4]
lea ecx, [edi - 0x24]
call esi
push eax
lea ecx, [ebp - 0x1c]
call fcn.100188f5
mov eax, dword [edi + 0x40]
lea ecx, [edi + 0x90]
push ecx
push dword [edi - 0x20]
mov esi, dword [eax]
push 0
push dword [ebp - 0x1c]
mov ecx, dword [esi + 0x2c]
push 0
push 0xfffffffffffffffb
push eax
call dword [0x100293c4]
call dword [esi + 0x2c]
push 0x507
push 0
push 0
push dword [edi - 0x20]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_RedrawWindow]
lea ecx, [ebp - 0x1c]
call fcn.10012533
lea ecx, [ebp - 0xc]
call fcn.10012533
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
and dword [ebp - 0x14], 0
push ecx
push 0x1002a320
mov esi, dword [eax]
push eax
mov ecx, dword [esi]
call dword [0x100293c4]
call dword [esi]
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x1001649b
mov eax, dword [ebp - 0x18]
mov ebx, dword [esi]
mov eax, dword [eax]
mov edi, dword [eax + 0x10]
mov ecx, edi
call dword [0x100293c4]
mov ecx, dword [ebp - 0x18]
call edi
mov ecx, dword [ebx + 0xc]
push eax
push esi
call dword [0x100293c4]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10016498
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100293c4]
call esi
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 8]
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0x1c]
lea ecx, [edi + 0x5c]
mov dword [ebp - 0x24], ecx
mov edi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test ebx, ebx
js 0x100167e0
mov ecx, dword [eax]
test ecx, ecx
je 0x10016558
cmp dword [ebp + 0x20], 0
je 0x10016558
mov esi, dword [ecx]
lea eax, [ebp - 0x10]
and dword [ebp - 0x10], 0
and dword [ebp - 0x14], 0
push eax
push 0x1002a364
push ecx
mov ecx, dword [esi]
call dword [0x100293c4]
call dword [esi]
test eax, eax
js 0x10016527
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x24]
mov esi, dword [eax]
push eax
mov ecx, dword [esi + 0x10]
call dword [0x100293c4]
call dword [esi + 0x10]
test eax, eax
js 0x10016527
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add ecx, 0x70
push ecx
mov esi, dword [eax]
push dword [ebp + 0x20]
push eax
mov ecx, dword [esi + 0x14]
call dword [0x100293c4]
call dword [esi + 0x14]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1001653e
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100293c4]
call esi
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10016555
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100293c4]
call esi
mov eax, dword [ebp + 0x18]
cmp byte [ebp - 1], 0
je 0x100167d7
cmp dword [eax], 0
je 0x100167d7
mov esi, dword [ebp - 0x20]
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x300000
jne 0x1001658b
mov eax, dword [ebp + 8]
or dword [eax + 0xbc], 8
jmp 0x100165b6
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xffcfffff
push eax
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x37
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [ebp + 0x18]
mov esi, dword [esi]
test esi, esi
je 0x100165cf
mov eax, dword [esi]
push esi
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x100293c4]
call edi
mov edi, dword [ebp + 0xc]
push 0x6d
pop ecx
push 0x4d
movzx eax, word [edi]
pop edx
cmp ax, dx
je 0x100165e9
cmp ax, cx
jne 0x1001670b
movzx eax, word [edi + 2]
cmp eax, 0x53
je 0x100165fb
cmp eax, 0x73
jne 0x1001670b
movzx eax, word [edi + 4]
cmp eax, 0x48
je 0x1001660d
cmp eax, 0x68
jne 0x1001670b
movzx eax, word [edi + 6]
cmp eax, 0x54
je 0x1001661f
cmp eax, 0x74
jne 0x1001670b
movzx eax, word [edi + 8]
cmp ax, dx
je 0x10016631
cmp ax, cx
jne 0x1001670b
movzx eax, word [edi + 0xa]
cmp eax, 0x4c
je 0x10016643
cmp eax, 0x6c
jne 0x1001670b
cmp word [edi + 0xc], 0x3a
jne 0x1001670b
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
lea eax, [eax*2 - 0xe]
push eax
push 0x42
mov dword [ebp - 0x24], eax
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x10016701
and dword [ebp - 0x10], 0
push ebx
call dword [sym.imp.kernel32.dll_GlobalLock]
mov edx, dword [ebp - 0x24]
lea ecx, [edi + 0xe]
push edx
push ecx
push edx
push eax
call fcn.100188f5
add esp, 0x10
push ebx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
lea eax, [ebp - 0x10]
push eax
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, eax
test ebx, ebx
js 0x100166f9
mov edi, dword [esi]
lea eax, [ebp - 0x14]
and dword [ebp - 0x14], 0
push eax
push 0x1002a350
mov ecx, dword [edi]
push esi
call dword [0x100293c4]
call dword [edi]
mov ebx, eax
test ebx, ebx
js 0x100166e2
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
mov edi, dword [ecx + 0x14]
mov ecx, edi
call dword [0x100293c4]
call edi
mov ebx, eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100166f9
mov ecx, dword [eax]
push eax
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0x100293c4]
call edi
mov eax, dword [ebp - 0x10]
jmp 0x100167ab
mov ebx, 0x8007000e
jmp 0x100167bf
mov edi, dword [esi]
lea eax, [ebp - 0xc]
and dword [ebp - 0xc], 0
push eax
push 0x1002a618
mov ecx, dword [edi]
push esi
call dword [0x100293c4]
call dword [edi]
cmp dword [ebp - 0xc], 0
je 0x100167bf
push 0x10
lea eax, [ebp - 0x34]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
xor eax, eax
lea ecx, [ebp - 0x44]
mov word [ebp - 0x44], ax
mov eax, dword [ebp + 0xc]
push eax
call fcn.100188f5
mov eax, dword [ebp - 0xc]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
mov edi, dword [ecx + 0xa4]
mov ecx, edi
call dword [0x100293c4]
call edi
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x34]
push ecx
push ecx
push ecx
mov edi, dword [eax]
push ecx
lea ecx, [ebp - 0x44]
push ecx
mov edi, dword [edi + 0xd0]
mov ecx, edi
push eax
call dword [0x100293c4]
call edi
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x100167bf
mov ecx, dword [eax]
push eax
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0x100293c4]
call edi
test esi, esi
je 0x100167d3
mov eax, dword [esi]
push esi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100293c4]
call esi
test ebx, ebx
js 0x100167e0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 0
jne 0x10016814
mov esi, dword [ebp - 0x18]
mov ecx, esi
call fcn.10019aff
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
je 0x10016814
push 0x507
push 0
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_RedrawWindow]
test ebx, ebx
jns 0x10016814
cmp byte [ebp - 2], 0
je 0x10016814
mov ecx, esi
call fcn.10019cdc
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x20