joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e103
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1048
call fcn.0041a490
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp word [esi], bx
je 0x40e31e
push esi
call fcn.0041a157
pop ecx
cmp eax, 0x7f6
jae 0x40e31e
push edi
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.0041a1c0
movzx ecx, word [esi]
add esp, 0xc
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0x1c0
cmp cx, 0x22
jne 0x40e15e
lea eax, [esi + 2]
mov dword [ebp - 0x38], eax
jmp 0x40e161
mov dword [ebp - 0x38], esi
xor eax, eax
cmp cx, bx
je 0x40e1b7
mov ecx, esi
cmp word [ecx], 0x22
jne 0x40e189
jmp 0x40e179
cmp word [esi + eax*2], 0x22
je 0x40e182
inc eax
cmp word [esi + eax*2], bx
jne 0x40e172
jmp 0x40e189
push 0x20
pop ecx
mov word [esi + eax*2], cx
cmp word [esi + eax*2], 0x20
je 0x40e1a3
cmp word [esi + eax*2 + 2], 0x2f
je 0x40e1a3
inc eax
lea ecx, [esi + eax*2]
cmp word [ecx], bx
jne 0x40e16a
jmp 0x40e1b7
lea eax, [esi + eax*2]
cmp word [eax], 0x20
jne 0x40e1b1
xor ecx, ecx
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x40e1c3
cmp word [eax], bx
jne 0x40e1d8
cmp byte [ebp + 0xc], bl
jne 0x40e1d8
cmp word [0x44187a], bx
je 0x40e1d8
mov dword [ebp - 0x34], 0x44187a
push dword [ebp - 0x38]
mov dword [ebp - 0x2c], 1
call fcn.0040a538
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x40e204
push str..inf
push eax
call fcn.00411ae2
test eax, eax
jne 0x40e204
mov dword [ebp - 0x3c], 0x42a8e8
push dword [ebp - 0x38]
call fcn.00409073
test al, al
je 0x40e22d
push 0x800
lea eax, [ebp - 0x1048]
push eax
push dword [ebp - 0x38]
call fcn.0040a799
lea eax, [ebp - 0x1048]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40e31d
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 1], bl
mov edi, 0x3e8
cmp byte [0x440870], bl
jne 0x40e262
cmp byte [ebp + 0xc], bl
jne 0x40e262
cmp byte [0x44085d], bl
je 0x40e2bf
cmp dword [ebp + 8], ebx
je 0x40e27e
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40e27e
push ebx
push dword [ebp + 8]
call esi
mov byte [ebp - 1], 1
push 0x7d0
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x10]
call fcn.0040d529
cmp byte [0x44085d], bl
je 0x40e2bf
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x40e2bf
mov eax, dword [ebp - 0xc]
add eax, edi
cmp eax, dword [0x440860]
jbe 0x40e2bf
mov dword [0x440860], eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], ebx
je 0x40e2de
push 0x42a8dc
push dword [ebp - 8]
call fcn.00411ae2
test eax, eax
je 0x40e30c
cmp byte [0x440870], bl
je 0x40e2f7
cmp byte [ebp + 0xc], bl
jne 0x40e2f7
mov dword [0x440864], 0x1b58
jmp 0x40e30c
xor eax, eax
cmp byte [ebp + 0xc], bl
sete al
dec eax
and eax, 0xfffffce0
add eax, edi
mov dword [0x440864], eax
cmp byte [ebp - 1], bl
je 0x40e31d
cmp byte [ebp + 0xc], bl
je 0x40e31d
push 1
push dword [ebp + 8]
call esi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x40fbcd
Capabilities:
Accept command line arguments
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
push 1
call fcn.00410aa3
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
mov ecx, 0x44e5b0
call fcn.00411bd8
mov esi, 0x7002
push esi
push ebx
push 0x439820
call fcn.0041a1c0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
cmp edi, ebx
je 0x40fc7c
push edi
call fcn.0040d31d
cmp byte [0x440879], bl
je 0x40fc76
push str.winrarsfxmappingfile.tmp
push ebx
mov edi, 0xf001f
push edi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x40fc6b
push esi
push ebx
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, ebx
je 0x40fc64
push esi
push edi
push 0x439820
call fcn.0041bc30
add esp, 0xc
push 0x439822
mov byte [edi], 1
call fcn.0040d2c9
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40fc7c
push edi
call fcn.0040d2c9
push 0x800
mov esi, 0x438820
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push str.sfxname
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
push 0x64
push edi
mov dword [0x4325a4], edi
mov dword [0x4325a8], edi
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x65
push dword [0x4325a8]
mov dword [0x43881c], eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
lea ecx, [ebp - 8]
mov dword [0x438818], eax
call fcn.00419a09
push esi
mov ecx, 0x4325bc
call fcn.0040c133
lea ecx, [ebp - 0x60]
call fcn.00418ae0
lea ecx, [ebp - 0x34]
call fcn.00418ae0
push 0x64
call fcn.00419779
push 0x64
mov dword [ebp - 0x40], eax
call fcn.00419779
push ebx
push 0x40f224
mov dword [ebp - 0x14], eax
push ebx
lea eax, [ebp - 0x60]
mov dword [0x437814], eax
push str.STARTDLG
lea eax, [ebp - 0x34]
push edi
mov dword [0x437810], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [ebp - 0x34]
mov dword [0x437810], ebx
mov dword [0x437814], ebx
call fcn.00418b05
lea ecx, [ebp - 0x60]
call fcn.00418b05
lea ecx, [ebp - 8]
call fcn.00419a63
cmp byte [0x440870], bl
je 0x40fd5b
call fcn.0040d568
mov ecx, 0x44be20
call fcn.0040ce89
cmp dword [0x440858], ebx
jbe 0x40fd79
push dword [0x44084c]
call fcn.00419eae
pop ecx
push dword [0x43881c]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov eax, dword [0x438818]
cmp eax, ebx
je 0x40fd93
push eax
call esi
cmp dword [0x4325ac], ebx
jne 0x40fdb2
cmp byte [0x44083c], bl
je 0x40fdb2
push 0xff
mov ecx, 0x4325ac
call fcn.00406149
mov eax, dword [0x440868]
mov byte [0x44083c], 1
cmp eax, ebx
je 0x40fdd4
push eax
call fcn.0040d529
push dword [0x440868]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x440864]
cmp eax, ebx
je 0x40fde4
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, dword [0x440860]
pop edi
pop esi
cmp eax, ebx
pop ebx
ja 0x40fdfb
mov eax, dword [0x4325ac]
leave
ret 0x10
Function at 0x41015f
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4

Function at 0x410335
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret 4
Function at 0x410edb
Capabilities:
Create thread

Disassembly:
push ecx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
cmp dword [esi], ebp
jbe 0x410f56
push ebx
push edi
lea edi, [esi + 4]
lea eax, [esp + 0x10]
push eax
push 0
push esi
push 0x410e64
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x410f32
push str.CreateThread_failed
push 0x4325ac
call fcn.0040626d
pop ecx
pop ecx
mov ecx, 0x4325ac
call fcn.00401000
push 2
mov ecx, 0x4325ac
call fcn.004061ea
mov dword [edi], ebx
inc dword [esi + 0x84]
mov eax, dword [0x44e58c]
test eax, eax
je 0x410f4c
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc ebp
add edi, 4
cmp ebp, dword [esi]
jb 0x410eeb
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret

Function at 0x41730c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x429257
call fcn.00419e84
push ecx
push ebx
push esi
mov esi, ecx
push 1
lea ecx, [esi + 4]
mov dword [ebp - 0x10], esi
call fcn.004094ee
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
lea ecx, [esi + 0x4b38]
call fcn.00412185
lea ecx, [esi + 0x98d0]
call fcn.00412b81
lea ecx, [esi + 0xe65c]
mov byte [ebp - 4], 5
call fcn.0040a8da
push 1
lea ecx, [esi + 0xe694]
mov byte [ebp - 4], 6
call fcn.004094ee
lea eax, [esi + 0xe6a4]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea eax, [esi + 0xe6b4]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea eax, [esi + 0xe6c4]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0xa
mov dword [esi], eax
mov dword [esi + 0x4b34], ebx
mov byte [esi + 0x4c38], bl
mov byte [esi + 0x4c48], bl
mov byte [esi + 0x4c49], bl
mov byte [esi + 0x4c4a], bl
mov dword [esi + 0x1c], 1
call fcn.00410cf9
push ebx
mov ecx, esi
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0xe6d8], ebx
mov dword [esi + 0xe6dc], ebx
call fcn.0041545d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x418fe4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x48]
test eax, eax
jl 0x419018
cmp dword [ebp - 4], esi
jne 0x419059
call ebx
sub eax, dword [ebp - 0xc]
cmp eax, 0x7d0
ja 0x419059
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x419002
push esi
push esi
push esi
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x419002
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x48]
cmp eax, esi
mov dword [ebp + 8], eax
jl 0x4190c4
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x4190ba
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x42b0d8
push eax
call dword [ecx]
cmp eax, esi
mov dword [ebp + 8], eax
jl 0x4190b1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
cmp eax, esi
mov dword [ebp + 8], eax
jl 0x4190a8
mov eax, dword [ebp - 8]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp + 8], esi
jl 0x4190c4
cmp dword [ebp - 4], esi
jne 0x419113
cmp dword [edi + 8], esi
je 0x419113
cmp dword [edi + 0x18], esi
jne 0x419113
mov eax, dword [edi + 0x14]
cmp eax, esi
je 0x419113
push eax
mov ecx, edi
call fcn.00418e26
mov ebx, eax
cmp ebx, esi
je 0x419113
push 0x204
push esi
push esi
push esi
push esi
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
call fcn.00419eae
pop ecx
xor eax, eax
cmp dword [ebp + 8], esi
pop edi
pop esi
setge al
pop ebx
leave
ret 8
Function at 0x419446
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 0x18]
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push 0
push edi
mov dword [esi + 8], edi
mov byte [esi + 0x25], al
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
mov ecx, esi
call fcn.004193df
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push 2
lea eax, [ebp - 0x10]
push eax
push edi
call ebx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi + 4]
test eax, eax
je 0x4194ad
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 8]
push esi
push dword [esi]
sub edi, eax
push 0
push dword [ebp + 0xc]
lea ecx, [eax + 1]
dec edi
mov dword [ebp + 0x18], ecx
dec edi
call ebx
push eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push eax
push edi
push dword [ebp - 0xc]
xor edi, edi
push dword [ebp + 0x18]
push 0x40000000
push edi
push str.RarHtmlClassName
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 4], eax
cmp dword [esi + 0x10], edi
jne 0x41952f
cmp dword [ebp + 0xc], edi
je 0x419552
cmp dword [esi + 0x18], edi
jne 0x419552
mov eax, dword [esi + 0x14]
cmp eax, edi
je 0x419552
push eax
mov ecx, esi
call fcn.00418e26
mov esi, eax
cmp esi, edi
je 0x419552
push 5
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.00419eae
pop ecx
jmp 0x419552
cmp eax, edi
je 0x419545
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [esi + 0x20], 0x64
jbe 0x419552
mov ecx, esi
call fcn.00418c79
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x419559
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x42b0c8
push 1
xor ebx, ebx
push ebx
push 0x42b178
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x41962a
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x42b168
push eax
call dword [ecx]
test eax, eax
jl 0x419621
cmp byte [ebp + 8], bl
je 0x4195ac
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 2
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x4195c9
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
cmp dword [ebp + 0x1c], ebx
jne 0x4195db
push 0x42a72c
jmp 0x4195de
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x4195f3
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x419604
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x419618
mov bl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
pop ebx
leave
ret 0x1c

Function at 0x419644
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x41e07e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f298]
jne 0x41e088
repz ret
jmp fcn.00423823
Function at 0x4250b5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041e0ff
and dword [ebp - 4], 0
cmp dword [0x44f1f0], 0
mov ebx, eax
jne 0x425166
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x425217
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x425217
push eax
call fcn.0041e08d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44f1f0], eax
call esi
push eax
call fcn.0041e08d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44f1f4], eax
call esi
push eax
call fcn.0041e08d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44f1f8], eax
call esi
push eax
call fcn.0041e08d
pop ecx
mov dword [0x44f200], eax
test eax, eax
je 0x425166
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041e08d
pop ecx
mov dword [0x44f1fc], eax
mov eax, dword [0x44f1fc]
cmp eax, ebx
je 0x4251be
cmp dword [0x44f200], ebx
je 0x4251be
push eax
call fcn.0041e108
push dword [0x44f200]
mov esi, eax
call fcn.0041e108
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4251be
test edi, edi
je 0x4251be
call esi
test eax, eax
je 0x4251b5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4251b5
test byte [ebp - 0xc], 1
jne 0x4251be
or dword [ebp + 0x10], 0x200000
jmp 0x4251f7
mov eax, dword [0x44f1f4]
cmp eax, ebx
je 0x4251f7
push eax
call fcn.0041e108
pop ecx
test eax, eax
je 0x4251f7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4251f7
mov eax, dword [0x44f1f8]
cmp eax, ebx
je 0x4251f7
push eax
call fcn.0041e108
pop ecx
test eax, eax
je 0x4251f7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44f1f0]
call fcn.0041e108
pop ecx
test eax, eax
je 0x425217
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x425219
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x572c80
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push edx
push eax
call sub.ws2_32.dll_connect
mov esp, ebp
pop ebp
ret

Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x766d39e7
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x431060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x441a1d7d
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x9d6058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x9d61a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9d607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9d606a
add dl, dl
jne 0x9d6089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9d60dc
xor eax, eax
add dl, dl
jne 0x9d6096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9d617d
add dl, dl
jne 0x9d60a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9d60b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9d60bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9d60c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9d60d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9d6075
mov eax, 1
add dl, dl
jne 0x9d60ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9d60f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9d60e1
sub eax, ebx
mov ebx, 1
jne 0x9d6128
mov ecx, 1
add dl, dl
jne 0x9d610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9d6119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9d6105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9d6075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9d613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9d614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9d6136
cmp eax, 0x7d00
jae 0x9d616d
cmp eax, 0x500
jb 0x9d6168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9d6075
cmp eax, 0x7f
ja 0x9d6170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9d6075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9d619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x9d6075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40df7e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lcall 0xe629, 0xee651666
and al, 0x2b
loope 0x40dfea
mov bh, 0x9a
sbb dword [ebx], ebp
pushfd
arpl word [esi], ax
pushal
int3
xrelease xchg dword [eax], ebx
enter 0xffffffffffff8a4c, 0x58
pop esp
lds edi, [edx - 0x2fcde3b6]
pop esp
xchg esi, eax
out 0x65, al
dec ebp
adc dword [ebx - 0x42acf5a4], esi
mov bl, 0x5c
or dl, byte [ebx - 0x43]
js 0x40dfe1
xlatb
jnp 0x40dfd2
daa
xchg byte [edi - 0x270d6a8b], ah
das
fsubr dword [edi]
pop edi
popal
xchg ebx, eax
mov al, byte [0x8bb6966e]
mov dh, 0x8b
mov ebx, ds
pop esp
js 0x40df98
dec esi
or ah, dl
push ecx
in eax, dx
xchg esi, eax
mov edi, 0xe2551a81
outsb dx, byte [esi]
dec ebx
push ebx
inc edx
pop esp
add dh, al
mov eax, 0xa1cc8383
mov eax, 0x5d4c5de
mov ebx, fs
wait
js 0x40e082
dec ebp
mov byte [0xc33c5051], al
or dword [edx], 0xd211b8d5
lodsd eax, dword [esi]
mov cl, 0x47
lahf
ror esi, cl
add cl, byte [ecx - 0x4b]
jb 0x40dfbe
mov esi, 0xfbe496a3
invalid
lahf
mov edi, 0x5ebfbfae
inc edx
and dword [ebx], ebx
and al, 0xff
popal
mov eax, 0xf9668077
cmp eax, 0x7a0af3e9
cmp eax, 0x1579e18b
in eax, 0xe
push cs
jmp 0x40e09e

Function at 0x40df8e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
fdivr qword [eax + ecx*2 + 0x7cebb57f]
imul ebx, dword [0x6006639f], 0x226824cc
invalid

Function at 0x628595
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x62f3d0
cmp edx, dword [eax]
je 0x6285b7
add eax, 8
inc ecx
cmp eax, 0x62f460
jl 0x6285a8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x62f3d0]
jne 0x6286e5
mov eax, dword [0x637d78]
cmp eax, 1
je 0x6286bf
test eax, eax
jne 0x6285e8
cmp dword [0x62f2f8], 1
je 0x6286bf
cmp edx, 0xfc
je 0x6286e5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62861f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00628f80
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00629410
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x628662
lea eax, [ebp - 0x1a4]
push eax
call fcn.00629410
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62d6e4
push edi
call fcn.0062b2e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00628f80
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00628f90
lea eax, [ebp - 0xa0]
push 0x62d6c4
push eax
call fcn.00628f90
push dword [esi + 0x62f3d4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00628f90
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062b254
add esp, 0x2c
pop edi
jmp 0x6286e5
lea eax, [ebp + 8]
lea esi, [esi + 0x62f3d4]
push 0
push eax
push dword [esi]
call fcn.00629410
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret