joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e69e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x40e872
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x415a00]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x40e872
test cl, 0x48
je 0x40e709
cmp byte [eax + 5], 0xa
je 0x40e709
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40e75b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x40e743
call fcn.004072b8
mov dword [eax], 9
call fcn.004072c1
mov dword [eax], esi
jmp 0x40e753
cmp eax, 0x6d
je 0x40e872
push eax
call fcn.004072ca
pop ecx
or eax, 0xffffffff
jmp 0x40e874
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x40e86d
test eax, eax
je 0x40e782
cmp byte [ebx], 0xa
jne 0x40e782
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x40e78b
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x40e867
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x40e857
cmp al, 0xd
je 0x40e7bd
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x40e849
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x40e7d7
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x40e7d2
add dword [ebp + 0x10], 2
jmp 0x40e82b
mov dword [ebp + 0x10], eax
jmp 0x40e845
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40e7ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40e845
cmp dword [ebp - 0xc], 0
je 0x40e845
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x40e820
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x40e82b
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x40e848
cmp ebx, dword [ebp + 0xc]
jne 0x40e830
cmp byte [ebp - 1], 0xa
jne 0x40e830
mov byte [ebx], 0xa
jmp 0x40e848
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0040673d
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x40e849
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x40e7a1
jmp 0x40e867
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x40e867
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x40e874
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407180
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 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
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 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x42c005
Capabilities:
Packed with generic packer

Disassembly:
jmp fcn.0042a8d0
jmp section.42vab535
Function at 0x40cab6
Capabilities:
Encode data using xor

Disassembly:
mov ah, 0x2a
cdq
in eax, 0x80
mov cl, 0x57
test byte [eax - 0x49], dl
pop ebp
xor byte [ecx - 0x48af7ba9], 0x5d
aad 0x2d
xchg esp, eax
jns 0x40caba
fsubr st(3)
cdq
fadd qword [edx + 0x6e]
int3

Function at 0x44e296
Capabilities:
Encode data using xor

Disassembly:
add byte [eax], al
pop ss
add dword [eax], ecx
mov edx, eax
and eax, 0x7fff
add byte [esi], bl
cmp eax, 0xa0007fff
add dword [edx], esp
test word [esi + 6], 0x8000
add byte [eax], al
cmp dword [esi], 0
jne 0x44e2c2
int1
add dword [eax + eax], eax
add byte [eax], al
xor byte [ebx + eax], 0
add byte [eax], al
rol dh, cl
inc ebx
add eax, dword [eax]
mov edx, 1
fld xword [esi]
sub eax, 0xff
imul eax, eax, 0x10f4d10
sar eax, 0x10
inc eax
mov dword [ebp - 8], eax
add byte [eax], al
add byte [eax], al
add byte [ebx], ch
inc ebp
push eax
add ecx, esp
push ebx
mov ebx, dword [ebp - 4]
call 0xff44e31f
pop ebx
frndint
mov edx, dword [eax]
add ebx, ebx
scasd eax, dword es:[edi]
nop
xor dword [ecx], ebx
fadd dword [eax]
add ch, bl
jge 0x44e2fd
wait
lodsw ax, word [esi]
add esi, esi
add byte [ecx + 0x74], al
or edx, ebx
mov bh, 0
add byte [ecx], bl
inc dword [ebp - 8]
das
add eax, ebp
lea edi, [ebx + 3]
mov edx, 9
wait
mov al, byte [edx + ebp - 0x19]
sahf
add eax, eax
call 0x10296335
add byte [eax], al
xor byte [esi - 0x55], ah
dec edx
jne 0x44e347
add eax, eax
stosb byte es:[edi], al
mov edi, dword [ebp - 8]
add edi, dword [ebp]
add byte [edi], al
xor eax, eax
jmp 0xff466cc3
Function at 0x468e7d
Capabilities:
Encode data using xor

Disassembly:
or dword [ebp - 0x80], esp
test eax, 0xf031e007
jne 0x468ed2
sub byte gs:[ecx - 0xfce1ff9], 0x75
dec ebx
xor cl, byte [ebx]
xchg esp, eax
adc al, 0xf3
sub eax, dword [edx - 0xe]
cmp al, 0x2d
or al, 0x41
lds esp, [0x920a5a80]
pop esi
iretd
pop edi
out 0xd3, al
push 0x3a
jno 0x468f2c
inc ecx
mov esp, 0x8701dfb9
jmp 0x468e7e
jns 0x468e8f
mov byte [0xf171014c], al
pop ebx
jns 0x468e7e
ret
aad 0xa2
push esp
inc esi
mov edi, 0xfae88dc3
test eax, 0xd87106d7
in al, dx
xor dword [edi + eax*4], 0x64
jbe 0x468f31
ret
xor al, 0x87
jbe 0x468f31
invalid
lodsd eax, dword [esi]
push eax
sub esi, dword [ecx - 0x2c19e7c3]
inc ebx
mov dl, 0x6f
and cl, byte [ecx - 0x3440c4c2]
jp 0x468f84
cli
jmp 0x468ee2
lcall 0xd3e0, 0xe5f24fb1
neg dword [eax]
jle 0x468f3c
sal edi, cl
sbb byte [esi - 0x4d], bh
lcall 0xea2a, 0x776062a8
bound esp, qword [eax + 0x77]
sub ch, dl
add al, 0x9c
lds edx, [edi + 0x2be45afe]
pop ss
mov edx, 0x7933593c
inc edi
sbb dword [edx - 0x64263807], esi
aaa
push edi
jnp 0x468f40
cmp dh, dl
pop ds
mov bh, 0x2c
pop ss
rcl byte [edi], cl
cmp eax, 0x810df99b
pop ss
sbb dword [edx], ebx
jne 0x468f8b
fstp xword [ecx + 0xb]
adc eax, 0x519b6c9d
push ecx
int 0x79
pop ss
mov eax, ebx
js 0x468fe8
pop ecx
out 0x6f, eax
aam 0x71
ja 0x468f7e
invalid
mov ecx, 0x2a9e6b3
jge 0x468fc3
sbb dword [ecx - 0xa], eax
test ch, cl
dec ecx
cmp ecx, dword [edx + 0xb78e749]
or eax, ebx
push 0x79c25923
xchg esi, eax
fmul dword [ebx - 0x77]
fcmovnbe st(0), st(4)
and eax, 0x29d71873
jl 0x468fbf
push esp
sbb dword [ecx + 0x67], edx
dec ebp
sbb al, 0x94
add al, 0x9c
jp 0x46901b
out dx, al
push esi
cmpsd dword [esi], dword es:[edi]
adc dl, byte [ecx - 0x7474ba99]
jno 0x46905e
cmp al, 0xeb
or al, 0xb8
or ecx, ebp
pop ss
stosb byte es:[edi], al
mov ah, 0x67
in eax, 0x59
fimul dword [ecx + ecx*4 - 0x67b33d6a]
ja 0x469084
test byte [ebp - 0x40], ah
pop ds
sbb byte [edi + 0x61], bh
fiadd word [ecx + 0x206aa1ff]
pop eax
xor dword [esi + 0x11], ebx
adc eax, 0xd4a72662
bound ebp, qword [ecx + 0x1fc6e957]
jbe 0x4690ba
xor dword [ebx - 0x64feb7d6], ebx
pause
stosd dword es:[edi], eax
mov edi, gs
add dword [ebx - 0x73546f0d], ebx
out dx, eax
out dx, eax
sar byte [esi], 0xf
or bl, bl
cmp al, 0x42
push esp
inc eax
pop esp
loop 0x46902d
sbb bl, byte [esi + 0x63ae7826]
invalid
inc esi
cmovne edi, dword [ecx]
pop ebx
dec ecx
push ss
xor al, 0x3b
mov ah, 0x72
popal
invalid
push edx
mul dword [edi]
test eax, 0xb22f6b06
adc al, 0xaa
or esp, esi
sbb al, 0xd7
neg dword [edx - 0x35804731]
sahf
test dword [ecx + 0x7f83838c], ebx
xchg esp, eax
ret
Function at 0x6076a6
Capabilities:
Encode data using xor

Disassembly:
sbb ebx, dword [ebx]
cmp ebp, eax
jnp 0x60763f
pop ebx
add eax, dword [ebx - 0x55]
xchg ebp, eax
pop esi
imul esi, esi, 0xffffff82
mov dword [eax - 0x61], edx
jg 0x607616
mul dword [esi - 0xd1a707a]
out 0x20, eax
cmpsb byte [esi], byte es:[edi]
xchg byte [edi + 0x20e7f2e5], cl
out 0x91, eax
sub al, 0x71
mov ebp, 0xcf32005c
seto byte [ecx]
dec ecx
sbb byte [esi - 0x14], cl
je 0x607610
xchg ebx, eax
test dword [eax + 4], 0xcfaea3c
sal byte [esi + 0x11], 0x2a
cmp eax, 0x8baf1ea6
sub bh, byte [0x8baf1ea6]
dec eax
sub al, byte [edx + 0x6d5d66fe]
cmp bl, cl
fdivr dword [esi]
jae 0x607649
and al, 0x3a
cwde
int3
push 0x52
mov ch, 0xa5
arpl word [ebx - 0x4a], cx
and dl, dh
jne 0x607625
shr dl, cl
stc
stc
xor dword [edi + 0x1a1f3da], 0xa242ed87
cmp eax, 0x422c9986
dec ecx
scasd eax, dword es:[edi]
loop 0x607686
cwde
in eax, dx
inc edi
and esi, dword [ebx + ecx*2]
int3

Function at 0x6297dd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6313b0
cmp edx, dword [eax]
je 0x6297ff
add eax, 8
inc ecx
cmp eax, 0x631440
jl 0x6297f0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6313b0]
jne 0x62992d
mov eax, dword [0x638d40]
cmp eax, 1
je 0x629907
test eax, eax
jne 0x629830
cmp dword [0x6312d8], 1
je 0x629907
cmp edx, 0xfc
je 0x62992d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x629867
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0062a1c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062a650
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x6298aa
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062a650
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62e7a4
push edi
call fcn.0062c520
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0062a1c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062a1d0
lea eax, [ebp - 0xa0]
push 0x62e784
push eax
call fcn.0062a1d0
push dword [esi + 0x6313b4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0062a1d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062c494
add esp, 0x2c
pop edi
jmp 0x62992d
lea eax, [ebp + 8]
lea esi, [esi + 0x6313b4]
push 0
push eax
push dword [esi]
call fcn.0062a650
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 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43201e
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x1ccc7d8e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x1e35072b
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x402ea0
Capabilities:
Create mailslot

Disassembly:
push ecx
cmp dword [0x2b891c4], 3
jne 0x402ec6
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 0x4030f0
Capabilities:
Enumerate gui resources
Get disk information

Disassembly:
mov eax, dword [0x2b891c4]
mov ecx, dword [0x2b89138]
shr eax, 3
sub esp, 0xc08
test eax, eax
jbe 0x403206
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x2b891c4], 0x959
jne 0x4031e8
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 0x402b00
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x402b10
push 0x402b18
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.00402f10
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403130
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc08
ret
Function at 0x4087a0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42ba30]
jne 0x4087aa
repz ret
jmp fcn.00409c9c

Function at 0x409173
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.0040576a
and dword [ebp - 4], 0
cmp dword [0x43239c], 0
mov ebx, eax
jne 0x409224
push 0x402a54
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4092d5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402a48
push edi
call esi
test eax, eax
je 0x4092d5
push eax
call fcn.004056f8
mov dword [esp], 0x402a38
push edi
mov dword [0x43239c], eax
call esi
push eax
call fcn.004056f8
mov dword [esp], 0x402a24
push edi
mov dword [0x4323a0], eax
call esi
push eax
call fcn.004056f8
mov dword [esp], 0x402a08
push edi
mov dword [0x4323a4], eax
call esi
push eax
call fcn.004056f8
pop ecx
mov dword [0x4323ac], eax
test eax, eax
je 0x409224
push 0x4029f0
push edi
call esi
push eax
call fcn.004056f8
pop ecx
mov dword [0x4323a8], eax
mov eax, dword [0x4323a8]
cmp eax, ebx
je 0x40927c
cmp dword [0x4323ac], ebx
je 0x40927c
push eax
call fcn.00405773
push dword [0x4323ac]
mov esi, eax
call fcn.00405773
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40927c
test edi, edi
je 0x40927c
call esi
test eax, eax
je 0x409273
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409273
test byte [ebp - 0xc], 1
jne 0x40927c
or dword [ebp + 0x10], 0x200000
jmp 0x4092b5
mov eax, dword [0x4323a0]
cmp eax, ebx
je 0x4092b5
push eax
call fcn.00405773
pop ecx
test eax, eax
je 0x4092b5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4092b5
mov eax, dword [0x4323a4]
cmp eax, ebx
je 0x4092b5
push eax
call fcn.00405773
pop ecx
test eax, eax
je 0x4092b5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43239c]
call fcn.00405773
pop ecx
test eax, eax
je 0x4092d5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4092d7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10006c8e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.10003580
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10006d29
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x1000ae0c]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x10006d29
cmp eax, 1
je 0x10006d4a
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10006d29
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x10006cf6
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x10006d25
xor eax, eax
inc eax
jmp 0x10006d69
cmp edi, eax
jae 0x10006d2d
xor eax, eax
jmp 0x10006d69
cmp eax, esi
jae 0x10006d34
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x1000ae0c]
jmp 0x10006d4d
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x406dc0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004096ec
test esi, esi
jne 0x406df6
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00409874
jmp 0x406e14
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00406d04
mov edi, eax
test esi, esi
je 0x406e14
cmp dword [ebx], 0
je 0x406e14
dec esi
jmp 0x406dfd
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x4083b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00408810
mov byte [esp], al
cmp byte [esp], 0
jne 0x40853a
test edi, edi
je 0x40853a
mov byte [esp + 1], 0
test ebp, ebp
jle 0x40847a
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x408455
cmp edi, 0xffffffff
je 0x408415
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408415
mov byte [esp], 0
jmp 0x40853a
mov ebx, dword [esi]
cmp ebx, 1
jg 0x408455
test ebx, ebx
jne 0x408447
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x408447
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x40853a
lea eax, [esp + 0xc]
call fcn.00408090
dec ebp
test ebp, ebp
jg 0x4083fa
cmp edi, 0xffffffff
je 0x40847a
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408478
mov byte [esp], 0
jmp 0x40853a
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x4083be
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40847a
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.004085a8
mov edx, eax
mov ebx, dword [0x60e8fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x4084de
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x4084dc
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x4084de
xor edi, edi
cmp byte [esp], 0
je 0x408504
mov ebx, dword [esi]
test bl, 1
jne 0x40851a
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4084e4
mov byte [esp + 1], 1
jmp 0x40851a
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408504
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x408491
cmp byte [esp], 0
je 0x40853a
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40937c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x60e05c], 0
je 0x4093e3
cmp word [0x60e348], 0xd7b2
jne 0x4093a5
cmp dword [0x60e350], 0
jbe 0x4093a5
mov eax, 0x60e344
call dword [0x60e360]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x409410
call fcn.00409f58
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x604032], 0
jne 0x4093ff
push 0
push 0x6049c2
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4095ac
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x604034], 0
je 0x4095d7
mov edx, edi
mov eax, esi
call dword [0x604034]
mov ebx, eax
jmp 0x4095e8
mov eax, 8
call fcn.00406a40
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x60e05d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x409574
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x409618
mov eax, ebx
call fcn.00406a5c
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc