Function at 0x40a008
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x4c
mov eax, 0x476e31
call fcn.0046964b
mov ebx, edx
mov dword [ebp - 0x3c], ebx
mov esi, 0x486b73
push esi
lea ecx, [ebp - 0x48]
call fcn.00401668
xor edi, edi
push esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], edi
call fcn.00401668
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00401668
push esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00401668
push 1
push ebx
mov byte [ebp - 4], 3
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x40404
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
call esi
cdq
sub eax, edx
sar eax, 1
sub eax, 0x15e
push 1
mov dword [ebp - 0x20], eax
call esi
cdq
sub eax, edx
sar eax, 1
sub eax, 0x19a
push edi
mov dword [ebp - 0x1c], eax
call esi
cdq
sub eax, edx
sar eax, 1
add eax, 0x15e
push 1
mov dword [ebp - 0x18], eax
call esi
cdq
sub eax, edx
sar eax, 1
add eax, 0x19a
push edi
mov dword [ebp - 0x14], eax
call esi
mov dword [ebp - 0x34], eax
push 1
call esi
push 0xc
mov dword [ebp - 0x44], eax
call fcn.0041e8b2
pop ecx
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x40a0db
mov ecx, eax
call fcn.00401fdd
mov esi, eax
jmp 0x40a0dd
mov esi, edi
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.ransomePlainPath
call fcn.00401668
push ecx
mov ecx, esp
push str.Computer_Information
mov byte [ebp - 4], 5
call fcn.00401668
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0040210f
push ecx
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.ransomeEncPath
call fcn.00401668
push ecx
mov ecx, esp
push str.Computer_Information
mov byte [ebp - 4], 7
call fcn.00401668
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.0040210f
push str.NULL
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.00409b23
test eax, eax
je 0x40a16b
push str.NULL
lea ecx, [ebp - 0x30]
call fcn.00409b23
test eax, eax
jne 0x40a185
push 0x486b73
lea ecx, [ebp - 0x38]
call fcn.00401712
push 0x486b73
lea ecx, [ebp - 0x30]
call fcn.00401712
test esi, esi
je 0x40a191
push ecx
mov ecx, esi
call fcn.00408aaf
lea eax, [ebp - 0x40]
push eax
push ebx
mov dword [ebp - 0x40], edi
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], esi
push edi
mov byte [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x4883a4
mov ebx, eax
push 0x68
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x40a2e7
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40a2e7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x40a2e7
push dword [ebp - 0x28]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push 0x42
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40a25f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x40a258
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push ebx
call fcn.0041dda0
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
push edi
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x40a251
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
test eax, eax
je 0x40a251
push ecx
push dword [ebp - 0x24]
mov ecx, eax
call fcn.00409ce9
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x44]
mov esi, dword [ebp - 0x34]
push esi
push ecx
push ecx
push edi
lea ecx, [ebp - 0x50]
call fcn.00409cb2
push 0x4a12e4
lea ecx, [ebp - 0x2c]
call fcn.00401dc6
lea eax, [ebp - 0x20]
cmp esi, 0x500
jl 0x40a295
vmovss xmm0, dword [0x48a800]
push 0x28
jmp 0x40a29f
vmovss xmm0, dword [0x48a7fc]
push 0x21
sub esp, 0xc
vmovss dword [esp + 4], xmm0
vmovss xmm0, dword [0x48a7f8]
vmovss dword [esp], xmm0
push pe_nt_image_headers32
push eax
push ecx
mov ecx, dword [ebp - 0x2c]
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.00401f3d
add eax, 0x10
mov dword [esi], eax
mov esi, dword [ebp - 0x3c]
mov ecx, esi
call fcn.0040a388
add esp, 0x1c
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov esi, dword [ebp - 0x50]
push esi
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00401253
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00401253
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00401253
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx - 0x10]
call fcn.00401253
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00401253
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx - 0x10]
call fcn.00401253
call fcn.004695fa
ret