Function at 0x10049380
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ddcb0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x1024e014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x20]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebx + 0x24]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x58], ecx
test eax, eax
jne 0x100493f6
mov eax, 0x80004003
jmp 0x10049798
lea ecx, [esi - 0x24]
mov dword [eax], 0
mov edi, 1
mov byte [ebp - 0x4a], 0
call fcn.10048bc0
mov ecx, dword [esi - 0x20]
mov eax, dword [ebp - 0x30]
test ecx, ecx
je 0x10049436
cmp ecx, eax
je 0x10049436
push 0x507
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_RedrawWindow]
lea ecx, [esi - 0x24]
call fcn.1004b5d0
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10049796
mov eax, dword [ebp - 0x30]
cmp dword [esi - 0x20], eax
je 0x1004945a
push eax
lea ecx, [esi - 0x24]
call fcn.1004b560
mov byte [ebp - 0x4a], 1
cmp dword [esi + 0xa8], 0
jne 0x100494a2
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push 8
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x10049494
push str.32770
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x10049494
push 0xf
jmp 0x10049496
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [esi + 0xa8], eax
push dword [ebp - 0x58]
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x49]
push eax
push dword [ebp - 0x2c]
mov byte [ebp - 0x49], 0
call fcn.10047fe0
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x30], edi
test edi, edi
js 0x100494db
push dword [ebp - 0x50]
mov eax, dword [ebp - 0x2c]
lea ecx, [esi - 0x24]
push 0
push dword [eax]
call fcn.1004afb0
mov edi, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x1c]
lea edx, [esi + 0x5c]
movups xmm0, xmmword [eax]
movups xmmword [edx], xmm0
test edi, edi
js 0x10049765
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
test ecx, ecx
je 0x1004950e
cmp dword [ebp - 0x54], 0
je 0x1004950e
lea eax, [esi + 0x70]
push eax
push edx
mov edx, dword [ebp - 0x54]
call fcn.10046df0
mov eax, dword [ebp - 0x2c]
cmp byte [ebp - 0x49], 0
je 0x1004975b
cmp dword [eax], 0
je 0x1004975b
push 0xfffffffffffffff0
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x300000
jne 0x1004953c
or dword [esi + 0xbc], 8
jmp 0x1004956d
push 0xfffffffffffffff0
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xffcfffff
push eax
push 0xfffffffffffffff0
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x37
push 0
push 0
push 0
push 0
push 0
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax]
test esi, esi
je 0x1004957c
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
cmp ecx, 0x4d
je 0x10049590
cmp ecx, 0x6d
jne 0x100496b3
movzx ecx, word [eax + 2]
cmp ecx, 0x53
je 0x100495a2
cmp ecx, 0x73
jne 0x100496b3
movzx ecx, word [eax + 4]
cmp ecx, 0x48
je 0x100495b4
cmp ecx, 0x68
jne 0x100496b3
movzx ecx, word [eax + 6]
cmp ecx, 0x54
je 0x100495c6
cmp ecx, 0x74
jne 0x100496b3
movzx ecx, word [eax + 8]
cmp ecx, 0x4d
je 0x100495d8
cmp ecx, 0x6d
jne 0x100496b3
movzx ecx, word [eax + 0xa]
cmp ecx, 0x4c
je 0x100495ea
cmp ecx, 0x6c
jne 0x100496b3
cmp word [eax + 0xc], 0x3a
jne 0x100496b3
mov ecx, eax
call fcn.10046c80
lea eax, [eax*2 - 0xe]
push eax
push 0x42
mov dword [ebp - 0x50], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x100496a9
push edi
mov dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x34]
add ecx, 0xe
push edx
push ecx
mov ecx, eax
call fcn.10046cb0
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x30]
push eax
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edi, eax
test edi, edi
js 0x1004969a
mov eax, dword [esi]
lea ecx, [ebp - 0x34]
push ecx
push 0x1020cfb0
push esi
mov dword [ebp - 0x34], 0
call dword [eax]
mov edi, eax
test edi, edi
js 0x1004967f
mov eax, dword [ebp - 0x34]
push dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov edi, eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x10049693
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x30]
jmp 0x1004972f
mov edi, 0x8007000e
jmp 0x10049740
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
push 0x1020d024
push esi
mov dword [ebp - 0x2c], 0
call dword [eax]
cmp dword [ebp - 0x2c], 0
je 0x10049725
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x48], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10046d90
mov eax, dword [ebp - 0x2c]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x48]
push edx
push edx
push edx
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x28]
push edx
push eax
call dword [ecx + 0xd0]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x28]
push eax
call edi
lea eax, [ebp - 0x48]
push eax
call edi
mov edi, dword [ebp - 0x30]
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10049739
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 3
test esi, esi
je 0x10049751
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
test edi, edi
js 0x10049765
cmp dword [esi + 0x3c], 0
jne 0x10049796
lea ecx, [esi - 0x24]
call fcn.10048bc0
mov eax, dword [esi - 0x20]
test eax, eax
je 0x10049796
push 0x507
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
test edi, edi
jns 0x10049796
cmp byte [ebp - 0x4a], 0
je 0x10049796
lea ecx, [esi - 0x24]
call fcn.1004b5d0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101d284b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x20