joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100031e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b228
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x10021454]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x10003220
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x1000322c
mov al, 1
jmp 0x100033cf
mov dword [ebp - 0x10], 8
call fcn.100027b0
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.100027b0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.10002740
add esp, 8
movzx eax, al
test eax, eax
je 0x1000326f
xor al, al
jmp 0x100033cf
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.100028d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.10002b10
mov ecx, eax
call fcn.100034b0
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.10001620
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.10002b10
mov ecx, eax
call fcn.100034b0
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.10003ba0
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x100032ea
cmp dword [ebp - 0x6c], 1
je 0x100032f1
cmp dword [ebp - 0x6c], 3
je 0x1000338b
jmp 0x100033a3
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.10002b10
mov ecx, eax
call fcn.100034b0
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x10003354
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.10002b10
mov ecx, eax
call fcn.100034b0
push eax
call fcn.1000816e
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x10003354
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10004cc0
mov al, byte [ebp - 0x61]
jmp 0x100033cf
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x10003377
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10004cc0
mov al, byte [ebp - 0x62]
jmp 0x100033cf
cmp dword [ebp - 0x38], 0
jne 0x10003389
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.10002910
jmp 0x100033bb
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10004cc0
mov al, byte [ebp - 0x63]
jmp 0x100033cf
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10004cc0
mov al, byte [ebp - 0x64]
jmp 0x100033cf
jmp 0x10003282
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.10007b40
mov esp, ebp
pop ebp
ret

Function at 0x10007b40
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10021454]
jne 0x10007b4a
repz ret
jmp fcn.1000d78d
Function at 0x43ebb0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x43ebce
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x43ebc3
pop esi
ret

Function at 0x43ed10
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x43eda2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x43ed94
mov ebp, dword [sym.imp.KERNEL32.DLL_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x43ed8c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x43ed55
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x23b41432
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0xfc661ea
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4151e1
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x41c108
call fcn.0041599a
push 1
call fcn.00415264
pop ecx
test al, al
jne 0x415098
push 7
call fcn.00415762
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0041522f
mov byte [ebp - 0x24], al
mov eax, dword [0x41fc3c]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x415091
test eax, eax
jne 0x415102
mov dword [0x41fc3c], ecx
push 0x418358
push 0x418344
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x4150e5
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4151db
push 0x418340
push 0x418318
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x41fc3c], 2
jmp 0x415107
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.004153d1
pop ecx
call fcn.00415756
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x415137
push esi
call fcn.00415347
pop ecx
test al, al
je 0x415137
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.004156eb
call esi
call fcn.0041575c
mov esi, eax
cmp dword [esi], edi
je 0x415155
push esi
call fcn.00415347
pop ecx
test al, al
je 0x415155
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call fcn.00415878
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.004158ab
test al, al
jne 0x415180
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x415189
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.004153ee
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x4151db
call fcn.004159df
ret
call fcn.00414f1f
jmp 0x415079

Function at 0xfa0fa4
Capabilities:
Encode data using xor

Disassembly:
jmp 0xfa0fae
add byte [eax], al
pushal
call 0xfa0fb4
pop ebp
sub ebp, 0x10
sub ebp, 0xba0fa4
jmp 0xfa0fca
mov eax, 0xba0fa4
add eax, ebp
add eax, 0x4c
mov ecx, 0x5da
mov edx, 0x9bb73098
xor byte [eax], dl
inc eax
dec ecx
jne 0xfa0fe1
jmp 0xfa0ff4
adc edx, dword [ebp + 0x13]
adc dword [eax + ebx*4 + 0x59199898], esp
pushal
cwde
cwde
cwde
wait
push ebp
and byte [eax + ebx*4 - 0x4fdd6768], bl
cwde
cwde
cwde
outsd dx, dword [esi]
jp 0xfa0fac
push eax
adc ebx, dword [ecx]
xchg esp, eax
cwde
cwde
cwde
wait
pop ebp
adc eax, 0x1164bcfc
pushfd
mov esp, 0x64bcfc15
adc dword [esp + edi*4 - 0x46724f10], ebx
cwde
invalid
Function at 0x433006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x51e97e75
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..text_1
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x26f84ed2
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4068b8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068dc
xor eax, eax
test eax, eax
je 0x4068ef
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068ef
xor ecx, ecx
jmp 0x4068f2
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x7a5dec], 0
push esi
jne 0x406a4c
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a26
mov dword [ecx*4 + 0x7a5de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406a21
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a7d
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a5de8]
xor eax, esi
inc ecx
dec edx
jne 0x406a5f
pop edi
not eax
pop esi
ret 0xc

Function at 0x11102184
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1110218e
pushal
call 0x11102194
pop ebp
sub ebp, 0x10
sub ebp, 0x1102184
mov al, byte [esp + 0x28]
add byte [eax], al
add byte [ecx + 0x102184ed], al
add dword [edx + 0x282484], ecx
add byte [eax], al
cmp al, 1
je 0x111021b8
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x111021c1
mov eax, 0x1102184
add eax, ebp
add eax, 0x63
mov ecx, 0x5cd
mov edx, 0xda9c1693
xor byte [eax], dl
inc eax
dec ecx
jne 0x111021d8
jmp 0x111021eb
sbb byte [esi + 0x18], bl
sbb ch, byte [edi + 0x12939393]
push edx
imul edx, dword [ebx + 0x5e909393], 0x2b
xchg ebp, eax
xchg ebx, eax
xchg ebx, eax
xchg ebx, eax
sub dword [ebx + 0x64939393], edi
jno 0x11102198
pop ebx
sbb byte [edx], dl
lahf
xchg ebx, eax
xchg ebx, eax
xchg ebx, eax
nop
push esi
push ds
div dword [edi - 0x4868e591]
push ds
div dword [edi - 0x4868e591]
sti
mov dword [0xfb93b36b], eax
ret 0x7cba
Function at 0x40b801
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x411a00
cmp edx, dword [eax]
je 0x40b823
add eax, 8
inc ecx
cmp eax, 0x411a90
jl 0x40b814
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x411a00]
jne 0x40b951
mov eax, dword [0x41911c]
cmp eax, 1
je 0x40b92b
test eax, eax
jne 0x40b854
cmp dword [0x411488], 1
je 0x40b92b
cmp edx, 0xfc
je 0x40b951
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40b88b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00408740
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00408910
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40b8ce
lea eax, [ebp - 0x1a4]
push eax
call fcn.00408910
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41050c
push edi
call fcn.00408fa0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00408740
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00408750
lea eax, [ebp - 0xa0]
push 0x4104ec
push eax
call fcn.00408750
push dword [esi + 0x411a04]
lea eax, [ebp - 0xa0]
push eax
call fcn.00408750
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040e2c6
add esp, 0x2c
pop edi
jmp 0x40b951
lea eax, [ebp + 8]
lea esi, [esi + 0x411a04]
push 0
push eax
push dword [esi]
call fcn.00408910
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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x3d2a5760
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..rdata
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x3f6d54ee
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0xeee000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0xeee00a
jmp 0xef000f
jmp fcn.00a92108
Function at 0x4db0bf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push esi
push edi
mov edi, dword [ebx]
lea esi, [edx + 0x1000]
mov dword [ebp - 4], 0x10
xor ecx, dword [esi]
mov dword [ebp - 8], ecx
call fcn.004db08c
xor eax, edi
mov edi, dword [ebp - 8]
add esi, 4
dec dword [ebp - 4]
mov ecx, eax
jne 0x4db0da
mov eax, dword [edx + 0x1040]
xor eax, ecx
mov ecx, dword [edx + 0x1044]
mov edx, dword [ebp + 8]
xor ecx, edi
pop edi
mov dword [edx], ecx
mov dword [ebx], eax
pop esi
leave
ret

Function at 0x4db10e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push esi
push edi
mov edi, dword [ebx]
lea esi, [edx + 0x1044]
mov dword [ebp - 4], 0x10
xor ecx, dword [esi]
mov dword [ebp - 8], ecx
call fcn.004db08c
xor eax, edi
mov edi, dword [ebp - 8]
sub esi, 4
dec dword [ebp - 4]
mov ecx, eax
jne 0x4db129
mov eax, dword [edx + 0x1004]
xor eax, ecx
mov ecx, dword [edx + 0x1000]
mov edx, dword [ebp + 8]
xor ecx, edi
pop edi
mov dword [edx], ecx
mov dword [ebx], eax
pop esi
leave
ret
Function at 0x4fe580
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4fe5e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x4fe5d7
mov edx, dword [0x532ac0]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4fe5cb
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4fe5b0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x4fe5d9
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x500730
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xf8
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x78]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0x20]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x1c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], 0
jmp 0x50079c
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
cmp eax, dword [edx + 0x18]
jae 0x5007e3
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00511e8a
add esp, 8
test eax, eax
jne 0x5007e1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x5007e5
jmp 0x500793
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x5076c0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d8
mov eax, dword [0x52b8f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.00502a90
add esp, 4
movzx edx, al
test edx, edx
je 0x507751
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea ecx, [ebp - 0x2d8]
push ecx
call fcn.0050bde0
add esp, 0xc
mov dword [ebp - 0x2d8], 0x10001
lea edx, [ebp - 0x2d8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x50774f
mov edx, dword [ebp - 0x220]
cmp edx, dword [ebp + 0xc]
jne 0x50774f
jmp 0x507751
jmp 0x5076d3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050c535
mov esp, ebp
pop ebp
ret

Function at 0x507e9e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea ecx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, ecx
jb 0x507f23
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.0050be60
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x507ee6
mov eax, dword [edi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x507f08
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x507f7e
mov ecx, dword [edi + 0x74]
add ecx, dword [edi + 0x6c]
push esi
add ecx, dword [edi + 0x38]
mov esi, eax
push ecx
call fcn.00507c6c
add dword [edi + 0x74], eax
mov esi, dword [edi + 0x74]
cmp esi, 3
pop ecx
pop ecx
jb 0x507f6a
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp esi, 0x106
jae 0x507f7e
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x507ea7
pop esi
pop ebx
leave
ret
Function at 0x50c535
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x52b8f0]
jne 0x50c53f
repz ret
jmp fcn.0050f129

Function at 0x510262
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x52c010]
je 0x51027d
inc edi
cmp edi, 0x17
jb 0x51026e
cmp edi, 0x17
jae 0x5103fd
push ebp
push 3
call fcn.005140ed
cmp eax, 1
pop ecx
je 0x5103c9
push 3
call fcn.005140ed
test eax, eax
pop ecx
jne 0x5102b1
cmp dword [0x52b9cc], 1
je 0x5103c9
cmp ebx, 0xfc
je 0x5103fc
push 0x530fb8
mov ebx, 0x314
push ebx
mov ebp, 0x533d60
push ebp
call fcn.00511c4a
add esp, 0xc
test eax, eax
je 0x5102e7
push esi
push esi
push esi
push esi
push esi
call fcn.005105ec
add esp, 0x14
push 0x104
mov esi, 0x533d79
push esi
push 0
mov byte [0x533e7d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x51032b
push 0x530fa0
push 0x2fb
push esi
call fcn.00511c4a
add esp, 0xc
test eax, eax
je 0x51032b
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.005105ec
add esp, 0x14
push esi
call fcn.0050de70
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x510370
push esi
call fcn.0050de70
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x534074
push 0x530f9c
sub ecx, eax
push ecx
push eax
call fcn.00513e36
add esp, 0x14
test eax, eax
je 0x510370
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.005105ec
add esp, 0x14
jmp 0x510372
xor esi, esi
push 0x530f98
push ebx
push ebp
call fcn.00513d76
add esp, 0xc
test eax, eax
je 0x510392
push esi
push esi
push esi
push esi
push esi
call fcn.005105ec
add esp, 0x14
push dword [edi*8 + 0x52c014]
push ebx
push ebp
call fcn.00513d76
add esp, 0xc
test eax, eax
je 0x5103b4
push esi
push esi
push esi
push esi
push esi
call fcn.005105ec
add esp, 0x14
push 0x12010
push 0x530f70
push ebp
call fcn.00513f30
add esp, 0xc
jmp 0x5103fc
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x5103fc
cmp ebp, 0xffffffff
je 0x5103fc
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x52c014]
push dword [esi]
call fcn.0050de70
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x513f30
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0050fcca
xor ebx, ebx
cmp dword [0x5343e4], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x514006
push 0x531924
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x5140e6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x531918
push edi
call esi
cmp eax, ebx
je 0x5140e6
push eax
call fcn.0050fc5c
mov dword [esp], 0x531908
push edi
mov dword [0x5343e4], eax
call esi
push eax
call fcn.0050fc5c
mov dword [esp], 0x5318f4
push edi
mov dword [0x5343e8], eax
call esi
push eax
call fcn.0050fc5c
mov dword [0x5343ec], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0050e21a
test eax, eax
pop ecx
pop ecx
je 0x513fd4
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.005105ec
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x514006
push 0x5318d8
push edi
call esi
push eax
call fcn.0050fc5c
cmp eax, ebx
pop ecx
mov dword [0x5343f4], eax
je 0x514006
push 0x5318c0
push edi
call esi
push eax
call fcn.0050fc5c
pop ecx
mov dword [0x5343f0], eax
mov eax, dword [0x5343f0]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x51408b
cmp dword [0x5343f4], ecx
je 0x51408b
push eax
call fcn.0050fcd3
push dword [0x5343f4]
mov esi, eax
call fcn.0050fcd3
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x51408b
cmp edi, ebx
je 0x51408b
call esi
cmp eax, ebx
je 0x514058
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x514058
test byte [ebp - 0x18], 1
jne 0x51408b
lea eax, [ebp - 0x10]
push eax
call fcn.0050e251
test eax, eax
pop ecx
je 0x514073
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.005105ec
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x514082
or dword [ebp + 0x10], 0x200000
jmp 0x5140c6
or dword [ebp + 0x10], 0x40000
jmp 0x5140c6
mov eax, dword [0x5343e8]
cmp eax, dword [ebp - 8]
je 0x5140c6
push eax
call fcn.0050fcd3
cmp eax, ebx
pop ecx
je 0x5140c6
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x5140c6
mov eax, dword [0x5343ec]
cmp eax, dword [ebp - 8]
je 0x5140c6
push eax
call fcn.0050fcd3
cmp eax, ebx
pop ecx
je 0x5140c6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5343e4]
call fcn.0050fcd3
cmp eax, ebx
pop ecx
je 0x5140e6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5140e8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret