joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48c070
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0x50
push dword [ebp + 8]
push 0x40000038
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x50
mov eax, dword [ebp + 8]
add eax, 0x51
push eax
push 0x40000039
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x50
mov eax, dword [ebp + 8]
add eax, 0xa2
push eax
push 0x4000003a
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x50
mov eax, dword [ebp + 8]
add eax, 0xf3
push eax
push 0x4000003b
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x50
mov eax, dword [ebp + 8]
add eax, 0x144
push eax
push 0x4000003c
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x50
mov eax, dword [ebp + 8]
add eax, 0x195
push eax
push 0x4000003d
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x50
mov eax, dword [ebp + 8]
add eax, 0x1e6
push eax
push 0x4000003e
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x50
mov eax, dword [ebp + 8]
add eax, 0x237
push eax
push 0x4000003f
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x50
mov eax, dword [ebp + 8]
add eax, 0x288
push eax
push 0x40000040
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x50
mov eax, dword [ebp + 8]
add eax, 0x2d9
push eax
push 0x40000041
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x50
mov eax, dword [ebp + 8]
add eax, 0x32a
push eax
push 0x40000042
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x50
mov eax, dword [ebp + 8]
add eax, 0x37b
push eax
push 0x40000043
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [ebp + 8]
mov byte [eax + 3], 0
push dword [ebp + 8]
call fcn.004a1200
pop ecx
mov eax, dword [ebp + 8]
mov byte [eax + 0x54], 0
mov eax, dword [ebp + 8]
add eax, 0x51
push eax
call fcn.004a1200
pop ecx
mov eax, dword [ebp + 8]
mov byte [eax + 0xa5], 0
mov eax, dword [ebp + 8]
add eax, 0xa2
push eax
call fcn.004a1200
pop ecx
mov eax, dword [ebp + 8]
mov byte [eax + 0xf6], 0
mov eax, dword [ebp + 8]
add eax, 0xf3
push eax
call fcn.004a1200
pop ecx
mov eax, dword [ebp + 8]
mov byte [eax + 0x147], 0
mov eax, dword [ebp + 8]
add eax, 0x144
push eax
call fcn.004a1200
pop ecx
mov eax, dword [ebp + 8]
mov byte [eax + 0x198], 0
mov eax, dword [ebp + 8]
add eax, 0x195
push eax
call fcn.004a1200
pop ecx
mov eax, dword [ebp + 8]
mov byte [eax + 0x1e9], 0
mov eax, dword [ebp + 8]
add eax, 0x1e6
push eax
call fcn.004a1200
pop ecx
mov eax, dword [ebp + 8]
mov byte [eax + 0x23a], 0
mov eax, dword [ebp + 8]
add eax, 0x237
push eax
call fcn.004a1200
pop ecx
mov eax, dword [ebp + 8]
mov byte [eax + 0x28b], 0
mov eax, dword [ebp + 8]
add eax, 0x288
push eax
call fcn.004a1200
pop ecx
mov eax, dword [ebp + 8]
mov byte [eax + 0x2dc], 0
mov eax, dword [ebp + 8]
add eax, 0x2d9
push eax
call fcn.004a1200
pop ecx
mov eax, dword [ebp + 8]
mov byte [eax + 0x32d], 0
mov eax, dword [ebp + 8]
add eax, 0x32a
push eax
call fcn.004a1200
pop ecx
mov eax, dword [ebp + 8]
mov byte [eax + 0x37e], 0
mov eax, dword [ebp + 8]
add eax, 0x37b
push eax
call fcn.004a1200
pop ecx
leave
ret
Function at 0x491db0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov eax, 0xcccccccc
mov dword [esp], eax
push dword [ebp + 0xc]
call sym.X86HoudiniConsole.exe_ConvertToWin32KeyCode
pop ecx
mov dword [ebp - 4], eax
movzx eax, word [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp ax, 0
jge 0x491de2
mov eax, 1
leave
ret
mov eax, 0
leave
ret

Function at 0x491f50
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
sub esp, 0x78
push ecx
lea edi, [esp + 4]
mov eax, 0xcccccccc
mov ecx, 0x1e
rep stosd dword es:[edi], eax
pop ecx
push dword [ebp + 0xc]
call fcn.00491df0
pop ecx
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x491f86
mov eax, dword [ebp - 0x70]
lea esp, [ebp - 8]
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0xc], 0
push dword [ebp + 0xc]
call sym.X86HoudiniConsole.exe_ConvertToWin32KeyCode
pop ecx
mov dword [ebp - 0x74], eax
push 0
movsx eax, word [ebp - 0x74]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dword [ebp - 0x78], eax
shl dword [ebp - 0x78], 0x10
call fcn.00490470
cmp al, 0
je 0x491fe8
lea edi, [ebp - 0x4c]
mov eax, 0
mov ecx, 0x10
rep stosd dword es:[edi], eax
push 0x20
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
mov dword [ebp - 0x7c], eax
push dword [ebp - 0x7c]
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xc]
call fcn.00401e40
jmp 0x492029
lea edi, [ebp - 0x6c]
mov eax, 0
mov ecx, 8
rep stosd dword es:[edi], eax
push 0x20
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
mov dword [ebp - 0x80], eax
push dword [ebp - 0x80]
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0xc]
call fcn.00401db0
call fcn.0047feb0
cmp dword [ebp - 0xc], 0
je 0x492029
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x10], eax
lea ecx, [ebp - 0xc]
call fcn.00401fe0
mov ebx, eax
cmp dword [ebp - 0xc], 0
je 0x492041
mov ecx, dword [ebp - 0xc]
call fcn.00401b80
mov eax, ebx
lea esp, [ebp - 8]
pop edi
pop ebx
pop ebp
ret
Function at 0x495e00
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov eax, 0xcccccccc
mov dword [esp], eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
je 0x495e25
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [edx + 0xc]
jmp 0x495e2a
mov eax, 0
cmp eax, 0
jne 0x495e3b
push 0x6a
mov ecx, dword [ebp - 4]
call fcn.00496780
leave
ret
mov ecx, dword [ebp - 4]
add ecx, 0x3c
call fcn.004024e0
push eax
push 0x8010
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x495e8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x495e8e
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x69
mov ecx, dword [ebp - 4]
call fcn.00496780
leave
ret
mov eax, dword [ebp - 4]
mov byte [eax + 0x14], 1
push str.ApplicationFree
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], eax
push 0x8010
push 0
push 0
push 2
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
push str.ApplicationExecute
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
push str.ApplicationDone
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 4]
cmp edx, 0
je 0x495f02
add edx, 4
mov edx, edx
push edx
call fcn.004968c0
pop ecx
leave
ret
Function at 0x4a1b00
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push ebp
push dword [0x4d0be8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x4a1ce5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4a1ce0
push 0x1d0
call fcn.004a0690
mov ebx, eax
test ebx, ebx
pop ecx
jne 0x4a1b40
xor eax, eax
pop ebp
pop ebx
ret
mov ebp, 0x4e7428
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [0x4e5e18]
mov dword [ebx], edx
mov dword [0x4e5e18], ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebx + 4], 0
mov dword [ebx + 8], 1
mov dword [ebx + 0xc], 0x4d0bec
mov dword [ebx + 0x10], 0x4d0bec
mov eax, dword [esp + 0xc]
mov dword [ebx + 0x14], eax
lea edx, [ebx + 0x188]
mov dword [ebx + 0x180], 0x4d0bf0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 1
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 1
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0xffffffff
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 1
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 1
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0xffffffff
mov dword [ebx + 0x184], 0
push 0x4d1308
push edx
call fcn.004a08a0
pop ecx
pop ecx
mov ecx, dword [0x4d1338]
mov dword [ebx + 0x1b8], ecx
mov eax, dword [0x4d133c]
mov dword [ebx + 0x1bc], eax
mov edx, dword [0x4d1340]
mov dword [ebx + 0x1c0], edx
mov ecx, dword [0x4d1344]
mov dword [ebx + 0x1c4], ecx
mov eax, dword [0x4d1348]
mov dword [ebx + 0x1c8], eax
xor edx, edx
mov ecx, dword [edx + 0x4d1304]
mov dword [edx + ebx + 0x184], ecx
mov ecx, dword [edx + 0x4d1308]
mov dword [edx + ebx + 0x188], ecx
mov ecx, dword [edx + 0x4d130c]
mov dword [edx + ebx + 0x18c], ecx
mov ecx, dword [edx + 0x4d1310]
mov dword [edx + ebx + 0x190], ecx
add edx, 0x10
cmp edx, 0x40
jl 0x4a1c65
mov ecx, dword [0x4d1344]
mov dword [ebx + 0x1c4], ecx
mov ecx, dword [0x4d1348]
mov dword [ebx + 0x1c8], ecx
mov dword [ebx + 0x17c], 0x4d122c
mov dword [ebx + 0x1cc], 0
push ebx
push dword [0x4d0be8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop ebp
pop ebx
ret
xor eax, eax
pop ebp
pop ebx
ret
mov eax, 1
pop ebp
pop ebx
ret
Function at 0x4a2d00
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
sub esp, 0xc
mov edi, dword [esp + 0x20]
cmp edi, 0x100
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov dword [esp], 0
jge 0x4a2d2d
mov ecx, dword [edi*4 + 0x4e6f98]
test ecx, ecx
jne 0x4a2d47
push 1
call fcn.004a1d60
pop ecx
mov dword [eax + 4], 9
or eax, 0xffffffff
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
mov dword [esp + 8], eax
movsx edx, byte [ecx + 4]
test edx, edx
je 0x4a2da6
xor esi, esi
xor eax, eax
test ebx, ebx
jbe 0x4a2d70
lea eax, [eax]
cmp byte [eax + ebp], 0xa
jne 0x4a2d69
add esi, 1
add eax, 1
cmp eax, ebx
jb 0x4a2d60
lea ecx, [esi + ebx]
push ecx
call fcn.004a0690
pop ecx
xor ecx, ecx
test ebx, ebx
mov dword [esp], eax
mov edx, eax
jbe 0x4a2da1
cmp byte [ecx + ebp], 0xa
jne 0x4a2d91
mov byte [edx], 0xd
add edx, 1
movzx eax, byte [ecx + ebp]
add ecx, 1
mov byte [edx], al
add edx, 1
cmp ecx, ebx
jb 0x4a2d85
add ebx, esi
mov ebp, dword [esp]
mov edx, dword [edi*4 + 0x4e6f98]
cmp byte [edx + 5], 0
je 0x4a2dc0
push 2
push 0
push edi
call fcn.004a2c90
add esp, 0xc
push 0
lea ecx, [esp + 8]
push ecx
push ebx
push ebp
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp], 0
mov esi, eax
je 0x4a2de4
push dword [esp]
call fcn.004a06c0
pop ecx
test esi, esi
je 0x4a2df4
mov eax, dword [esp + 4]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004a2660
xor eax, eax
pop ecx
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4a2e70
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
sub esp, 4
cmp dword [esp + 0x18], 0x100
mov ebp, dword [esp + 0x1c]
jge 0x4a2e94
mov eax, dword [esp + 0x18]
mov edx, dword [eax*4 + 0x4e6f98]
test edx, edx
jne 0x4a2eb0
push 1
call fcn.004a1d60
pop ecx
mov dword [eax + 4], 9
or eax, 0xffffffff
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
ret
movsx ebx, byte [edx + 4]
push 0
lea ecx, [esp + 4]
push ecx
push dword [esp + 0x28]
push ebp
push dword [edx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a2f51
cmp dword [esp], 0
je 0x4a2f46
test ebx, ebx
je 0x4a2f46
mov esi, ebp
xor ebx, ebx
xor ecx, ecx
cmp dword [esp], 0
mov edi, esi
jbe 0x4a2f17
movzx eax, byte [edi]
cmp al, 0xd
jne 0x4a2f07
mov edx, dword [esp]
add edx, 0xffffffff
cmp ecx, edx
jae 0x4a2f07
cmp byte [edi + 1], 0xa
jne 0x4a2f07
add edi, 1
add ebx, 1
jmp 0x4a2f0f
mov byte [esi], al
add edi, 1
add esi, 1
add ecx, 1
cmp ecx, dword [esp]
jb 0x4a2ee8
mov eax, dword [esp + 0x20]
cmp dword [esp], eax
jne 0x4a2f43
cmp dword [esp], 1
jbe 0x4a2f43
mov ecx, dword [esp]
cmp byte [ebp + ecx - 1], 0xd
jne 0x4a2f43
push 1
push 0xffffffffffffffff
push dword [esp + 0x20]
call fcn.004a2c90
add esp, 0xc
add ebx, 1
sub dword [esp], ebx
mov eax, dword [esp]
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004a2660
xor eax, eax
pop ecx
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4a35e0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
sub esp, 4
mov dword [eax], 0
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], 0
mov edi, dword [0x4d0ff0]
jmp 0x4a3607
mov edi, dword [edi + 8]
test edi, edi
je 0x4a3614
mov esi, dword [edi]
mov eax, dword [ebp + 8]
cmp dword [esi], eax
ja 0x4a3604
test edi, edi
jne 0x4a3620
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
mov ebx, dword [edi]
mov eax, dword [edi + 4]
sub eax, ebx
cdq
and edx, 7
add eax, edx
sar eax, 3
xor edx, edx
cmp eax, 1
mov ecx, eax
je 0x4a365d
lea eax, [eax]
lea esi, [edx + ecx]
mov edi, dword [ebp + 8]
sar esi, 1
add edi, 0xffffffff
cmp dword [ebx + esi*8], edi
ja 0x4a3654
mov edx, esi
jmp 0x4a3656
mov ecx, esi
lea esi, [edx + 1]
cmp esi, ecx
jne 0x4a3640
mov edi, dword [ebp + 8]
add edi, 0xffffffff
cmp edi, dword [ebx + edx*8]
jb 0x4a3759
lea esi, [edx + 1]
cmp esi, eax
je 0x4a3683
mov ecx, dword [ebp + 8]
add ecx, 0xffffffff
cmp ecx, dword [ebx + edx*8 + 8]
jae 0x4a3759
mov esi, dword [ebx + edx*8 + 4]
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
movsx eax, byte [ecx]
test eax, 1
mov edi, esi
jne 0x4a374f
movzx eax, word [ecx + 5]
add edi, 7
xor esi, esi
test eax, eax
mov dword [ebp - 0x10], eax
jle 0x4a374f
mov ebx, dword [edi]
movzx ecx, byte [ebx]
cmp cl, 0xe8
je 0x4a36c4
cmp cl, 0xcc
jne 0x4a36d0
add ebx, 5
jmp case.default.0x4a3708
cmp cl, 0xff
jne 0x4a3720
movzx edx, byte [ebx + 1]
mov ecx, edx
sar ecx, 6
and edx, 7
add ebx, 2
cmp ecx, 3
je case.default.0x4a3708
cmp edx, 4
jne 0x4a36f1
add ebx, 1
test ecx, ecx
jne 0x4a3700
cmp edx, 5
jne 0x4a3700
add ebx, 4
jmp case.default.0x4a3708
lea eax, [ecx - 1]
cmp eax, 1
ja case.default.0x4a3708
jmp dword [eax*4 + 0x4a6d04]
add ebx, 1
jmp case.default.0x4a3708
add ebx, 4
jmp case.default.0x4a3708
call fcn.004a41a0
cmp ebx, dword [ebp + 8]
jne 0x4a3740
mov esi, dword [edi + 4]
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], esi
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
add esi, 1
add edi, 8
cmp esi, dword [ebp - 0x10]
jl 0x4a36b5
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], 0
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4a370f
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
sub esp, 4
mov dword [eax], 0
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], 0
mov edi, dword [0x4d0ff0]
jmp 0x4a3607
mov edi, dword [edi + 8]
test edi, edi
je 0x4a3614
mov esi, dword [edi]
mov eax, dword [ebp + 8]
cmp dword [esi], eax
ja 0x4a3604
test edi, edi
jne 0x4a3620
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
mov ebx, dword [edi]
mov eax, dword [edi + 4]
sub eax, ebx
cdq
and edx, 7
add eax, edx
sar eax, 3
xor edx, edx
cmp eax, 1
mov ecx, eax
je 0x4a365d
lea eax, [eax]
lea esi, [edx + ecx]
mov edi, dword [ebp + 8]
sar esi, 1
add edi, 0xffffffff
cmp dword [ebx + esi*8], edi
ja 0x4a3654
mov edx, esi
jmp 0x4a3656
mov ecx, esi
lea esi, [edx + 1]
cmp esi, ecx
jne 0x4a3640
mov edi, dword [ebp + 8]
add edi, 0xffffffff
cmp edi, dword [ebx + edx*8]
jb 0x4a3759
lea esi, [edx + 1]
cmp esi, eax
je 0x4a3683
mov ecx, dword [ebp + 8]
add ecx, 0xffffffff
cmp ecx, dword [ebx + edx*8 + 8]
jae 0x4a3759
mov esi, dword [ebx + edx*8 + 4]
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
movsx eax, byte [ecx]
test eax, 1
mov edi, esi
jne 0x4a374f
movzx eax, word [ecx + 5]
add edi, 7
xor esi, esi
test eax, eax
mov dword [ebp - 0x10], eax
jle 0x4a374f
mov ebx, dword [edi]
movzx ecx, byte [ebx]
cmp cl, 0xe8
je 0x4a36c4
cmp cl, 0xcc
jne 0x4a36d0
add ebx, 5
jmp case.default.0x4a3708
cmp cl, 0xff
jne 0x4a3720
movzx edx, byte [ebx + 1]
mov ecx, edx
sar ecx, 6
and edx, 7
add ebx, 2
cmp ecx, 3
je case.default.0x4a3708
cmp edx, 4
jne 0x4a36f1
add ebx, 1
test ecx, ecx
jne 0x4a3700
cmp edx, 5
jne 0x4a3700
add ebx, 4
jmp case.default.0x4a3708
lea eax, [ecx - 1]
cmp eax, 1
ja case.default.0x4a3708
jmp dword [eax*4 + 0x4a6d04]
add ebx, 1
jmp case.default.0x4a3708
add ebx, 4
jmp case.default.0x4a3708
call fcn.004a41a0
cmp ebx, dword [ebp + 8]
jne 0x4a3740
mov esi, dword [edi + 4]
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], esi
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
add esi, 1
add edi, 8
cmp esi, dword [ebp - 0x10]
jl 0x4a36b5
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], 0
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4a3e00
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push ebx
push esi
push edi
sub esp, 0x14c
or ecx, 0xffffffff
mov edx, dword [0x4e74f4]
mov ebx, dword [0x4e74f0]
mov esi, dword [edx + ebx*4 - 4]
mov edi, esi
repne scasb al, byte es:[edi]
mov edi, 0xfffffffe
sub edi, ecx
add edi, esi
jmp 0x4a3e33
sub edi, 1
cmp edi, esi
jbe 0x4a3e4c
movsx edx, byte [edi - 1]
push edx
push 0x4d10c0
call fcn.004a0900
pop ecx
test eax, eax
pop ecx
je 0x4a3e30
lea ecx, [ebp - 0x150]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x154], eax
je 0x4a3f05
mov dword [ebp - 0x10], edi
sub dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x10]
lea ebx, [ebp - 0x124]
mov dword [ebp - 0x158], eax
mov eax, eax
xor eax, eax
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
mov edx, 0xfffffffe
sub edx, ecx
add edx, dword [ebp - 0x158]
add edx, 1
push edx
call fcn.004a0690
mov edi, eax
pop ecx
push esi
push edi
call fcn.004a08a0
pop ecx
pop ecx
push ebx
mov ecx, edi
add ecx, dword [ebp - 0x10]
push ecx
call fcn.004a08a0
pop ecx
pop ecx
call fcn.004a3db0
test eax, eax
je 0x4a3ef9
mov eax, dword [0x4e74f4]
mov edx, dword [0x4e74f0]
lea ecx, [ebp - 0x150]
mov dword [eax + edx*4 - 4], edi
push ecx
push dword [ebp - 0x154]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4a3ef9
mov edx, dword [0x4e74f0]
add dword [0x4e74f0], 1
test edx, edx
jne 0x4a3e80
push dword [ebp - 0x154]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4a3f10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 8
mov dword [0x4e6e88], 1
push 4
mov dword [0x4e74f0], 0
call fcn.004a0690
mov dword [0x4e74f4], eax
test eax, eax
pop ecx
mov dword [0x4e74d4], 0
jne 0x4a3f55
call fcn.004a3d90
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x14], eax
mov esi, eax
xor eax, eax
or ecx, 0xffffffff
mov edi, esi
repne scasb al, byte es:[edi]
mov edx, 0xfffffffe
sub edx, ecx
add edx, 1
push edx
call fcn.004a0690
mov ebx, eax
test ebx, ebx
pop ecx
mov dword [0x4e6e80], eax
jne 0x4a3f95
call fcn.004a3d90
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
add esi, 1
movsx eax, byte [esi]
push eax
push 0x4d10c4
call fcn.004a0900
pop ecx
test eax, eax
pop ecx
jne 0x4a3f92
cmp byte [esi], 0
je 0x4a412c
call fcn.004a3db0
test eax, eax
je 0x4a412c
cmp dword [0x4e74f0], 1
mov dword [ebp - 0x10], 0
jne 0x4a3fda
mov ecx, esi
sub ecx, dword [ebp - 0x14]
mov dword [0x4e74d4], ecx
mov edx, dword [0x4e74f4]
mov eax, dword [0x4e74f0]
mov dword [edx + eax*4], ebx
add dword [0x4e74f0], 1
movzx ecx, byte [esi]
xor edi, edi
test cl, cl
je 0x4a4118
lea eax, [eax]
test edi, edi
jne 0x4a4056
movsx ecx, cl
push ecx
push 0x4d10cc
call fcn.004a0900
pop ecx
test eax, eax
pop ecx
je 0x4a4041
add esi, 1
movzx ecx, byte [esi]
test cl, cl
je 0x4a4036
movsx edx, cl
push edx
push str.__t_r_n_v
call fcn.004a0900
pop ecx
test eax, eax
pop ecx
jne 0x4a4018
mov byte [ebx], 0
add ebx, 1
jmp 0x4a4118
movzx ecx, byte [esi]
cmp cl, 0x22
jne 0x4a4080
add esi, 1
mov edi, 1
jmp 0x4a410d
cmp cl, 0x22
jne 0x4a4070
cmp byte [esi + 1], 0x22
jne 0x4a4070
mov byte [ebx], 0x22
add ebx, 1
add esi, 2
jmp 0x4a410d
cmp cl, 0x22
jne 0x4a4080
add esi, 1
xor edi, edi
jmp 0x4a410d
cmp cl, 0x5c
jne 0x4a40d4
cmp byte [esi + 1], 0x5c
jne 0x4a40d4
cmp byte [esi + 2], 0x5c
mov eax, 2
jne 0x4a409f
add eax, 1
cmp byte [esi + eax], 0x5c
je 0x4a4096
cmp byte [esi + eax], 0x22
jne 0x4a40cd
and eax, 0xfffffffe
je 0x4a410d
lea eax, [eax]
movzx ecx, byte [esi]
mov byte [ebx], cl
add ebx, 1
add esi, 2
sub eax, 2
jne 0x4a40b0
jmp 0x4a410d
movzx edx, byte [esi]
mov byte [ebx], dl
add esi, 1
add ebx, 1
sub eax, 1
jae 0x4a40c2
jmp 0x4a410d
cmp cl, 0x5c
jne 0x4a40f0
cmp byte [esi + 1], 0x22
jne 0x4a40f0
mov byte [ebx], 0x22
add ebx, 1
add esi, 2
jmp 0x4a410d
test edi, edi
jne 0x4a4105
cmp cl, 0x2a
je 0x4a40fe
cmp cl, 0x3f
jne 0x4a4105
mov dword [ebp - 0x10], 1
mov byte [ebx], cl
add esi, 1
add ebx, 1
movzx ecx, byte [esi]
test cl, cl
jne 0x4a4000
cmp dword [ebp - 0x10], 0
je 0x4a4123
call fcn.004a3e00
cmp byte [esi], 0
jne 0x4a3fb2
mov byte [ebx], 0
cmp dword [0x4e74f0], 1
jne 0x4a4142
mov eax, esi
sub eax, dword [ebp - 0x14]
mov dword [0x4e74d4], eax
mov ecx, dword [0x4e74f4]
mov edx, dword [0x4e74f0]
mov dword [ecx + edx*4], 0
push 0x4a3d50
call fcn.004a0f60
pop ecx
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x425070
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42509d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42509d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x37c14106
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x580b41eb
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219