joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4033ec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0040f4b0
push edi
mov edi, dword [ebp + 8]
cmp word [edi], 0
jne 0x40340a
xor al, al
jmp 0x40358c
push esi
push edi
call fcn.00403593
push edi
call fcn.00414975
pop ecx
push edi
mov esi, eax
call fcn.004035bf
test al, al
je 0x4034aa
push edi
call fcn.00403593
test al, al
je 0x403459
lea eax, [esi + 4]
cmp dword [ebp + 0x10], eax
jbe 0x4034a3
mov esi, dword [ebp + 0xc]
push 4
push str.__
push esi
call fcn.00415d36
lea eax, [esi + 8]
push edi
push eax
call fcn.00414953
add esp, 0x14
jmp 0x40349c
push 0x5c
pop eax
cmp word [edi], ax
jne 0x4034a3
add edi, 2
cmp word [edi], ax
jne 0x4034a3
lea eax, [esi + 6]
cmp dword [ebp + 0x10], eax
jbe 0x4034a3
mov esi, dword [ebp + 0xc]
push 4
push str.__
push esi
call fcn.00415d36
lea eax, [esi + 8]
push 0x4222a8
push eax
call fcn.00414953
lea eax, [esi + 0xe]
push edi
push eax
call fcn.00414953
add esp, 0x1c
mov al, 1
jmp 0x40358b
xor al, al
jmp 0x40358b
push ebx
lea eax, [ebp - 0x1000]
mov ebx, 0x7ff
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x403588
cmp eax, ebx
ja 0x403588
movzx eax, word [edi]
push eax
call fcn.004035f5
test al, al
je 0x403518
lea eax, [esi + 6]
cmp dword [ebp + 0x10], eax
jbe 0x403588
mov esi, dword [ebp + 0xc]
push 4
push str.__
push esi
call fcn.00415d36
push 2
lea eax, [ebp - 0x1000]
push eax
lea eax, [esi + 8]
push eax
call fcn.00415d36
lea eax, [esi + 0xc]
push edi
push eax
call fcn.00414953
add esp, 0x20
jmp 0x403584
push 0x800
lea eax, [ebp - 0x1000]
push eax
call fcn.00402ffe
lea eax, [ebp - 0x1000]
push eax
call fcn.00414975
add eax, 4
add eax, esi
pop ecx
cmp dword [ebp + 0x10], eax
jbe 0x403588
mov esi, dword [ebp + 0xc]
push 4
push str.__
push esi
call fcn.00415d36
lea eax, [ebp - 0x1000]
push eax
lea eax, [esi + 8]
push eax
call fcn.00414953
add esp, 0x14
cmp word [edi], 0x2e
jne 0x40357a
movzx eax, word [edi + 2]
push eax
call fcn.004035f5
test al, al
je 0x40357a
add edi, 4
push dword [ebp + 0x10]
push edi
push esi
call fcn.0040459c
mov al, 1
jmp 0x40358a
xor al, al
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4209cb
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x420a0a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x420a0a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x420a0a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x420a0a
cmp dword [ecx + 0x74], 0xe
jbe 0x420a0a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x433180
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4331ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4331ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x408956
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x4085d8
sub edi, 1
sub esi, esi
call fcn.00408982
mov esi, 0xad8dc4c9
xor dword [eax], ecx
sub edi, 0xa263be5b
inc eax
or edi, edi
cmp eax, ebx
jne fcn.00408956
mov edi, 0xf7d15783
ret
Function at 0x401030
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
cmp dword [0x844060], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
jne 0x401074
push 0
lea ecx, [ebp - 0x430]
push ecx
push 0
push str.serogefikajuxapowizufin_jikesijelipovocanopowum_ladahuki_nogiwodopuxeyojimada_masitobimalezal
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push str.wabux
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov eax, dword [0x424f3c]
mov edx, dword [0x424f38]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], edx
call fcn.00401020
mov esi, dword [ebp - 0x10]
mov ecx, dword [0x424f40]
mov edx, dword [0x424f44]
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
add esi, 0x23f
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], 0x20
jmp 0x4010c4
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x844060]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401128
push 0
lea eax, [ebp - 0x430]
push eax
push str.patarofo_lugagodagurusol_bahecekolotegejahub
call ebx
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [ebp - 0x28]
push ecx
push 0
mov dword [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeaps]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov eax, dword [ebp - 4]
mov ecx, dword [0x844060]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x401142
mov dword [0x8435fc], 0xedeb2e40
jmp 0x401154
cmp ecx, 0x3eb
jne 0x401154
mov dword [0x842fb0], 0
mov ecx, dword [ebp - 0xc]
lea edx, [esi + edi]
mov dword [ebp - 0x14], edx
mov edx, edi
shr edx, cl
mov dword [0x8435f8], 0xf4ea3dee
add edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
cmp dword [0x844060], 0xc
jne 0x4011a5
push 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BackupSeek]
mov ecx, dword [ebp - 8]
shl ecx, 4
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
lea eax, [esi + edx]
xor dword [ebp - 4], eax
mov esi, edx
shr esi, cl
add esi, dword [ebp - 0x24]
cmp dword [0x844060], 0x121
jne 0x4011e5
push str.ledolinosiwogula
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
xor eax, esi
mov dword [ebp - 4], eax
sub edi, eax
lea eax, [ebp - 0x10]
call fcn.00401010
sub dword [ebp - 0x18], 1
jne 0x4010c1
cmp dword [0x844060], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
jne 0x401222
push 0
push str.puloginuyekawayihuyufomeciyijuw
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov edx, dword [ebp - 8]
pop edi
mov dword [esi + 4], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401230
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x844060]
mov ecx, dword [0x842fb4]
shr eax, 3
sub esp, 0x41c
test eax, eax
jbe 0x401338
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
lea ebx, [ebx]
cmp dword [0x844060], 0x959
jne 0x40131e
push 0
call esi
push 0
push 0
call edi
push 0
push 0
push 0
call ebx
push str.yihemosubameyacowovagajuferokiyujiyeluhanabopa
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0
lea eax, [ebp - 0x41c]
push eax
push 0
push str.ribabacotecisuseyobowozic
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0
push 0
push str.nadahesajabohaxezize
push str.gajelonibakogofipokuyitipi
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
xor eax, eax
push eax
push eax
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
push 0
push 0
push 0
push 0
push 0
push 0
push str.yavub_socaxofuhod
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [ebp - 4]
push edx
call fcn.00401030
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x401270
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402570
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4240c8]
jne 0x40257a
repz ret
jmp fcn.0040605e

Function at 0x405c84
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.00402ff9
and dword [ebp - 4], 0
cmp dword [0x425a28], 0
mov ebx, eax
jne 0x405d35
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405de6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405de6
push eax
call fcn.00402f87
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x425a28], eax
call esi
push eax
call fcn.00402f87
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x425a2c], eax
call esi
push eax
call fcn.00402f87
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x425a30], eax
call esi
push eax
call fcn.00402f87
pop ecx
mov dword [0x425a38], eax
test eax, eax
je 0x405d35
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402f87
pop ecx
mov dword [0x425a34], eax
mov eax, dword [0x425a34]
cmp eax, ebx
je 0x405d8d
cmp dword [0x425a38], ebx
je 0x405d8d
push eax
call fcn.00403002
push dword [0x425a38]
mov esi, eax
call fcn.00403002
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405d8d
test edi, edi
je 0x405d8d
call esi
test eax, eax
je 0x405d84
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405d84
test byte [ebp - 0xc], 1
jne 0x405d8d
or dword [ebp + 0x10], 0x200000
jmp 0x405dc6
mov eax, dword [0x425a2c]
cmp eax, ebx
je 0x405dc6
push eax
call fcn.00403002
pop ecx
test eax, eax
je 0x405dc6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405dc6
mov eax, dword [0x425a30]
cmp eax, ebx
je 0x405dc6
push eax
call fcn.00403002
pop ecx
test eax, eax
je 0x405dc6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x425a28]
call fcn.00403002
pop ecx
test eax, eax
je 0x405de6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405de8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4013b0
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
sub esp, 0x2c
push ebx
push esi
push edi
xor esi, esi
mov ebx, 0x2710
mov edi, 0x3e8
nop dword [eax]
call eax
cdq
idiv edi
mov edi, edx
test esi, esi
jne 0x4013f6
push 0xc
call fcn.00404ea6
mov esi, eax
mov dword [esi], edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x401450
cmp edi, dword [esi]
jge 0x401426
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40140a
mov edx, edi
call fcn.00401340
jmp 0x401453
push 0xc
call fcn.00404ea6
mov dword [eax], edi
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [esi + 4], eax
jmp 0x401450
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x401436
mov edx, edi
call fcn.00401340
jmp 0x401453
push 0xc
call fcn.00404ea6
mov dword [eax], edi
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [esi + 8], eax
add esp, 4
mov eax, dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov edi, 0x3e8
sub ebx, 1
jne 0x4013d0
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ebx, dword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov dword [esp + 0x30], str._H:_M:_S
nop word [eax + eax]
call ebx
push 0
push 0x989680
push edx
push eax
call fcn.00405d00
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
add esp, 4
mov esi, eax
push 0x40724c
call edi
add esp, 4
mov dword [esp + 0x2c], esi
mov eax, str._H:_M:_S
nop dword [eax + eax]
inc eax
cmp byte [eax], 0
jne 0x4014c0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [esp + 0x2c]
mov dword [esp + 0x34], eax
call fcn.00404590
push 0x4047e0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [esp + 0x20]
call fcn.00401220
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp ecx, 0xc46535ff
jne 0x401506
cmp eax, 0x7fffffff
je 0x401536
cmp eax, 0x7fffffff
jg 0x401536
jl 0x401517
cmp ecx, 0xc46535ff
jae 0x401536
add ecx, 0x3b9aca00
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
adc eax, 0
mov dword [esp + 0x14], eax
call fcn.004049f0
jmp 0x401480
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], 0x7fffffff
call fcn.004049f0
jmp 0x401480
Function at 0x4016c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1394
call fcn.00405ed0
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [esp + 0x139c], 0xffffffff
mov edx, 1
mov dword [esp + 0x1c], eax
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [esp + edx*4 + 0x1c], eax
inc edx
cmp edx, 0x270
jb 0x4016f0
cmp dword [esi + 0x14], 0xf
mov eax, esi
mov dword [esp + 0x18], 0x270
jbe 0x401724
mov eax, dword [esi]
mov edi, eax
mov ecx, eax
jmp 0x401728
mov edi, esi
mov ecx, esi
mov esi, dword [esi + 0x10]
add esi, ecx
cmp eax, esi
je 0x401748
mov ebx, 0x100
lea ecx, [esp + 0x18]
call fcn.00404cb0
mul ebx
mov byte [edi], dl
inc edi
cmp edi, esi
jne 0x401736
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401830
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], 0
xor eax, eax
mov eax, dword fs:[0x30]
mov edx, 0x2a
add ebx, edx
nop
sub ecx, 0xa
nop
xor ecx, ecx
mov eax, dword [eax + 2]
and eax, 0xff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404cb0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x404d0d
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x404cd0
mov eax, dword [esi]
jmp 0x404de7
cmp eax, 0x4e0
jb 0x404de7
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x404d26
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
nop
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x404d70
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4057a4
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4057e3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4057e3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4057e3
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4057e3
cmp dword [ecx + 0x74], 0xe
jbe 0x4057e3
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

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

Disassembly:
pushal
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4522e0
Capabilities:
Start service

Disassembly:
push ebp
jmp 0x4529bc
push edi
mov eax, dword [0x52dfb8]
xor eax, ebp
push eax
push 0x452a98
ret
or esi, esi
je 0x452773
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test edi, edi
je 0x452782
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
push 0x452422
ret
mov dword fs:[0], eax
push 0x45295d
ret
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor edi, edi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
or ecx, ecx
jg 0x452764
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
jmp 0x452b55
mov ebp, esp
push 0xffffffffffffffff
push 0x476690
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
je 0x4523f7
jne 0x4523f7
mov dword [0xdde740], eax
imul edx, edx, 0x41a7
add dword [eax + 0x2c], esi
push 0x407140
cmp byte [0xe2b32d], 0
mov dword [ebp - 0xcc], 0x9bbc2c
mov dword [esi + 0x3c], 0x1017fe10
mov dword [0xd3dad0], eax
push 0x115400a4
lea ecx, [ebp - 0x360]
pop ebx
leave
jne 0x452a98
mov esp, 0x46c7009b
cmp al, 0x10
invalid
jb 0x4529fe
push esp
mov al, 0x83
jnp 0x452a27
add ch, cl
push esp
add al, byte [eax]
add byte [ebx + 0x48037035], cl
add byte [eax - 0x38], ch
and eax, 0x16a2697c
lahf
cmpsb byte [esi], byte es:[edi]
imul eax, edi, 0x7ec45
in eax, 0
add byte [eax], al
mov esi, dword [0x480370]
push 0x697c25c8
mov byte [0x69a69f16], al
mov dword [ebp - 0x14], 0xe50007
inc eax
cld
leave
aam 0xf
xor bh, byte [esi + 0x6a]
add bh, bh
xor edx, dword [esi - 1]
adc eax, sym.imp.ADVAPI32.dll_ChangeServiceConfigW
lea ecx, [ebp - 0x34]
call fcn.00433df0
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor esi, esi
je 0x452912
jne 0x452912
cmp eax, 0x418f0041
push 0x17be
mov ebp, dword [esi + 0xc]
movzx esi, byte [ebx + 0xe4ae28]
push 0xaad97c
fnsave dword [ebx]
int1
daa
and al, 0x8d
inc ebp
hlt
lea eax, [ebp - 0xc]
jmp 0x452851
call dword [eax + 4]
push 0x45257c
ret
Function at 0x468d00
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x14
push 0x477670
call fcn.0046d040
call fcn.0046cd0e
movzx esi, ax
push 2
call fcn.0046cb0e
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x468bb7
sub ebx, ebx
jmp 0x468bea
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x468bb3
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x468bb3
sub ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x468bea
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.0046c530
or eax, eax
jne 0x468bfe
push 0x1c
call fcn.00468cd9
pop ecx
call fcn.0046bf93
or eax, eax
jne 0x468c0f
push 0x10
call fcn.00468cd9
pop ecx
call fcn.0046cbf5
and dword [ebp - 4], 0
call fcn.0046c545
or eax, eax
jns 0x468c29
push 0x1b
call fcn.00468cd9
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0x5348d0], eax
call fcn.0046cc35
mov dword [0x52f068], eax
call fcn.0046c7f3
test eax, eax
jns 0x468c4f
push 8
call fcn.0046c06e
pop ecx
call fcn.0046ca2c
or eax, eax
jns 0x468c60
push 9
call fcn.0046c06e
pop ecx
push 1
call fcn.0046c0a8
pop ecx
or eax, eax
je 0x468c73
push eax
call fcn.0046c06e
pop ecx
call fcn.0046cfe5
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x468c95
push esi
call fcn.0046c304
call fcn.0046c099
jmp 0x468cca
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.0046d085
ret
call fcn.0046cb5b
jmp 0x468b89
Function at 0x4021ff
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, eax
sub ecx, dword [esi + 0x14]
mov eax, dword [ebp + 0xc]
sub eax, dword [esi + 0x10]
mov edx, dword [esi]
push edi
push 1
push ecx
xor ebx, ebx
mov dword [ebp + 0x10], ecx
push eax
mov ecx, esi
mov dword [ebp + 0xc], eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [edx + 0x8c]
mov edi, dword [esi + 0x174]
cmp edi, ebx
mov dword [ebp - 0x10], eax
je 0x402346
push edi
call fcn.004323ad
mov ebx, eax
test ebx, ebx
pop ecx
je 0x402316
mov eax, dword [ebx + 0xc]
push 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0x38]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x48]
test eax, eax
je 0x40227c
lea eax, [ebx + 0x10]
push eax
call fcn.004276ca
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, ebx
push 0x202
call fcn.0043263b
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0x174], eax
jne 0x4022d3
mov eax, dword [ebx + 0x3c]
xor ecx, ecx
cmp eax, ecx
je 0x4022c5
cmp word [eax], cx
je 0x4022c5
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x402316
cmp dword [ebx + 0xc], ecx
je 0x402316
mov dword [ebp - 4], 1
jmp 0x402316
mov eax, dword [ebx]
push 1
push 0
mov ecx, ebx
call dword [eax + 0x38]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x48]
test eax, eax
je 0x4022f2
lea eax, [ebx + 0x10]
push eax
call fcn.004276ca
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, ebx
push 0x2a3
call fcn.0043263b
mov dword [ebp - 8], 1
xor ecx, ecx
cmp dword [ebp - 4], ecx
mov dword [esi + 0x174], ecx
je 0x402327
push 0x67
jmp 0x40233f
cmp dword [ebp - 8], ecx
je 0x402346
cmp dword [ebp - 0xc], ecx
je 0x402346
lea eax, [esi + 0x170]
cmp edi, dword [eax]
jne 0x40233d
mov dword [eax], ecx
push 0x6a
mov edi, ebx
call fcn.00401e0a
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x403c3b
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x5980d9
call fcn.00595190
sub esp, 0x10
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.00432a8a
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
push str.__02d__02d__02d__03d__n
lea ecx, [ebp + 8]
call fcn.00413490
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4