joyce8/EMBER2024-capa huggingface dataset:
Function at 0x589da0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xc08cc0]
xor edx, edx
cmp eax, edx
jne 0x589dc6
xor eax, eax
mov byte [eax + 0xc08bc0], al
inc eax
cmp eax, 0x100
jl 0x589dae
mov dword [0xc08cc0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xc08bc0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x589e57
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x589e2a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x589df8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x589ed0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x589f23
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x589f0a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5908c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60419e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.005911e0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0xaff74c
call fcn.005ef2af
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x590953
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005ef2af
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x59094c
push 0
mov ecx, eax
call fcn.005879e0
mov dword [esi + 0xc], eax
jmp 0x590955
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x590955
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x59e190
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x59e1c3
push esi
call fcn.005a2f60
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x59e1bc
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 0x59e249
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x59e232
mov eax, dword [esi + 8]
test eax, eax
je 0x59e1e7
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 0x59e22e
cmp eax, 2
je 0x59e232
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x59e1da
cmp eax, 3
je 0x59e20d
cmp eax, 1
jne 0x59e1da
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 0x59e1da
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x59e1da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0059e280
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x59e269
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.0059e280
add esp, 4
pop esi
ret

Function at 0x5dce2c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x5dce4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005dacca
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x5dce6f
test byte [esp + 8], 2
je 0x5dce6f
call fcn.005dad3d
mov dword [eax], 0xd
call fcn.005dad46
mov dword [eax], 5
jmp 0x5dce48
xor eax, eax
ret

Function at 0x5f199d
Capabilities:
Get graphical window text

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

Function at 0x5f3199
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 0x5f31db
call fcn.005f96b0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5f31db
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource_1]
cmp eax, edi
jne 0x5f31d2
xor eax, eax
jmp 0x5f31e3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource_1]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005f31e9
pop edi
pop esi
pop ebx
ret 4
Function at 0x5f9be0
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 0x5f9c0e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5f9c2c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005f9b46
jmp 0x5f9c2c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5f9c2c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005f9b46
test edi, edi
mov eax, edi
jne 0x5f9c16
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x517040
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x151000
lea edi, [esi - 0xc0000]
push edi
jmp 0x51705a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x517061
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x517050
mov eax, 1
add ebx, ebx
jne 0x517073
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x517084
jne 0x5170a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5170a3
dec eax
add ebx, ebx
jne 0x517090
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x517068
add ebx, ebx
jne 0x51709f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5170f5
xor ecx, ecx
sub eax, 3
jb 0x5170bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x51712a
sar eax, 1
mov ebp, eax
jmp 0x5170c6
add ebx, ebx
jne 0x5170c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x517094
inc ecx
add ebx, ebx
jne 0x5170d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x517094
add ebx, ebx
jne 0x5170e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5170d6
jne 0x5170f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5170d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x517114
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x517106
jmp 0x517056
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x517114
add edi, ecx
jmp 0x517056
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x517132
cmp byte [edi], 0x11
jne 0x517132
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x517137
lea edi, [esi + 0x110000]
mov eax, dword [edi]
or eax, eax
je 0x5171af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x15521c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x155398]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x517164
mov ecx, edi
jns 0x517193
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x15539c]
or eax, eax
je 0x5171a9
mov dword [ebx], eax
add ebx, 4
jmp 0x517181
call dword [esi + 0x1553ac]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5171e0
cmp al, 0xef
ja 0x5171d3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5171b5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5171c2
mov ebp, dword [esi + 0x1553a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x517214
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x401340
Capabilities:
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
push esi
push edi
test ebx, ebx
je 0x4014fd
test edx, edx
je 0x4014fd
cmp edx, 0x40
jb 0x4014fd
mov eax, 0x5a4d
cmp word [ebx], ax
jne 0x4014fd
mov ecx, dword [ebx + 0x3c]
lea eax, [ecx + 0xf8]
cmp edx, eax
jb 0x4014fd
add ecx, ebx
cmp dword [ecx], 0x4550
jne 0x4014fd
mov eax, 0x14c
cmp word [ecx + 4], ax
jne 0x4014fd
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4014fd
movzx eax, word [ecx + 0x14]
movzx edx, word [ecx + 6]
add eax, 0x18
add eax, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], edx
test edx, edx
je 0x4014fd
mov edi, dword [ecx + 0x78]
lea esi, [eax + 8]
mov dword [ebp - 0x20], edi
xor eax, eax
mov dword [ebp - 0x14], esi
mov ecx, dword [esi + 4]
cmp edi, ecx
jb 0x4014eb
mov eax, dword [esi]
add eax, ecx
cmp edi, eax
jae 0x4014e8
sub ecx, dword [esi + 0xc]
mov eax, edi
sub eax, ecx
mov dword [ebp - 0x18], ecx
add eax, ebx
mov esi, dword [eax + 0x1c]
mov edi, dword [eax + 0x24]
sub esi, ecx
add esi, ebx
sub edi, ecx
mov dword [ebp - 0x2c], esi
add edi, ebx
mov esi, dword [eax + 0x20]
sub esi, ecx
mov dword [ebp - 0x34], edi
add esi, ebx
mov dword [ebp - 0x28], esi
mov esi, dword [eax + 0x14]
mov dword [ebp - 8], esi
mov esi, dword [eax + 0x18]
xor eax, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], eax
jbe 0x4014e2
mov edx, dword [ebp - 8]
xor ebx, ebx
test esi, esi
je 0x4014d0
nop word [eax + eax]
movzx edi, word [edi + ebx*2]
cmp edi, eax
jne 0x4014c5
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx*4]
sub eax, ecx
mov ecx, str._LibraryMain__YGKPAX_Z
add eax, dword [ebp - 0x1c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x401488
test dl, dl
je 0x401484
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x401488
add ecx, 2
add eax, 2
test dl, dl
jne 0x401468
xor eax, eax
jmp 0x40148d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4014bf
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov ecx, dword [ebp - 0x24]
add ecx, 0x10
mov edi, dword [eax + edi*4]
mov eax, dword [ebp - 0x10]
mov esi, dword [ecx - 4]
cmp edi, esi
jb 0x4014b4
mov eax, dword [ecx]
add eax, esi
cmp edi, eax
jb 0x401506
mov eax, dword [ebp - 0x10]
inc edx
add ecx, 0x28
cmp edx, eax
jb 0x4014a2
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 0x34]
inc ebx
cmp ebx, esi
jb 0x401450
mov edx, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, edx
jb 0x401440
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
inc eax
add esi, 0x28
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], esi
cmp eax, edx
jb 0x4013e2
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x24]
lea eax, [edx + edx*4]
mov eax, dword [ecx + eax*8 + 0x14]
sub eax, esi
add eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4017f0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x409004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
push str.Library.dll
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x401957
cmp esi, 0xffffffff
je 0x401957
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
je 0x401942
cmp ebx, 0xffffffff
je 0x401942
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, eax
test edi, edi
je 0x40192d
cmp edi, 0xffffffff
je 0x40192d
push ebx
push 8
push edi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x4018a0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Failed__HeapAlloc___LastError__0x_08X__n
jmp 0x401963
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4018e5
cmp ebx, dword [ebp - 8]
je 0x4018e5
mov eax, dword [ebp - 0xc]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
test eax, eax
jne 0x401889
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Failed__HeapFree___LastError__0x_08X__n
jmp 0x401963
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4018f5
mov dword [eax], edi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
test ecx, ecx
je 0x401903
mov dword [ecx], eax
jmp 0x401911
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
je 0x4018d7
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40191a
mov dword [eax], ebx
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004041fe
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Failed__GetProcessHeap___LastError__0x_08X__n
jmp 0x401963
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Failed__GetFileSize___LastError__0x_08X__n
jmp 0x401963
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Failed__CreateFile___LastError__0x_08X__n
push 0xc
call fcn.00403690
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
xor al, al
pop edi
pop esi
pop ebx
call fcn.004041fe
mov esp, ebp
pop ebp
ret
Function at 0x403940
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x409004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
test ebx, ebx
je 0x403a88
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [ebp - 8], ebx
imul edx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
xor edx, eax
mov eax, ebx
shr eax, 0x10
movzx eax, al
imul ecx, edx, 0x1000193
shr ebx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
xor eax, ebx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00404120
mov edx, dword [0x409478]
mov esi, edx
mov eax, dword [eax + 4]
test eax, eax
cmovne esi, eax
cmp esi, edx
je 0x403a88
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [0x409480]
imul ecx, ecx, 0x1000193
and ecx, dword [0x40948c]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x403a19
cmp eax, esi
jne 0x403a11
mov dword [ecx], edx
mov dword [ecx + 4], edx
jmp 0x403a21
mov edx, dword [esi + 4]
mov dword [ecx + 4], edx
jmp 0x403a21
cmp eax, esi
jne 0x403a21
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
dec dword [0x40947c]
mov eax, dword [esi + 4]
push edi
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov edi, dword [esi + 0xc]
test edi, edi
je 0x403a6a
mov ecx, dword [edi]
test ecx, ecx
je 0x403a5f
mov eax, dword [edi + 4]
test eax, eax
je 0x403a5f
lea edx, [ebp - 8]
mov dword [ebp - 8], 0
push edx
push dword [edi + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0xc
push edi
call fcn.0040448d
add esp, 8
push 0x10
push esi
call fcn.0040448d
add esp, 8
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004041fe
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.004041fe
mov esp, ebp
pop ebp
ret
Function at 0x403c30
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x409004]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ecx]
test edx, edx
je 0x403cfd
cmp dword [ecx + 4], 0
je 0x403cfd
cmp dword [ecx + 0xc], 0
je 0x403cfd
movzx eax, dl
xor eax, 0x811c9dc5
mov dword [ebp - 8], edx
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, edx
shr eax, 0x10
movzx eax, al
imul ecx, ecx, 0x1000193
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00404120
mov edx, dword [0x409478]
mov eax, dword [eax + 4]
test eax, eax
cmovne edx, eax
cmp edx, dword [0x409478]
je 0x403cfd
mov eax, dword [edx + 0xc]
test eax, eax
je 0x403cfd
mov edx, dword [eax]
test edx, edx
je 0x403cfd
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x403cfd
push esi
lea esi, [ebp - 8]
mov dword [ebp - 8], 0
push esi
push dword [eax + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
pop esi
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004041fe
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.004041fe
mov esp, ebp
pop ebp
ret

Function at 0x404b8a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x404bc9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404bc9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404bc9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404bc9
cmp dword [ecx + 0x74], 0xe
jbe 0x404bc9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x69384548
nop
nop
nop
test eax, eax
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x40751c45
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x408690
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x409380
push 0x4088a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x40a18c], 0xffffffff
mov dword [0x40a190], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x40a180]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x40a17c]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x40a188], ecx
call fcn.00408890
mov eax, dword [0x40a0a0]
test eax, eax
jne 0x408721
push 0x408880
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.00408860
push 0x40a014
push 0x40a010
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x40a178]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x40a174]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x40a00c
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT.dll___p__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x40882f
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x408795
cmp al, 0x22
jne 0x408787
cmp byte [esi], 0x22
jne 0x40879e
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x4087ae
cmp al, 0x20
ja 0x4087ae
inc esi
mov dword [ebp - 0x74], esi
jmp 0x40879e
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x4087cf
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x4087d4
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x408814
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x40879e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x40882f