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

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x4ed593
push esi
call fcn.004f22f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4ed58c
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x4ed619
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4ed602
mov eax, dword [esi + 8]
test eax, eax
je 0x4ed5b7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4ed5fe
cmp eax, 2
je 0x4ed602
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4ed5aa
cmp eax, 3
je 0x4ed5dd
cmp eax, 1
jne 0x4ed5aa
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 0x4ed5aa
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4ed5aa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004ed650
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4ed639
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.004ed650
add esp, 4
pop esi
ret

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

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x51dd9b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x51de9e
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 + 0x6498c0]
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 + 0x6498c0]
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 + 0x6498c0]
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 + 0x6498c0]
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 + 0x6498c0]
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 + 0x6498c0]
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 + 0x6498c0]
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 + 0x6498c0]
xor eax, edx
inc ecx
dec edi
jne 0x51ddb6
pop edi
test esi, esi
je 0x51dec0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x6498c0]
xor eax, edx
inc ecx
dec esi
jne 0x51dea2
pop esi
pop ebx
not eax
ret
Function at 0x551544
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x55157c
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.0054f568
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0054f540
jmp 0x551588
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x552db8
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 0x552dfa
call fcn.005596c5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x552dfa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x552df1
xor eax, eax
jmp 0x552e02
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00552e08
pop edi
pop esi
pop ebx
ret 4

Function at 0x559bf5
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x559c23
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x559c41
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00559b5b
jmp 0x559c41
mov eax, dword [esi + 0x14]
test eax, eax
je 0x559c41
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00559b5b
test edi, edi
mov eax, edi
jne 0x559c2b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x55c4ee
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x55c516
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x55c527
push 2
call edi
test ax, ax
jge 0x55c527
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.00550b7a
cmp dword [esi + 0x30], ebx
jne 0x55c601
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.00550b7a
cmp eax, dword [esp + 0x34]
jne 0x55c601
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x55c59d
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x55c5e2
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x55c601
cmp eax, 0x205
je 0x55c601
cmp eax, 0x201
je 0x55c601
cmp eax, 0x204
je 0x55c601
cmp eax, ebx
jne 0x55c5c8
cmp dword [esp + 0x1c], 0x1b
je 0x55c601
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x6f4cdc]
jbe 0x55c5f7
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x55c55a
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x70013df
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0x58], 0x4f0053
mov dword [ebp - 0x54], 0x540046
mov dword [ebp - 0x50], 0x410057
mov dword [ebp - 0x4c], 0x450052
mov dword [ebp - 0x48], 0x4d005c
mov dword [ebp - 0x44], 0x630069
mov dword [ebp - 0x40], 0x6f0072
mov dword [ebp - 0x3c], 0x6f0073
mov dword [ebp - 0x38], 0x740066
mov dword [ebp - 0x34], 0x43005c
mov dword [ebp - 0x30], 0x790072
mov dword [ebp - 0x2c], 0x740070
mov dword [ebp - 0x28], 0x67006f
mov dword [ebp - 0x24], 0x610072
mov dword [ebp - 0x20], 0x680070
mov word [ebp - 0x1c], 0x79
mov word [ebp - 0x1a], 0
mov dword [ebp - 0x18], 0x61004d
mov dword [ebp - 0x14], 0x680063
mov dword [ebp - 0x10], 0x6e0069
mov dword [ebp - 0xc], 0x470065
mov dword [ebp - 8], 0x690075
mov word [ebp - 4], 0x64
mov word [ebp - 2], 0
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x58]
push edx
push 0x70038ec
call fcn.0700135c
add esp, 0xc
test eax, eax
je 0x70014af
push section..data
push 0
push eax
call fcn.070015a1
leave
ret

Function at 0x7001558
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
mov dword [ebp - 4], 0
lea ebx, [ebp - 4]
push 0
push 0
push ebx
push 0
push 1
push 0
push dword [ebp + 8]
call dword [sym.imp.crypt32.dll_CryptStringToBinaryA]
test eax, eax
je 0x700159c
mov eax, dword [ebx]
test eax, eax
je 0x700159c
push 0
push 0
push ebx
push dword [ebp + 8]
push 1
push 0
push dword [ebp + 8]
call dword [sym.imp.crypt32.dll_CryptStringToBinaryA]
pop ebx
leave
ret 4
Function at 0x7001e31
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pushal
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor eax, eax
xor ebx, ebx
xor ecx, ecx
xor edx, edx
inc bl
mov dl, byte [edi + ebx]
add al, dl
mov cl, byte [edi + eax]
mov byte [edi + ebx], cl
mov byte [edi + eax], dl
add cl, dl
mov cl, byte [edi + ecx]
xor byte [esi], cl
inc esi
dec dword [ebp + 0x10]
jne 0x7001e43
popal
leave
ret 0xc
Function at 0x402cb6
Capabilities:
Terminate process

Disassembly:
jmp 0x433d42
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x433d53
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00404697
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x402d88
Capabilities:
Query environment variable

Disassembly:
jmp 0x4646ad
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4646be
pop esi
ret
push ebx
push edi
push esi
call fcn.00464594
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403454
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4646e6
push ebx
push esi
push edi
call fcn.00404520
add esp, 0xc
push 0
call fcn.00404dd6
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4045a7
Capabilities:
Parse pe header

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

Function at 0x41f4d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x49a2c0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
jne 0x41f4ff
xor eax, eax
jmp 0x41f567
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x41f524
xor eax, eax
jmp 0x41f567
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x41f54e
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x228]
jmp 0x41f567
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x234]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41f524
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402851
mov esp, ebp
pop ebp
ret
Function at 0x462554
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x49a2c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x46259f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00462a5f
test al, al
jne 0x462599
sub edx, 2
cmp edx, edi
jne 0x46257f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4625c1
lea eax, [edi + 2]
cmp edx, eax
je 0x4625c1
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0046214d
add esp, 0x10
jmp 0x4626bb
push esi
lea ecx, [ebp - 0x255]
call fcn.00462a5f
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x462604
push dword [ebp - 0x25c]
jmp 0x4625b1
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x462641
cmp word [ebp - 0x226], 0
je 0x462662
cmp word [ebp - 0x226], ax
jne 0x462641
cmp word [ebp - 0x224], 0
je 0x462662
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0046214d
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4626ae
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x46261b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x462696
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4626bb
push 0x461a33
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004043f4
add esp, 0x10
jmp 0x46268b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402851
leave
ret
Function at 0x478950
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4a39c8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x478990
cmp byte [ebx], 0xa
jne 0x478990
or byte [eax + edi + 0x28], 4
jmp 0x478995
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x478a93
mov al, byte [edx]
cmp al, 0x1a
je 0x478a75
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4789c4
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4789e9
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4789f3
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4789a6
jmp 0x478a93
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x478a70
cmp dword [ebp - 0xc], 0
je 0x478a70
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4a39c8]
test byte [eax + edi + 0x28], 0x48
je 0x478a4a
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x478a35
mov byte [esi], dl
jmp 0x478a46
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4a39c8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x478a93
cmp byte [ebp - 1], 0xa
jne 0x478a59
cmp esi, ebx
jne 0x478a59
mov byte [esi], 0xa
jmp 0x478a92
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004016a4
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x478a93
mov byte [esi], 0xd
jmp 0x478a92
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4a39c8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x478a8f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x478a93
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x478aef
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4a39c8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x478b32
cmp word [esi], dx
jne 0x478b32
or byte [edi + eax + 0x28], 4
jmp 0x478b37
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x478c8a
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x478c6a
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x478b79
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x478baf
cmp eax, edx
jae 0x478bbb
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x478b51
jmp 0x478c8a
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x478c66
cmp dword [ebp - 0x14], 0
je 0x478c66
mov eax, dword [ebx*4 + 0x4a39c8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x478c3e
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x478c07
mov word [esi], cx
jmp 0x478c3a
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4a39c8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4a39c8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4a39c8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x478c8a
pop ebx
cmp word [ebp - 4], bx
jne 0x478c4f
cmp esi, dword [ebp + 0xc]
jne 0x478c4f
mov word [esi], bx
jmp 0x478c87
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004016a4
add esp, 0x10
cmp word [ebp - 4], bx
je 0x478c8a
push 0xd
jmp 0x478c83
mov ecx, dword [ebx*4 + 0x4a39c8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x478c81
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x478c8a
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41dd90
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov dword [ebp - 0x38], 0xa646
mov dword [ebp - 0x30], 0x2d85
mov dword [ebp - 0x3c], 0x885f
mov dword [ebp - 0x40], 0xd8ef
mov dword [ebp - 0x24], 0x8a1a
mov dword [ebp - 0x44], 0xa8e8
mov dword [ebp - 0x10], 0x721
mov dword [ebp - 0x14], 0x1c7a
mov dword [ebp - 0x48], 0x16234
mov dword [ebp - 0x4c], 0x120bf
mov dword [ebp - 0x50], 0xf02c
mov dword [ebp - 0x28], 0xe8f6
mov dword [ebp - 0x18], 0x7676
mov dword [ebp - 0x54], 0x27bf
mov dword [ebp - 0x58], 0x97ef
mov dword [ebp - 0x5c], 0x18298
mov dword [ebp - 0x60], 0x17179
mov dword [ebp - 0x64], 0x154b3
mov dword [ebp - 0x68], 0x2158
mov dword [ebp - 0x2c], 0x7acd
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx + 6]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], 0
jmp 0x41de5c
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x34]
jge 0x41dfa0
mov dword [ebp - 0x6c], 0x150d
mov dword [ebp - 0x70], 0x5cb5
mov dword [ebp - 0x20], 0x13918
mov dword [ebp - 0x74], 0x869b
mov dword [ebp - 0x78], 0x1ffa
mov dword [ebp - 0x7c], 0x107bf
mov dword [ebp - 0x80], 0xed8a
mov dword [ebp - 0x84], 0x17e01
mov dword [ebp - 0x88], 0x13185
mov dword [ebp - 0x8c], 0xebd6
mov dword [ebp - 0x90], 0x102c
mov dword [ebp - 0x94], 0x303f
mov dword [ebp - 0x1c], 0x108dc
mov dword [ebp - 0x98], 0x9099
mov dword [ebp - 0x9c], 0x155b1
mov dword [ebp - 0xa0], 0x630f
mov dword [ebp - 0xa4], 0x73d3
mov dword [ebp - 0xc], 0x3bd2
mov dword [ebp - 0xa8], 0x16dcd
mov dword [ebp - 0xac], 0x13d31
mov dword [ebp - 0xb0], 0x108c2
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
call fcn.00420530
mov eax, dword [ebp - 0x20]
sub eax, 1
mov dword [ebp - 0x20], eax
call fcn.00427850
imul ecx, dword [ebp - 8], 0x28
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0xf8]
mov dword [ebp - 4], eax
call fcn.0041f270
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
cmp edx, dword [ebp + 0xc]
ja 0x41df9b
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 8]
cmp ecx, dword [ebp + 0xc]
jb 0x41df9b
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
sub edx, dword [ecx + 0xc]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x14]
mov dword [ebp + 0xc], edx
call fcn.00423260
mov eax, dword [ebp + 0xc]
jmp 0x41dfd3
jmp 0x41de53
mov ecx, dword [ebp - 0x24]
sub ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x28]
sub edx, 1
mov dword [ebp - 0x28], edx
or eax, 0xffffffff
jmp 0x41dfd3
mov esp, ebp
pop ebp
ret
Function at 0x68219619
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x68dba008]
movzx eax, word [eax + 0x14]
movzx eax, ax
mov edx, dword [0x68dba008]
add eax, edx
add eax, 0x18
mov dword [ebp - 0xc], eax
jmp 0x6821971b
jmp 0x682197fd
jmp 0x682198df
jmp 0x682199c1
jmp 0x68219aa3
jmp 0x68219b85
jmp 0x68219c67
jmp 0x68219d49
jmp 0x68219e2b
jmp 0x68219f0d
jmp 0x68219fef
jmp 0x6821a0d1
jmp 0x6821a1b3
jmp 0x6821a295
jmp 0x6821a377
jmp 0x6821a459
jmp 0x6821a53b
jmp 0x6821a61d
jmp 0x6821a6ff
jmp 0x6821a7e1
jmp 0x6821a8c3
jmp 0x6821a9a5
jmp 0x6821aa87
jmp 0x6821ab69
jmp 0x6821ac4b
jmp 0x6821ad2d
jmp 0x6821ae0f
jmp 0x6821aef1
jmp 0x6821afd3
mov dword [ebp - 0x14], 0
jmp 0x6821b0bc
jmp 0x6821b19e
jmp 0x6821b280
jmp 0x6821b362
jmp 0x6821b444
jmp 0x6821b526
jmp 0x6821b608
jmp 0x6821b6ea
jmp 0x6821b7cc
jmp 0x6821b8ae
jmp 0x6821b990
jmp 0x6821ba72
jmp 0x6821bb54
jmp 0x6821bc36
jmp 0x6821bd18
jmp 0x6821bdfa
jmp 0x6821bedc
jmp 0x6821bfbe
jmp 0x6821c0a0
jmp 0x6821c182
jmp 0x6821c264
jmp 0x6821c346
jmp 0x6821c428
jmp 0x6821c50a
jmp 0x6821c5ec
jmp 0x6821c6ce
jmp 0x6821c7b0
jmp 0x6821c892
jmp 0x6821c974
mov dword [ebp - 0x18], 0
jmp 0x6821ca5d
jmp 0x6821cb3f
jmp 0x6821cc21
jmp 0x6821cd03
jmp 0x6821cde5
jmp 0x6821cec7
jmp 0x6821cfa9
jmp 0x6821d08b
jmp 0x6821d16d
jmp 0x6821d24f
jmp 0x6821d331
jmp 0x6821d413
jmp 0x6821d4f5
jmp 0x6821d5d7
jmp 0x6821d6b9
jmp 0x6821d79b
jmp 0x6821d87d
jmp 0x6821d95f
jmp 0x6821da41
jmp 0x6821db23
jmp 0x6821dc05
jmp 0x6821dce7
jmp 0x6821ddc9
jmp 0x6821deab
jmp 0x6821df8d
jmp 0x6821e06f
jmp 0x6821e151
jmp 0x6821e233
jmp 0x6821e315
mov dword [ebp - 0x10], 0
jmp 0x6821e3fe
jmp 0x6821e4e0
jmp 0x6821e5c2
jmp 0x6821e6a4
jmp 0x6821e786
jmp 0x6821e868
jmp 0x6821e94a
jmp 0x6821ea2c
jmp 0x6821eb0e
jmp 0x6821ebf0
jmp 0x6821ecd2
jmp 0x6821edb4
jmp 0x6821ee96
jmp 0x6821ef78
jmp 0x6821f05a
jmp 0x6821f13c
jmp 0x6821f21e
jmp 0x6821f300
jmp 0x6821f3e2
jmp 0x6821f4c4
jmp 0x6821f5a6
jmp 0x6821f688
jmp 0x6821f76a
jmp 0x6821f84c
jmp 0x6821f92e
jmp 0x6821fa10
jmp 0x6821faf2
jmp 0x6821fbd4
jmp 0x6821fcb6
mov dword [ebp - 0x10], 0
jmp 0x68227d0a
jmp 0x6821fda4
jmp 0x6821fe86
jmp 0x6821ff68
jmp 0x6822004a
jmp 0x6822012c
jmp 0x6822020e
jmp 0x682202f0
jmp 0x682203d2
jmp 0x682204b4
jmp 0x68220596
jmp fcn.68220678
mov eax, dword [0x68dba008]
movzx eax, word [eax + 6]
movzx eax, ax
cmp eax, dword [ebp - 0x10]
ja 0x6821fcc2
nop
leave
ret

Function at 0x68270430
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], 0x68db9040
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.68270490