Function at 0x409fdf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x4c
mov eax, 0x476fde
call fcn.004696db
mov ebx, edx
mov dword [ebp - 0x44], ebx
mov esi, 0x486b73
push esi
lea ecx, [ebp - 0x54]
call fcn.00401668
xor edi, edi
push esi
lea ecx, [ebp - 0x48]
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 - 0x34]
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 - 0x24], eax
push 1
call esi
push 0xc
mov dword [ebp - 0x30], eax
call fcn.0041e952
pop ecx
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x40a0b2
mov ecx, eax
call fcn.00401fdd
mov esi, eax
jmp 0x40a0b4
mov esi, edi
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x28], 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 - 0x3c]
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 - 0x28], 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 - 0x38]
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.0040210f
push str.NULL
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 8
call fcn.00409b23
test eax, eax
je 0x40a142
push str.NULL
lea ecx, [ebp - 0x38]
call fcn.00409b23
test eax, eax
jne 0x40a15c
push 0x486b73
lea ecx, [ebp - 0x3c]
call fcn.00401712
push 0x486b73
lea ecx, [ebp - 0x38]
call fcn.00401712
test esi, esi
je 0x40a168
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 0x4883bc
mov ebx, eax
push 0x68
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x40a337
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40a337
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x40a337
push dword [ebp - 0x2c]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push 0x42
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40a236
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x40a22f
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push ebx
call fcn.0041de40
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
push edi
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x40a228
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
test eax, eax
je 0x40a228
push ecx
push dword [ebp - 0x28]
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 - 0x30]
mov esi, dword [ebp - 0x24]
push esi
push ecx
push ecx
push edi
lea ecx, [ebp - 0x50]
call fcn.00409cb2
push ecx
mov edx, 0x4a22f0
lea ecx, [ebp - 0x30]
call fcn.0040a680
cmp esi, 0x500
jl 0x40a2a5
mov byte [ebp - 4], 0xe
mov edx, eax
lea ecx, [ebp - 0x24]
mov dword [esp], 0x4a22f4
call fcn.00401e14
pop ecx
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xf
call fcn.00401dc6
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00401253
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00401253
vmovss xmm0, dword [0x48a810]
jmp 0x40a2ea
mov byte [ebp - 4], 0x14
mov edx, eax
lea ecx, [ebp - 0x24]
mov dword [esp], 0x4a22f4
call fcn.00401e14
pop ecx
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x15
call fcn.00401dc6
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00401253
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00401253
vmovss xmm0, dword [0x48a80c]
push 0x21
sub esp, 0xc
lea eax, [ebp - 0x20]
vmovss dword [esp + 4], xmm0
vmovss xmm0, dword [0x48a808]
vmovss dword [esp], xmm0
push pe_nt_image_headers32
push eax
push ecx
mov ecx, dword [ebp - 0x34]
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.00401f3d
add eax, 0x10
mov dword [esi], eax
mov esi, dword [ebp - 0x44]
mov ecx, esi
call fcn.0040a3d8
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 - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00401253
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.00401253
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.00401253
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx - 0x10]
call fcn.00401253
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx - 0x10]
call fcn.00401253
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00401253
call fcn.0046968a
ret