Function at 0x404cd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0xc0024
call fcn.00408120
mov eax, dword [0x41b188]
xor eax, esp
mov dword [esp + 0xc0020], eax
mov eax, dword [esp + 0xc0028]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xc003c]
push edi
mov edi, dword [esp + 0xc003c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc0044]
push eax
push edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x404d33
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x404d40
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x404f96
lea ecx, [esp + 0x2c]
push ecx
push 0xf003f
push 0
push str.SoftwareMicrosoftGDIPlus
push 0x80000001
call dword [0x41c22c]
mov ebx, dword [0x41c234]
mov ebp, eax
lea edx, [esp + 0x18]
push edx
neg ebp
lea eax, [esp + 0x40034]
push eax
sbb ebp, ebp
push 0
push 0
not ebp
and ebp, dword [esp + 0x3c]
push str.FontCachePath
push ebp
call ebx
cmp eax, 0xea
jne 0x404da7
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x40034]
push edx
push 0
push 0
push str.FontCachePath
push ebp
call ebx
test eax, eax
je 0x404db2
cmp eax, 0xea
jne 0x404df0
mov eax, dword [esp + 0x18]
shr eax, 1
lea edi, [esp + 0x40030]
mov word [esp + eax*2 + 0x40030], 0
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x404dd0
mov ecx, 0xc
mov esi, str.MicrosoftWindows_Mail
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebp
test esi, esi
je 0x404e4a
lea eax, [esp + 0x40030]
mov edx, esi
mov ecx, eax
sub edx, ecx
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x404e10
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404e24
sub eax, edx
sar eax, 1
push str.accountuser.oeaccount
lea edx, [esi + eax*2]
push 0x4169b4
push edx
call dword [0x41c2e8]
add esp, 0xc
mov eax, dword [esp + 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push esi
call fcn.004037c0
add esp, 0xc
test eax, eax
je 0x404e99
cmp byte [0x41d2d8], 0
jne 0x404e92
push 0
push 0x41d6e0
push 0x2b04
call fcn.004039a0
mov edx, dword [esp + 0x1c]
add esp, 4
push eax
push edx
call dword [0x41c2d0]
xor eax, eax
jmp 0x404f96
lea eax, [esp + 0x14]
push eax
push 0xf003f
push 0
push str.CLSID44da8435_b187_4dd6_8f32_9341eb7e4c3cLocalServer32
push 0x80000000
call dword [0x41c22c]
lea ecx, [esp + 0x1c]
push ecx
mov esi, eax
neg esi
lea edx, [esp + 0x34]
push edx
sbb esi, esi
push 0
push 0
not esi
and esi, dword [esp + 0x24]
push 0x4161c0
push esi
call ebx
mov edi, eax
cmp edi, 0xea
jne 0x404ef9
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0
push 0
push 0x4161c0
push esi
call ebx
mov edi, eax
push esi
call ebp
test edi, edi
je 0x404f0c
cmp edi, 0xea
jne 0x404f91
mov edx, dword [esp + 0x1c]
push 0x1040
lea eax, [esp + 0x20034]
push eax
lea ecx, [esp + 0x38]
shr edx, 1
push ecx
mov word [esp + edx*2 + 0x3c], 0
call dword [0x41c250]
test eax, eax
je 0x404f71
push 9
push 0
push 0
lea edx, [esp + 0x2003c]
push edx
push str.open
push 0
call dword [0x41c2c0]
cmp eax, 0x20
jg 0x404f91
push 0
push 0x41d6e0
push 0x2b03
call fcn.004039a0
add esp, 4
push eax
mov eax, dword [esp + 0x1c]
push eax
jmp 0x404f8b
push 0
push 0x41d6e0
push 0x2b03
call fcn.004039a0
mov ecx, dword [esp + 0x1c]
add esp, 4
push eax
push ecx
call dword [0x41c2d0]
mov eax, 1
mov ecx, dword [esp + 0xc0030]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00407b7c
add esp, 0xc0024
ret