joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005ba70
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x1005baa3
push esi
call fcn.10069e20
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x1005ba9c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x1005bb29
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x1005bb12
mov eax, dword [esi + 8]
test eax, eax
je 0x1005bac7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x1005bb0e
cmp eax, 2
je 0x1005bb12
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1005baba
cmp eax, 3
je 0x1005baed
cmp eax, 1
jne 0x1005baba
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x1005baba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x1005baba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.1005bb50
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x1005bb38
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.1005bb50
add esp, 4
pop esi
ret

Function at 0x1005c3c0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x1005c3e1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x1005c3e1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x1005c3e1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1005c830
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x1005c83b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x1005c93e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x100a1000]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100a1000]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100a1000]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100a1000]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100a1000]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100a1000]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100a1000]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100a1000]
xor eax, edx
inc ecx
dec edi
jne 0x1005c856
pop edi
test esi, esi
je 0x1005c960
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100a1000]
xor eax, edx
inc ecx
dec esi
jne 0x1005c942
pop esi
pop ebx
not eax
ret
Function at 0x10076fc0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x10077009
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x10077480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100989b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.10077030
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.100770b0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.100770b0
lea ecx, [esi + 0xc]
call fcn.1008a7e6
lea ecx, [esi + 0x10]
call fcn.1008a7e6
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.10078640
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.10078640
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.10078640
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.1008a85b
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.1008a85b
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x10078830
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x10078896
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x10078896
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x10078877
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x1008cbe8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1008cc20
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.1008acb6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1008ac8e
jmp 0x1008cc2c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x1008e2d6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x1008e318
call fcn.10093d37
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1008e318
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1008e30f
xor eax, eax
jmp 0x1008e320
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1008e326
pop edi
pop esi
pop ebx
ret 4
Function at 0x401016
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4010a6
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x4010a3
push 0x5c
push esi
call dword [sym.imp.MSVCR80.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4010a3
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40107c
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x401075
test ebp, ebp
je 0x401075
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x40107c
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x40109d
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x40109d
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x40102e
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x401bc8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x401bd7
pop dword [ebp - 0x3c]
mov eax, 0xf263b624
add eax, 0xddc65b3
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x3e00afb
add dword [ebp - 0x4c], 0x4a723a50
mov dword [ebp - 0x48], 0x39a0713b
sub dword [ebp - 0x48], 0x76d24f6
mov dword [ebp - 0x44], 0x724112a3
add dword [ebp - 0x44], 0xda0b318b
mov dword [ebp - 0x40], 0xc69aacff
sub dword [ebp - 0x40], 0xc69aacff
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xc90c51ab
sub dword [ebp - 0x4c], 0x5499e855
mov dword [ebp - 0x48], 0xa74b7484
sub dword [ebp - 0x48], 0x65df130f
mov dword [ebp - 0x44], 0xab941315
add dword [ebp - 0x44], 0xb7db5957
mov dword [ebp - 0x40], 0x16bafeec
add dword [ebp - 0x40], 0xe9450114
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x345b4a91
add eax, 0xcbe5266f
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x388ef
push 0
call eax
mov ecx, 0x4fef
xor ebx, ebx
add ebx, eax
mov edi, 0x8126953b
sub edi, 0x80e5953b
add edi, dword [ebp - 0x3c]
mov edx, 0xcdb4ba35
add edx, 0x2d8a3929
xor dword [ebp - 8], ebx
mov esi, dword [edi]
sub dword [ebp - 0x18], eax
xor esi, edx
sub dword [ebp - 0x18], ebx
mov dword [ebx], esi
add ebx, 0xe1880a4
sub ebx, 0xe1880a0
add edi, 0xbabe608e
sub edi, 0xbabe608a
loop 0x401cf0
add eax, 0x2d44c245
sub eax, 0x2d438fb6
mov ebx, eax
add eax, 0xe9df9438
add eax, 0x16206bcd
mov ecx, 0x400000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x44a210
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x14
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
push 0x859c40
mov dword [esp + 0x34], 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
lea ecx, [esp + 0xc]
push ecx
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push 0x14
push 0x40
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test edi, edi
je 0x44a280
mov edx, dword [0x659a70]
push 0x659788
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.GlobalDDiskDoctor
push 0
lea eax, [esp + 0x18]
push 1
push eax
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
pop edi
mov dword [0x659a6c], eax
pop esi
add esp, 0x14
ret

Function at 0x4f9450
Capabilities:
Check for software breakpoints

Disassembly:
aam 0x41
cmp eax, 0xdd3ac11f
cmp al, 0xcc
add bh, byte [ebp + 0x41]
cmp eax, 0x499cb2f3
xor esi, ecx
dec esi
xchg ebx, eax
mov ebp, dword [ebp - 0x4aa0123c]
mov cl, 0x59
invalid
sti
jmp [edi + 0x51]
jp 0x4f9454
daa
js 0x4f9386
loope 0x4f93b7
sub bh, dh
out dx, al
out 0xb1, eax
xchg ecx, eax
mov dword [eax + 0x1f24db31], eax
xchg ebp, eax
test byte [ebx + edx*8 + 0x29ada984], 0x90
sahf
or eax, 0x822b8d03
mov eax, 0x7aeec03e
out dx, eax
jmp 0xcc4b7852
in al, dx
neg byte [ebx - 1]
adc byte [ecx], ah
cmpsd dword [esi], dword es:[edi]
jp 0x4f94aa
xor dword [edi - 0x6b], eax
xchg edx, eax
stc
pop edx
pop esi
test byte [esi - 0x3762e026], 0xed
not eax
lahf
out 7, eax
in al, dx
in al, dx
and ch, ch
push edx
in eax, 0x5f
pop edi
sbb dword [edx + 0x7a], esi
jb 0x4f9451
jp 0x4f94c8
cli
loope 0x4f94ba
xchg esp, eax
sar dword [ebx - 0x1df9f003], 0xb9
jo 0x4f93ed
inc edi
inc byte [edi + 0x1367a041]
mov eax, dword [0x21340dab]
das
outsb dx, byte [esi]
push esp
mov edx, 0xaf4bfceb
jl 0x4f942e
dec edi
add al, 0xa7
outsb dx, byte [esi]
aad 0x87
inc esp
mov ch, byte [ecx]
mov dl, 0x37
cmc
fdivr dword [esp + ebp*4]
xor al, 0xdd
and ah, byte [esi + 0x66a77446]
sahf
mov al, byte [0xaba2a695]
iretd
invalid
Function at 0x53f40e
Capabilities:
Check for vm using instruction vpcext

Disassembly:
mov byte [ecx + edx*4], dl
dec edi
cdq
jno 0x53f431
mov edi, 0xb4447a6c
in al, dx
pop ecx
mov cl, 0x73
test dword [ecx + 0x1c2b2c5], eax
out dx, al
rcr dword [edx + 0x43], cl
mov dl, 0xd3
add al, 0x73
movsd dword es:[edi], dword ss:[esi]
push es
test byte [edi + 0x76], ah
xor al, 0x5f
invalid
pop edx
dec byte [ebp + ebp*2 + 0x7dd91726]
add eax, 0xc0045623
rol dword [ecx + ebx - 0x6c27ddab], 0x16
adc dword [ebx + eax*8 - 0x2d], ecx
cmpsb byte [esi], byte es:[edi]
dec edi
jg 0x53f3ea
push 0x70
je 0x53f3c6
xchg esp, eax
pop esi
push ebp
push edi
aad 0x8a
jae 0x53f4b7
xchg dword [ebx - 0x70e71cef], esp
inc ebx
xor edx, dword [ebp + 0x2469d381]
cmp edi, ebx
push edi
pop eax
ret 0x9f15
int3
cmpsb byte es:[esi], byte es:[edi]
dec edi
adc al, 0xdc
or byte [ecx + ebx], dl
nop
add bh, byte [ebx + 0x5592b523]
popal
add byte [edi - 0xe1b0fdb], bh
int1
sbb dword [ebx - 0x4e84aeab], edx
xchg ebx, eax
push ebp
push ecx
jnp 0x53f43f
out dx, eax
and eax, dword [ebx]
sbb dword [edx + 0x43], esi
cld
jmp 0x53f430
js 0x53f4d6
jp 0x53f481
loope 0x53f44d
js 0x53f489
push es
dec eax
add al, 0xcb
loope 0x53f4ec
int1
adc byte [esi + esi], cl
cmp dh, byte [esi - 0x56]
test ecx, eax
jns 0x53f472
inc edi
push edi
inc ebp
test dword gs:[ecx - 0x37], edx
leave
inc ecx
inc ebp
ret 0xc81c
push ds
xor esi, dword [edx]
mov al, 0x72
push ebx
sahf
inc dword [ecx + esi*2 + 0x78]
xor esp, dword [eax]
cmp esi, 0x56
loope 0x53f501
invalid
adc ebx, dword [esi]
dec ebp
jne 0x53f487
xor al, 0x3a
and ch, bh
push esp
lodsd eax, dword [esi]
and bh, byte [ecx - 0x78]
dec esp
invalid

Function at 0x542879
Capabilities:
Encode data using xor

Disassembly:
loop 0x5428d4
cdq
add al, 0xb1
out dx, eax
sbb byte [0x3f9d8603], 0xd7
daa
hlt
cld
or dword [edx - 0x6c], 0x1bd5db29
test byte [eax], ch
std
add eax, 0xe335ee13
xor al, 0xea
jge 0x542914
fcmovnbe st(0), st(5)
sbb eax, dword [eax + ebp - 0x11ecfa03]
xor eax, 0x7dea34e3
sub al, 0x55
push ebp
add dl, byte [ebp + edx*8 + 0xa]
push edi
or dword [esi], ecx
cmpsb byte [esi], byte es:[edi]
xlatb
aad 0x5f
or byte [ebx + 0x28], dh
adc dword [ebx + 0x7540be53], edx
cmp bl, byte [esi + esi*8]
in al, 0x62
mov dl, 0x9f
mov ah, 0x51
jbe 0x5428d9
inc ebp
leave
sbb al, 0xde
pop eax
push cs
invalid
in eax, 0x91
out dx, eax
dec eax
clc
mov cl, 0x3e
lodsd eax, dword [esi]
cli
inc esi
jne 0x542997
imul edx, dword [edi + 0xa], 0xffffffd9
out dx, eax
inc edx
imul esp, dword [edi + 0x7641306e], 0xffffffb4
sbb ebp, eax
cli
inc ebp
cwde
test byte [esi + 0x184884fb], ah
test dword [edx - 0x596b8ca9], esp
lodsd eax, dword [esi]
and edi, dword [edi - 0x601f74ed]
xchg edx, eax
aad 0xbd
push edi
jns 0x542964
les esi, fs:[ebp + 0x59]
push ecx
mov esp, 0x840c20b7
pop ebp
hlt
xor eax, dword [esi + esi]
fnstsw word [ebx + edi*8 - 0x55]
mov ss, word [ecx - 0x4a]
cmp al, 0xbc
aad 0x17
sar edx, 1
pop eax
xchg esp, eax
mov bl, 0xf2
jg fcn.00542990
jae 0x542986
sbb eax, 0xf50c7675
add al, 0x96
scasb al, byte es:[edi]
push 0x25
invalid
and eax, 0x4aee91c7
sub eax, 0x9da623c9
jno 0x542975
mov ebx, 0x72c50305
dec ebx
Function at 0x59d6ca
Capabilities:
Encode data using xor

Disassembly:
loop 0x59d6e9
jns 0x59d6db
dec esi
mov edi, 0xa6c612d6
idiv bh
les esp, [edx + 0x59f654a6]
pop ecx
enter 0xffffffffffffdcbd, 0x12
dec dword [eax - 5]
jnp 0x59d734
and dword [ebx], ecx
or eax, edi
and al, 7
ror byte [edi + 0x2d], cl
adc ch, cl
inc edi
cmp dword [ebx - 0x61], eax
bound esp, qword [esi - 0x5e0d8f95]
cmp eax, 0x4d81d113
sal byte [edi], 0xbe
jnp 0x59d775
das
sbb al, 7
sub byte [edx], 0x2d
push ecx
lea edx, [esi]
mov al, byte [0x4275a0d]
xchg esi, eax
adc byte [ebp + 0x36], al
xor byte [eax - 0x58], dl
or edi, dword [edi - 0x35]
int 0xdd
and ch, byte [esi + eax*8]
jmp 0xa51ab2fd
enter 0x6ba1, 0xfffffffffffffff4
wait
mov dl, 0x87
sbb eax, 0xc0039cbb
sub eax, 0x262376d
mov al, 0x1b
push edx
imul esi, dword [edx + 0x1a], 0x5cec4bee
retf 0xf3ab
fcmovu st(0), st(6)
lea esp, [eax - 0x50]
stosd dword es:[edi], eax
in eax, dx
aad 0x99
pop ebp
test al, 0x12
inc edx
add byte [ecx - 0x25], ch
invalid

Function at 0x5b886a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jo 0x5b8884
add byte [esi], dl
xchg esp, eax
inc ebx
jl 0x5b887f
mov bh, 0xe1
xchg edx, eax
xor ebx, dword [ecx + ebp + 0x65]
sub eax, 0xbc1565b3
mov esi, 0x9a9dbbca
jg 0x5b88ae
lahf
retf
push esp
daa
mov edi, 0x84f01bcb
jmp 0x5b8826
sahf
or edx, dword [edx - 0x1f11245c]
xchg edx, eax
movsb byte es:[edi], byte [esi]
fucomi st(6)
loopne 0x5b887d
clc
adc dh, bl
dec ecx
add al, 0x1b
dec edi
bound eax, qword [edi*2 + 0x1ccd802d]
xlatb
jge 0x5b88ea
fstp qword fs:[ecx + 0x33c04bc0]
dec ebx
int3
jae 0x5b88fd
push ds
pop edx
mov ebx, 0x9da9f4ed
lodsb al, byte [esi]
aad 0xff
xchg dword [ebp - 0x124863b1], esp
cmp eax, 0x388c8e8d
jo 0x5b8931
jmp 0x5b88e4
popfd
pop ebp
sbb ebp, edx
jecxz 0x5b8967
jb 0x5b8906
sbb eax, 0x3561ba3b
outsd dx, dword [esi]
xchg edi, eax
jns 0x5b8892
std
jg 0x5b8967
or al, 0x64
jbe 0x5b88c0
cmpsb byte [esi], byte es:[edi]
cmp esi, esp
mov ecx, esi
sbb byte [ebx + eax], ah
add byte [esi - 0x25], bl
int 0x35
push 0x9e5d026a
fcmovne st(0), st(5)
xor eax, 0x5d026a68
sahf
add esp, esp
sub al, 0xf5
call 0x16de68bb
imul edx, edi, 0xffffffe3
jecxz 0x5b88c9
cmp edi, ecx
xlatb
lds esp, [ebx - 0x25]
adc dword [edx], esp
inc esp
fdivr qword [ebx]
xchg ebx, eax
mov dl, bh
inc ebp
push 0x59
mov esi, 0x2f7cdf0
cdq
aad 0x4b
xor bl, byte [ebx + 0x403de01f]
add bl, byte [ecx - 0x64cdb42b]
pop ds
loopne 0x5b8977
inc eax
insd dword es:[edi], dx
adc byte [edx], dl
int 2
cmp esp, dword [eax]
xor al, 0x4d
jmp 0x5b89b7
dec edi
add ecx, ebx
cmp dx, 0x2c
jne 0x5b89bc
movzx eax, word [ecx]
cmp ax, si
je 0x5b89b7
aas
push 9
add eax, 0xffffffd0
pop edx
cmp ax, dx
ja 0x5b89bc
add ecx, ebx
movzx eax, word [ecx]
mov edx, eax
cmp ax, di
jb 0x5b89ad
mov esi, eax
push 0x39
pop eax
movzx edx, si
cmp si, ax
ja 0x5b89aa
add ecx, ebx
movzx eax, word [ecx]
mov esi, eax
mov edx, eax
cmp ax, di
jae 0x5b8991
push 0x7d
pop esi
xor eax, eax
cmp dx, si
sete al
jmp 0x5b89be
xor eax, eax
inc eax
jmp 0x5b89be
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x64db4d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x656358
cmp edx, dword [eax]
je 0x64db6f
add eax, 8
inc ecx
cmp eax, 0x6563e8
jl 0x64db60
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x656358]
jne 0x64dc9d
mov eax, dword [0xa59cc0]
cmp eax, 1
je 0x64dc77
test eax, eax
jne 0x64dba0
cmp dword [0x656284], 1
je 0x64dc77
cmp edx, 0xfc
je 0x64dc9d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x64dbd7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0064e530
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0064e9c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x64dc1a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0064e9c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x652bbc
push edi
call fcn.00650890
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0064e530
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0064e540
lea eax, [ebp - 0xa0]
push 0x652b9c
push eax
call fcn.0064e540
push dword [esi + 0x65635c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0064e540
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00650804
add esp, 0x2c
pop edi
jmp 0x64dc9d
lea eax, [ebp + 8]
lea esi, [esi + 0x65635c]
push 0
push eax
push dword [esi]
call fcn.0064e9c0
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 0x1002195
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xf0
push 4
call fcn.010012b0
test eax, eax
pop ecx
je 0x10021b6
mov ecx, eax
call dword [sym.imp.ulib.dll_public:_void___thiscall_CLASS_DESCRIPTOR::constructor_void_]
jmp 0x10021b8
xor eax, eax
test eax, eax
mov dword [0x1004004], eax
je 0x10021c9
mov ecx, eax
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_CLASS_DESCRIPTOR::Initialize_void_]
lea ecx, [ebp - 0x78]
call fcn.010012ff
lea ecx, [ebp - 0x78]
call fcn.01001cd6
test al, al
je 0x10021ee
lea ecx, [ebp - 0x78]
call fcn.0100133e
test al, al
je 0x10021ee
push dword [ebp + 0x10]
jmp 0x10021f0
push 2
call dword [sym.imp.msvcrt.dll_exit]
int3

Function at 0x10013a4
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x248]
mov edi, 0xfffff758
and eax, edi
or eax, dword [ebp + 8]
push eax
lea eax, [esi + 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x10013e4
mov eax, dword [esi + 0x248]
and eax, edi
or eax, dword [ebp + 8]
mov dword [esi + 0x248], eax
mov al, 1
jmp 0x10013f5
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10013f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
xor al, al
pop edi
pop esi
pop ebp
ret 8
Function at 0x40d175
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40d193
mov eax, 0x669ecb
push eax
push 1
mov ebx, 0x4459b0
call fcn.00445364
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40d1bd
mov eax, 0
jmp 0x40d231
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x40d21e
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x40d207
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x40d1f6
xor ecx, eax
xor edx, ebx
dec edi
jne 0x40d1e7
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
mov esp, ebp
pop ebp
ret 4