Function at 0x4024d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x444fb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x50]
push 0x4561b8
push eax
mov ecx, 0x45db18
mov dword [esp + 0x50], edi
call fcn.00405230
push 0x4561a8
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00403550
mov dword [esp + 0x50], edi
mov edx, dword [0x5e885c]
push str.HTMLDATA
push 0xcd
push edx
mov byte [esp + 0x54], 1
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, edi
je 0x40279a
mov eax, dword [0x5e885c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [0x5e885c]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
cmp ebp, edi
mov dword [esp + 0x18], ebp
je 0x4027a9
push ebp
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
cmp esi, edi
je 0x40279e
push 1
push edi
push 0xc
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x20], ebx
je 0x40279e
lea edx, [esp + 0x14]
push edx
push ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
cmp eax, edi
jl 0x40278f
push 0xffffffffffffffff
push esi
call fcn.00402460
mov esi, eax
add esp, 8
cmp esi, edi
je 0x4025c9
mov edi, dword [sym.imp.OLEAUT32.dll_VariantInit]
push esi
call edi
test eax, eax
ja 0x4025de
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
xor edi, edi
jmp 0x40279e
mov eax, dword [esp + 0x14]
push esi
mov word [eax], 8
call edi
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov ecx, dword [esp + 0x14]
push ebx
mov dword [ecx + 8], eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
xor edi, edi
push esi
cmp eax, edi
jge 0x402619
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x40279e
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [esp + 0x1c]
cmp eax, edi
jne 0x402647
mov edx, dword [esp + 0x54]
push 0xffffffffffffffeb
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [eax], edi
jmp 0x40268f
mov esi, dword [esp + 0x50]
lea edx, [esp + 0x50]
mov dword [esp + 0x50], edi
mov ecx, dword [eax]
push edx
push str._D_3
push eax
call dword [ecx]
cmp esi, edi
je 0x402668
mov eax, dword [esi]
push esi
call dword [eax + 8]
cmp dword [esp + 0x50], edi
je 0x40268f
mov ecx, dword [esp + 0x54]
push 0xffffffffffffffeb
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edx, dword [esp + 0x50]
push ebx
mov dword [eax], edx
mov eax, dword [esp + 0x54]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xec]
mov dword [esp + 0x14], edi
mov dword [esp + 0x54], edi
mov ebp, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov byte [esp + 0x48], 2
push 0
push 0
push 0xffffffffffffffff
push str.interactive
push 0
push 0
call ebp
mov esi, eax
dec esi
push esi
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
test edi, edi
je 0x4026ee
push esi
push edi
push 0xffffffffffffffff
push str.interactive
push 0
push 0
call ebp
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4026fa
push edi
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
sete al
jmp 0x4026fc
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x4026fa
mov al, 1
jmp 0x4026fc
xor al, al
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
test al, al
sete bl
call esi
test bl, bl
je 0x402780
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0x2710
mov dword [esp + 0x14], eax
jg 0x402780
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x54]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x58]
push 1
push 0xea60
push 0x2710
lea edx, [esp + 0x30]
push 0
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4026a2
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x54]
push eax
push ecx
push str._S____d_n
call fcn.0041e6c0
add esp, 0xc
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4026a2
mov ecx, dword [esp + 0x54]
push ecx
call esi
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
push ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
xor edi, edi
jmp 0x40279e
mov ebp, dword [esp + 0x18]
cmp ebp, edi
je 0x4027a9
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esp + 0x50]
mov byte [esp + 0x48], 0
cmp eax, edi
je 0x4027bc
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
cmp eax, edi
pop edi
pop esi
pop ebp
pop ebx
je 0x4027d6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret