Function at 0x40a59e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x4c
mov eax, 0x4777b7
call fcn.00469e1b
mov ebx, edx
mov dword [ebp - 0x44], ebx
mov esi, 0x487b83
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.0041f062
pop ecx
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x40a671
mov ecx, eax
call fcn.00401fdd
mov esi, eax
jmp 0x40a673
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.00409ad6
test eax, eax
je 0x40a701
push str.NULL
lea ecx, [ebp - 0x38]
call fcn.00409ad6
test eax, eax
jne 0x40a71b
push 0x487b83
lea ecx, [ebp - 0x3c]
call fcn.00401712
push 0x487b83
lea ecx, [ebp - 0x38]
call fcn.00401712
test esi, esi
je 0x40a727
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 0x4893a4
mov ebx, eax
push 0x68
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x40a8f8
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40a8f8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x40a8f8
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 0x40a7f5
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x40a7ee
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push ebx
call fcn.0041e550
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
push edi
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x40a7e7
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
test eax, eax
je 0x40a7e7
push ecx
push dword [ebp - 0x28]
mov ecx, eax
call fcn.00409c9c
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.00409c65
push ecx
mov edx, 0x4a331c
lea ecx, [ebp - 0x30]
call fcn.0040ad7c
cmp esi, 0x500
jl 0x40a866
mov byte [ebp - 4], 0xe
mov edx, eax
lea ecx, [ebp - 0x24]
mov dword [esp], 0x4a3320
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 [0x48b900]
push 0x23
jmp 0x40a8ad
mov byte [ebp - 4], 0x14
mov edx, eax
lea ecx, [ebp - 0x24]
mov dword [esp], 0x4a3320
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 [0x48b8fc]
push 0x21
sub esp, 0xc
lea eax, [ebp - 0x20]
vmovss dword [esp + 4], xmm0
vmovss xmm0, dword [0x48b8f8]
vmovss dword [esp], xmm0
push 0x100
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.0040aae1
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.00469dca
ret