Function at 0x10041a85
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10041c84
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x10041c60
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
push 0x14
push 0
push 0x10780
push 0xea3c
call fcn.10024cab
pop ecx
pop ecx
call eax
push eax
push 0x10780
push 0x1002f
call fcn.10024cab
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 4]
push eax
push 0x2e5c
push 0x4ce9
push 1
push 0x73c8
push 0x63be
call fcn.100414ba
add esp, 0x20
push 0x6cb9
push 0x310f
push 1
lea eax, [ebp - 4]
push eax
push 1
push 0x64b3
push 1
call fcn.100415b0
add esp, 0x1c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and dword [eax + 8], 0
push 0x67a
push 0x3d2e
push 1
push 1
push 0x7613
lea eax, [ebp - 4]
push eax
push 0x5f19
push 0xd6e
call fcn.1004176c
add esp, 0x20
push 4
push 0x1000
mov eax, dword [ebp - 0xc]
push dword [eax + 0x50]
mov eax, dword [ebp - 8]
push dword [eax]
push 0x10780
push 0x10ed1
call fcn.10024cab
pop ecx
pop ecx
call eax
push 4
push 0x1000
mov eax, dword [ebp - 0xc]
push dword [eax + 0x54]
mov eax, dword [ebp - 8]
push dword [eax]
push 0x10780
push 0x10ed1
call fcn.10024cab
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0xc]
add eax, dword [ecx + 0x54]
push eax
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push dword [eax]
call fcn.10024d5a
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push 0x3173
lea eax, [ebp - 0x14]
push eax
push 0x5211
push 1
push 0x5ee6
push 1
call fcn.1004186e
add esp, 0x20
push 0x3f74
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 8]
push eax
push 0x4472
push 0x4df4
push 0x19eb
push 1
push 0x207f
call fcn.10041976
add esp, 0x24
jmp 0x10041c82
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x10041ca8
lea eax, [ebp + 0x24]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x10041c9e
push 0
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x10041ca8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esp, ebp
pop ebp
ret