joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4069d0
Capabilities:
Terminate process

Disassembly:
call fcn.004075a8
jmp 0x4069df
push 0x5c
push 0x407900
call fcn.00407674
and dword [ebp - 0x24], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov edi, dword [eax + 4]
xor esi, esi
mov edx, 0x4088ec
mov ecx, edi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x406a2c
cmp eax, edi
jne 0x406a3e
mov esi, ebx
cmp dword [0x4088f0], ebx
jne 0x406a4b
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x406a7a
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x406a15
cmp dword [0x4088f0], 0
jne 0x406a74
mov dword [0x4088f0], ebx
push 0x401018
push 0x40100c
call fcn.00406bca
pop ecx
pop ecx
test eax, eax
je 0x406a7a
jmp 0x406bb3
mov dword [0x408224], ebx
cmp dword [0x4088f0], ebx
jne 0x406a9d
push 0x401008
push section..text
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x4088f0], 2
test esi, esi
jne 0x406aaa
xor eax, eax
mov ecx, 0x4088ec
xchg dword [ecx], eax
cmp dword [0x4088f8], 0
je 0x406ad8
push 0x4088f8
call fcn.004074a0
pop ecx
test eax, eax
je 0x406ad8
push 0
push 2
push 0
mov esi, dword [0x4088f8]
mov ecx, esi
call dword [0x40a290]
call esi
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov edi, dword [ebp - 0x24]
mov cl, byte [esi]
cmp cl, 0x20
ja 0x406b36
test cl, cl
je 0x406af4
test edi, edi
jne 0x406b36
mov al, byte [esi]
test al, al
je 0x406b04
cmp al, 0x20
ja 0x406b04
inc esi
mov dword [ebp - 0x20], esi
jmp 0x406af4
test byte [ebp - 0x40], 1
je 0x406b10
movzx eax, word [ebp - 0x3c]
jmp 0x406b13
push 0xa
pop eax
push eax
push esi
push 0
push 0x400000
call main
mov dword [0x408220], eax
cmp dword [0x408238], 0
jne 0x406b8f
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cl, 0x22
jne 0x406b47
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x24], edi
movzx eax, cl
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x406b5a
inc esi
mov dword [ebp - 0x20], esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x406ae5
cmp dword [0x408224], 0
jne 0x406ba3
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x408220]
mov dword [ebp - 4], 0xfffffffe
jmp 0x406bbf
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.004076bc
ret

Function at 0x40737f
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x407928
call fcn.0040785c
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4073df
cmp eax, 0xffffffff
je 0x4073df
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x4073d8
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x4073d8
cmp edx, 0x10000000
jae 0x4073d8
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x4073d5
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.004078a1
ret 4
Function at 0x407450
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40748e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407486
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407490
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407476
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407570
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x407586
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4075a1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rdata
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x3ea63233
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x60767538
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x421d80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5bdd90]
xor eax, ebp
je 0x421ded
jne 0x421ded
mov eax, dword [0xe91580]
adc dword [ecx - 0x3deecaae], edi
mov eax, 0x106de560
lea ecx, [esi + 0x37c]
cmp byte [ebx + 0xac], 1
push 0xadae0c
push 0xa29f90
mov eax, dword [0x112ae170]
push 0xacc620
push 0x114849e0
mov dword [0x100ce454], eax
lea esi, [eax*4]
push 0x7b3480
dec ecx
cld
push eax
aaa
dec esp
cli
lds edi, [edi]
cmc
push esp
loope 0x421d9c
jmp 0x52fb2ea1
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [edi]
mov ecx, dword [edi + 4]
jmp 0x4227a3
shr eax, 8
push 0x421e83
ret
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
jmp 0x4224c7
mov eax, edx
jmp 0x421e39
mov eax, 0x473530
xchg edx, eax
ja 0x4225b9
pushal
mov al, byte [0x28c496de]
popal
cli
shr eax, 8
je 0x422b79
jne 0x422b79
mov eax, 0x4a0944
push 0x4bfa90
push 0x47e334
call dword [0x9a8358]
mov dword [0x445268], 0x445238
xor eax, 0x46e53b96
xchg esi, eax
cmp esp, ebp
inc esi
jno 0x42257a
outsb dx, byte [esi]
into
mov al, 0xb3
mov eax, dword [0xf681827]
mov dh, 0x47
invalid
mov eax, ecx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0xb], al
lea edx, [esi*8]
mov eax, ecx
je 0x42258a
jne 0x42258a
mov edi, 0x4752e0
push 0xa00ddc
cmp dword [ebp - 0x264], edi
fld qword [ebx + 0x10]
push 0xd2c
add byte [0xcc00623c], ch
mov dword [edi + esi + 0x5d], eax
cmp dword [ebp - 0x114c], 0x449
add byte [ebp - 0x15], al
jmp dword [ecx*4 + 0x4b0f00]
mov eax, esi
shr eax, 0x1d
shl ecx, 3
or ecx, eax
je 0x422608
jne 0x422608
push 0x902
mov ecx, 0x103e3618
or dword [0xe482a8], 1
push 0xb50ad0
push 0x11470d40
mov edx, dword [ebp - 0x9cf8]
push 0xa8b5f0
jmp dword [ecx*4 + 0x4286f0]
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
je 0x421f93
jne 0x421f93
add ax, 0x30
call dword [0x45e178]
push 0xb14744
mov dword [ebx], 0x1010a530
adc dword [edx - 0x6deec0e8], edx
add eax, 0xe453a0
push 0x100e0cd0
push 0xb129e0
push 0xaeb480
mov edi, 0x45160a
fld dword [esp + 0x1c]
jmp dword [0x106e0370]
Function at 0x43fa03
Capabilities:
Hash data with crc32

Disassembly:
je 0x43fbf7
jne 0x43fbf7
cmp dword [0x69a7642c], esi
lea edi, [eax + 0xcd0ea8]
cmp dword [0xd0c3a8], ecx
or dword [eax + 0x20], 0x80
mov byte [eax + esi - 1], 0
cmp dword [0xdeb3d8], edi
mov dword [0x112765ac], eax
mov dword [esi], 0xace0bc
movsx eax, word [ebp - 0x1c4]
push 0xaab9a8
int1
rcr byte [esi], 1
loop 0x43f2e7
sub eax, 0x22a93090
aaa
out 0x83, al
leave
jmp [eax + 3]
movsd dword es:[edi], dword [esi]
add byte [eax + 0x4561b4], bh
mov eax, 0x10d7a2b8
mov edx, 0xb1ced4
push 0xa76714
mov dword [esi], 0x9fb764
push 0x4f0dcc
mov dword [edx + esi + 0x13c], 0x10261f8c
push 0x697a2e6c
mov byte [ebp - 0x132], 0
mov ecx, 0x15
sti
and bh, byte [edi + 0x4232049f]
cmp byte [eax], bl
mov al, byte [0x6b249244]
dec edi
arpl word [eax], bx
cwde
jmp 0x43fa03
not ecx
xor ebx, ebx
je 0x43fafa
jne 0x43fafa
cmp dword [ebp + 0xc], eax
jmp dword [ecx*4 + 0x86d66c]
shr ecx, 8
je 0x43f8c9
jne 0x43f8c9
mov dword [0x112b2da8], eax
neg dword [ebp + 0x12]
push 0xa233fc
push 0x1016adc0
mov dword [0x1124da0c], eax
mov dword [0x111d2de4], eax
cmp dword [ebp + 0x1c], 0x80000000
mov dword [esi], 0xa0e618
pmaddwd xmm6, xmmword [0x69809430]
mov eax, 0x10dab0f8
push 0x100d8c6c
mov ecx, dword [0x42be3c]
movzx eax, word [0xf376c4]
add ebp, 0x518
mov dword [esi + 0x5c], 0x42edc0
push 0xaf4520
cmp byte [0xdef019], 0
mov dword [esp + 0xec], 0x1028d9a4
hlt
mov dword [ebp - 0x128], ebx
mov dword [ebp - 4], 0xfffffffe
push 0x43fb85
ret
push eax
push 0x43fe3a
ret
je 0x43f33b
movzx eax, byte [esi]
xor eax, ecx
je 0x43fd59
jne 0x43fd59
mov ecx, dword [0x1152b260]
lock cmpxchg dword [ebx], edx
mov dword [esi + 0x694], 1
mov dword [esi + 4], 0x63eba0
jmp dword [0x49140c]
xor ecx, dword [eax*4 + 0x401240]
push 0x43f5f1
ret
mov eax, edx
dec edx
mov dword [ebp - 0x130], edx
test eax, eax
jmp 0x43f814
mov dword [ebp - 0x124], esi
jmp 0x43f925
cmp ecx, 0x39b5d60d
sete bl
jmp 0x43f464
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4b19b0
push 0x4a41c0
mov eax, dword fs:[0]
jmp 0x43f67a
and eax, 0xff
jmp 0x43f37a
Function at 0x46da70
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
push 0x46db1c
ret
Function at 0x4ae80e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5bdd90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004a7ba2
mov dword [ebp - 0x14], eax
cmp dword [0x5bfcb8], edi
jne 0x4ae8ff
push 0x800
push edi
push 0x402d08
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4ae88c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4ae9df
push 0x402d08
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4ae9df
push 0x402d20
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4ae9df
push eax
call ebx
push 0x402d2c
push esi
mov dword [0x5bfcb8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x402d3c
push esi
mov dword [0x5bfcbc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x402d50
push esi
mov dword [0x5bfcc0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5bfcc8], eax
test eax, eax
je 0x4ae8fc
push 0x402d6c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5bfcc4], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4ae924
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4ae917
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4ae939
push 4
pop eax
jmp 0x4ae9e1
cmp dword [ebp - 0x14], edi
je 0x4ae939
push dword [0x5bfcb8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4ae91e
mov eax, dword [0x5bfcc4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4ae997
cmp dword [0x5bfcc8], esi
je 0x4ae997
push eax
call ebx
push dword [0x5bfcc8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4ae997
test eax, eax
je 0x4ae997
call ecx
test eax, eax
je 0x4ae98c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4ae98c
test byte [ebp - 8], 1
jne 0x4ae997
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4ae9c7
mov eax, dword [0x5bfcbc]
cmp eax, esi
je 0x4ae9c4
push eax
call ebx
test eax, eax
je 0x4ae9c4
call eax
mov edi, eax
test edi, edi
je 0x4ae9c4
mov eax, dword [0x5bfcc0]
cmp eax, esi
je 0x4ae9c4
push eax
call ebx
test eax, eax
je 0x4ae9c4
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x5bfcb8]
call ebx
test eax, eax
je 0x4ae9df
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4ae9e1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a3b5a
leave
ret
Function at 0x4030a0
Capabilities:
Create mailslot

Disassembly:
push ecx
cmp dword [0x2b885fc], 3
jne 0x4030c6
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMailslotA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [esp], 0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov eax, dword [esp + 0xc]
xor dword [esp], eax
mov eax, dword [esp]
mov ecx, dword [esp + 8]
mov dword [ecx], eax
pop ecx
ret 0xc

Function at 0x4032f0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, dword [0x2b885fc]
mov ecx, dword [0x2b88570]
sub esp, 0xc0c
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x403404
mov edi, dword [sym.imp.KERNEL32.dll_SetHandleCount]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x2b885fc], 0x959
jne 0x4033ea
push 0
call edi
push 0
lea eax, [esp + 0x41c]
push eax
push 0
call ebx
push 0
push 0
call esi
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0x402d08
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x402d18
push 0x402d20
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov edx, dword [esp + 0x10]
push edx
call fcn.00403110
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403330
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0c
ret
Function at 0x409930
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42ab70]
jne 0x40993a
repz ret
jmp fcn.0040b95c

Function at 0x40a303
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.00405e53
and dword [ebp - 4], 0
cmp dword [0x4317cc], 0
mov ebx, eax
jne 0x40a3b4
push 0x402bfc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a465
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402bf0
push edi
call esi
test eax, eax
je 0x40a465
push eax
call fcn.00405de1
mov dword [esp], 0x402be0
push edi
mov dword [0x4317cc], eax
call esi
push eax
call fcn.00405de1
mov dword [esp], 0x402bcc
push edi
mov dword [0x4317d0], eax
call esi
push eax
call fcn.00405de1
mov dword [esp], 0x402bb0
push edi
mov dword [0x4317d4], eax
call esi
push eax
call fcn.00405de1
pop ecx
mov dword [0x4317dc], eax
test eax, eax
je 0x40a3b4
push 0x402b98
push edi
call esi
push eax
call fcn.00405de1
pop ecx
mov dword [0x4317d8], eax
mov eax, dword [0x4317d8]
cmp eax, ebx
je 0x40a40c
cmp dword [0x4317dc], ebx
je 0x40a40c
push eax
call fcn.00405e5c
push dword [0x4317dc]
mov esi, eax
call fcn.00405e5c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a40c
test edi, edi
je 0x40a40c
call esi
test eax, eax
je 0x40a403
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a403
test byte [ebp - 0xc], 1
jne 0x40a40c
or dword [ebp + 0x10], 0x200000
jmp 0x40a445
mov eax, dword [0x4317d0]
cmp eax, ebx
je 0x40a445
push eax
call fcn.00405e5c
pop ecx
test eax, eax
je 0x40a445
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a445
mov eax, dword [0x4317d4]
cmp eax, ebx
je 0x40a445
push eax
call fcn.00405e5c
pop ecx
test eax, eax
je 0x40a445
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4317cc]
call fcn.00405e5c
pop ecx
test eax, eax
je 0x40a465
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a467
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x4e4e4d71
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x5d945149
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4056d5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x4056f6
jl 0x4056ed
test edi, edi
jne 0x4056f6
xor eax, eax
xor edx, edx
jmp 0x4057b7
cmp dword [ebx + 0x38], 0
je 0x40570b
push eax
push edi
push dword [ebp + 8]
call fcn.004057bd
jmp 0x4057b7
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x405752
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x405752
cmp eax, edi
jb 0x40572c
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.004076f0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x405758
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x4057ac
mov ecx, ebx
call fcn.00404f1b
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x405797
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0040bab1
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x4057ac
jmp 0x40576a
test edx, edx
je 0x4057ac
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0040bab1
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x4058ac
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4058ce
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00405991
jmp 0x40598c
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x4058f4
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x4058f9
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov eax, ecx
cdq
mov dword [ebp - 4], eax
mov ecx, edx
mov dword [ebp - 8], ecx
test edi, edi
jl 0x405959
jg 0x40590e
test esi, esi
je 0x405959
test ecx, ecx
jl 0x405954
jg 0x405918
test eax, eax
je 0x405954
cmp edi, ecx
jg 0x40592a
jl 0x405922
cmp esi, eax
jae 0x40592a
mov eax, esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], edi
push eax
push dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.004076f0
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [ebp - 8]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x40595c
mov ecx, dword [ebp + 8]
jmp 0x405966
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x405980
jg 0x405966
test esi, esi
je 0x405980
cmp dword [ebx + 0x4c], 0
je 0x405980
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0040c11d
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x406f42
Capabilities:
Parse pe header

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

Function at 0x412a33
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004128a9

Function at 0x41d360
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41d38d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41d38d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x41d6c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 8], eax
push 0
push 0x4a03
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0xc], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3a98
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x10], eax
push 0x4037d0
push str.gtyDTYAFstyfdte
push 0x4492d0
call fcn.004034b0
add esp, 8
mov ecx, eax
call fcn.004026f0
call fcn.0041d740
xor eax, eax
mov esp, ebp
pop ebp
ret