Function at 0x419da0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x487b60
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x419ded
mov eax, 0x80004003
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov edi, dword [ebp + 8]
lea esi, [edi - 0x24]
mov dword [eax], 0
mov dword [esp + 0x14], 1
mov byte [esp + 0x13], 0
mov dword [esp + 0x28], esi
call fcn.0041abe0
mov eax, dword [edi - 0x20]
test eax, eax
lea ebx, [edi - 0x20]
mov dword [esp + 0x20], ebx
je 0x419e37
cmp eax, dword [ebp + 0x10]
je 0x419e37
push 0x507
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
call fcn.0041ae10
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41a12b
mov eax, dword [ebp + 0x10]
cmp dword [ebx], eax
je 0x419e60
mov ebx, eax
call fcn.0041a200
mov ebx, dword [esp + 0x20]
mov byte [esp + 0x13], 1
cmp dword [edi + 0xa8], 0
jne 0x419e85
push ebx
call fcn.0041a260
test eax, eax
je 0x419e77
push 0xf
jmp 0x419e79
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [edi + 0xa8], eax
mov ecx, dword [ebp + 0x24]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
push ecx
lea edx, [esp + 0x16]
mov ecx, ebx
mov byte [esp + 0x16], 0
call fcn.0041a2d0
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
jl 0x419ebc
mov edx, dword [ebp + 0x14]
mov eax, dword [edi]
push edx
push 0
push eax
call fcn.0041a520
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], 0
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
mov esi, dword [ebp + 8]
lea ecx, [esi + 0x5c]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
jl 0x41a0f5
mov eax, dword [edi]
test eax, eax
je 0x419efe
mov edx, dword [ebp + 0x20]
test edx, edx
je 0x419efe
add esi, 0x70
push esi
push ecx
push edx
call fcn.0041ab40
cmp byte [esp + 0x12], 0
je 0x41a0e5
cmp dword [edi], 0
je 0x41a0e5
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push edx
call esi
test eax, 0x300000
jne 0x419f36
mov eax, dword [ebp + 8]
or dword [eax + 0xbc], 8
jmp 0x419f6b
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push 0xfffffffffffffff0
push ecx
call esi
mov esi, dword [esp + 0x20]
mov edx, dword [esi]
and eax, 0xffcfffff
push eax
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi]
push 0x37
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [edi]
xor esi, esi
cmp edi, esi
mov dword [esp + 0x1c], edi
je 0x419f7f
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov dword [esp + 0x58], esi
movzx eax, word [ebx]
cmp ax, 0x4d
je 0x419f96
cmp ax, 0x6d
jne 0x41a151
movzx eax, word [ebx + 2]
cmp ax, 0x53
je 0x419faa
cmp ax, 0x73
jne 0x41a151
movzx eax, word [ebx + 4]
cmp ax, 0x48
je 0x419fbe
cmp ax, 0x68
jne 0x41a151
movzx eax, word [ebx + 6]
cmp ax, 0x54
je 0x419fd2
cmp ax, 0x74
jne 0x41a151
movzx eax, word [ebx + 8]
cmp ax, 0x4d
je 0x419fe6
cmp ax, 0x6d
jne 0x41a151
movzx eax, word [ebx + 0xa]
cmp ax, 0x4c
je 0x419ffa
cmp ax, 0x6c
jne 0x41a151
cmp word [ebx + 0xc], 0x3a
jne 0x41a151
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax - 0xe]
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x41a144
mov dword [esp + 0x24], 0
push esi
mov byte [esp + 0x5c], 1
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
lea ecx, [ebx + 0xe]
mov eax, edi
mov edx, edi
call fcn.00418d70
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0x24]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
mov dword [esp + 0x14], eax
jl 0x41a0b8
mov dword [esp + 0x18], 0
mov byte [esp + 0x58], 2
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x499c48
push eax
mov eax, dword [ecx]
call eax
test eax, eax
mov dword [esp + 0x14], eax
jl 0x41a0a3
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov dword [esp + 0x14], eax
mov byte [esp + 0x58], 1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41a0b8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x58], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x41a0cd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [esp + 0x1c]
test edi, edi
mov dword [esp + 0x58], 0xffffffff
je 0x41a0e5
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
cmp dword [esp + 0x14], 0
jl 0x41a0f5
mov edx, dword [ebp + 8]
cmp dword [edx + 0x3c], 0
jne 0x41a12b
mov esi, dword [esp + 0x28]
call fcn.0041abe0
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x41a12b
push 0x507
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
cmp dword [esp + 0x14], 0
jge 0x41a12b
cmp byte [esp + 0x13], 0
je 0x41a12b
call fcn.0041ae10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov dword [esp + 0x14], 0x8007000e
jmp 0x41a0cd
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x5c], 3
mov eax, dword [edi]
mov edx, dword [eax]
push 0x499ca8
push edi
call edx
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x41a1d8
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edi, ebx
lea esi, [esp + 0x3c]
mov byte [esp + 0x58], 4
call fcn.0041cd10
mov byte [esp + 0x58], 5
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa4]
push 0xffffffffffffffff
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push edx
push edx
push edx
mov edx, esi
push edx
push eax
mov eax, dword [ecx + 0xd0]
call eax
mov ecx, esi
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push ecx
call esi
lea edx, [esp + 0x2c]
push edx
call esi
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
test eax, eax
mov byte [esp + 0x58], 0
je 0x41a0d1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x41a0d1