Function at 0x408536
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x4c
mov eax, 0x470a64
call fcn.004638a3
mov ebx, edx
mov dword [ebp - 0x3c], ebx
mov esi, 0x47fd1c
push esi
lea ecx, [ebp - 0x48]
call fcn.00402312
xor edi, edi
push esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], edi
call fcn.00402312
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00402312
push esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00402312
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.00419054
pop ecx
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x408609
mov ecx, eax
call fcn.004012b5
mov esi, eax
jmp 0x40860b
mov esi, edi
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.ransomePlainPath
call fcn.00402312
push ecx
mov ecx, esp
push str.Computer_Information
mov byte [ebp - 4], 5
call fcn.00402312
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004013e7
push ecx
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.ransomeEncPath
call fcn.00402312
push ecx
mov ecx, esp
push str.Computer_Information
mov byte [ebp - 4], 7
call fcn.00402312
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.004013e7
push str.NULL
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.0040817a
test eax, eax
je 0x408699
push str.NULL
lea ecx, [ebp - 0x30]
call fcn.0040817a
test eax, eax
jne 0x4086b3
push 0x47fd1c
lea ecx, [ebp - 0x38]
call fcn.00402506
push 0x47fd1c
lea ecx, [ebp - 0x30]
call fcn.00402506
test esi, esi
je 0x4086bf
push ecx
mov ecx, esi
call fcn.00407b28
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 0x480cd0
mov ebx, eax
push 0x68
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x408825
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x408825
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x408825
push dword [ebp - 0x28]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x40879d
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x408796
push esi
push dword [ebp - 0x24]
push eax
call fcn.004184b0
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
push edi
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x40878d
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x40878d
mov edx, dword [ebp - 0x24]
lea ecx, [esi + 4]
push ecx
push edx
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [ecx], edi
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov dword [esi + 8], eax
mov edi, esi
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
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.0040820b
push 0x497b2c
lea ecx, [ebp - 0x2c]
call fcn.00402374
lea eax, [ebp - 0x20]
cmp esi, 0x500
jl 0x4087d3
vmovss xmm0, dword [0x482af8]
push 0x28
jmp 0x4087dd
vmovss xmm0, dword [0x482af4]
push 0x21
sub esp, 0xc
vmovss dword [esp + 4], xmm0
vmovss xmm0, dword [0x482af0]
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.0040280e
add eax, 0x10
mov dword [esi], eax
mov esi, dword [ebp - 0x3c]
mov ecx, esi
call fcn.004088c6
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.00463852
ret