Function at 0x402130
Capabilities:
Create process on windows
Create thread
Delete file
Get common file path
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x429db0
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov esi, ecx
push str.User32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor ebx, ebx
mov dword [esi + 0x1d8], eax
cmp eax, ebx
je 0x40271f
push str.UpdateLayeredWindow
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x1dc], eax
mov byte [esi + 0x64], bl
mov byte [esi + 0x65], bl
mov byte [esi + 0x67], 1
mov byte [esi + 0x66], 0xff
mov dword [esi + 0x84], 0xa
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x7c], 0x64
push 0x43a794
lea ecx, [esi + 0x9c]
mov dword [esi + 0x88], ebx
call fcn.0041e79d
push 0x436274
lea ecx, [esi + 0x94]
mov dword [esi + 0x178], ebx
call fcn.0041e79d
push str.Meteor.exe
lea ecx, [esi + 0x98]
call fcn.0041e79d
push 0x436264
lea ecx, [esi + 0x90]
call fcn.0041e79d
push 0x43a794
lea ecx, [esi + 0x5c]
call fcn.0041e79d
lea edi, [esi + 0xa4]
push pe_nt_image_headers32
push pe_nt_image_headers32
mov ecx, edi
call fcn.0041ea1d
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.0041ea6c
push 0x436190
mov ecx, edi
call fcn.0041c055
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.0041bfbb
push eax
mov ecx, edi
mov dword [esp + 0x4c], ebx
call fcn.0041e74d
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], 0xffffffff
call fcn.0041e614
lea ecx, [esp + 0x24]
call fcn.00405955
push str.Program_Files_newyx_newyxmodule.exe
lea ecx, [esp + 0x20]
push edi
push ecx
mov dword [esp + 0x54], 1
call fcn.0041e8a9
mov eax, dword [eax]
push ebx
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x50], 2
call fcn.00405a18
lea ecx, [esp + 0x1c]
mov ebp, eax
mov byte [esp + 0x48], 1
call fcn.0041e614
cmp ebp, ebx
mov ebp, dword [sym.imp.KERNEL32.dll_CreateThread]
je 0x4022ff
push ebx
mov ecx, esi
call fcn.00403420
push str.Program_Files_newyx_newyxmodule.exe
lea edx, [esp + 0x20]
push edi
push edx
call fcn.0041e8a9
mov eax, dword [eax]
push 1
push ebx
push ebx
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x1c]
call fcn.0041e614
lea eax, [esp + 0x20]
mov dword [esi + 0x8c], 1
push eax
push ebx
push esi
push 0x401cd0
push ebx
push ebx
call ebp
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebx
push 0x401b60
push ebx
push ebx
call ebp
mov dword [esi + 0x6c], eax
mov edx, dword [0x436740]
mov dword [esp + 0x10], edx
push pe_nt_image_headers32
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 3
call fcn.0041ea1d
push eax
push pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.0041ea6c
mov edi, dword [esp + 0x10]
push pe_nt_image_headers32
lea ecx, [esp + 0x14]
call fcn.0041ea1d
push eax
push ebx
push 0x436238
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.0041ea6c
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.0041e389
push 0x436234
push 0x8d
call fcn.004015d0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
call dword [sym.imp.USER32.dll_LoadCursorFromFileA]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x70], eax
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esi + 0x188]
push eax
push 0x436230
push 0x83
call fcn.004016f0
lea eax, [esi + 0x17c]
push eax
push 0x436230
push 0x8e
call fcn.004016f0
lea ebp, [esi + 0x184]
push ebp
push 0x436230
push 0x88
call fcn.004016f0
lea edi, [esi + 0x180]
push edi
push 0x436230
push 0x90
call fcn.004016f0
lea ecx, [esi + 0x18c]
push ecx
push 0x436230
push 0x91
call fcn.004016f0
mov eax, dword [edi]
add esp, 0x3c
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x40246e
mov eax, dword [eax + 4]
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x20], ebx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x402445
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 8], eax
mov edi, dword [edi]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], edx
mov ecx, dword [edi + 4]
push eax
push ecx
mov dword [esp + 0x20], ebx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebx
je 0x402468
mov dword [edi + 8], eax
mov eax, dword [esp + 0x18]
jmp 0x402472
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push 2
push eax
push ecx
push ebx
mov dword [esi + 0x78], ecx
push ebx
push ebx
mov ecx, esi
mov dword [esi + 0x74], eax
call fcn.00421d62
mov eax, dword [esi + 0x78]
mov edi, 4
mov dword [esi + 0xbc], edi
mov dword [esi + 0xac], edi
mov edi, dword [ebp]
lea ecx, [eax - 0x1d]
mov dword [esi + 0xb8], ecx
add ecx, 9
mov edx, 0xe
add eax, 0xffffffd3
cmp edi, ebx
mov dword [esi + 0xc0], ecx
mov dword [esi + 0xc4], edx
mov dword [esi + 0xa8], eax
mov dword [esi + 0xb0], ecx
mov dword [esi + 0xb4], edx
je 0x40253a
mov eax, dword [edi + 4]
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x20], ebx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x4024f0
mov dword [edi + 8], eax
mov ebp, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], ebx
mov edx, dword [ebp + 4]
push edx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebx
je 0x40250c
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add eax, 0xa
add ecx, 0x28
mov dword [esi + 0xe8], 0xa
mov dword [esi + 0xec], 0x28
mov dword [esi + 0xf0], eax
mov dword [esi + 0xf4], ecx
mov edi, dword [esi + 0x188]
cmp edi, ebx
je 0x4025e3
mov eax, dword [edi + 4]
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x20], ebx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x402561
mov dword [edi + 8], eax
mov eax, dword [esi + 0x78]
mov ecx, dword [esp + 0x18]
mov edi, dword [esi + 0x188]
mov dword [esi + 0xcc], 0x9b
cdq
sub eax, edx
lea edx, [esp + 0x18]
shr ecx, 1
sar eax, 1
sub eax, ecx
push edx
mov dword [esi + 0xc8], eax
mov eax, dword [edi + 4]
push eax
mov dword [esp + 0x20], ebx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x4025a0
mov dword [edi + 8], eax
mov ecx, dword [esi + 0xc8]
mov eax, dword [esp + 0x18]
mov edi, dword [esi + 0x188]
add ecx, eax
mov dword [esi + 0xd0], ecx
lea edx, [esp + 0x1c]
mov eax, dword [edi + 4]
push edx
push eax
mov dword [esp + 0x24], ebx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebx
je 0x4025d1
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0xcc]
add ecx, eax
mov dword [esi + 0xd4], ecx
lea ebp, [esi + 0x108]
mov ecx, 0x12a
mov dword [esp + 0x18], ebx
lea edi, [esi + 0x114]
lea eax, [esi + 0x10c]
lea edx, [esi + 0x110]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x14]
mov dword [ebp], ebx
mov dword [eax], ecx
mov ebp, dword [esi + 0x78]
mov dword [edx], ebp
mov ebp, dword [eax]
add ebp, 0x1e
mov dword [edi], ebp
mov ebp, dword [esp + 0x18]
cmp ebp, 2
jne 0x40263d
mov ebp, dword [esp + 0x14]
add edx, 0x10
add ebp, 0x10
add eax, 0x10
add edi, 0x10
mov dword [esp + 0x14], ebp
add ecx, 0x25
mov ebp, dword [esp + 0x18]
add ecx, 0x1e
inc ebp
add edx, 0x10
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x14]
add ebp, 0x10
add eax, 0x10
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x18]
add edi, 0x10
cmp ebp, 6
jl 0x402608
mov eax, dword [esi + 0x78]
mov ecx, esi
mov dword [esi + 0x100], eax
mov dword [esi + 0x140], eax
lea edx, [eax - 0x122]
add eax, 0xfffffff6
mov dword [esi + 0xf8], ebx
mov dword [esi + 0xfc], 0x10b
mov dword [esi + 0x104], 0x129
mov dword [esi + 0x138], ebx
mov dword [esi + 0x13c], 0x18b
mov dword [esi + 0x144], 0x1a9
mov dword [esi + 0xd8], edx
mov dword [esi + 0xdc], 0x23
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], 0x5f
call fcn.00403920
lea eax, [esp + 0x20]
push eax
push ebx
push esi
push 0x401cd0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 1
call fcn.0041e614
lea ecx, [esp + 0x24]
mov dword [esp + 0x48], 0xffffffff
call fcn.00405992
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret
push ebx
push ebx
push str.User32.dll_ERROR_
call fcn.0042471e
push ebx
call fcn.0040d718
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push esi
mov esi, ecx
call fcn.0041f5c6
cmp eax, 0xffffffff
jne 0x402753
or eax, eax
pop esi
ret 4
mov ecx, esi
call fcn.00402130
xor eax, eax
pop esi
ret 4