joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401b62
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ecx
shr ecx, 0x10
push esi
push edi
sub ecx, 5
je 0x401b85
dec ecx
je 0x401b77
xor eax, eax
jmp 0x401bd8
push dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0040166d
pop ecx
jmp 0x401bd8
and dword [ebp - 4], 0
sub esp, 0x1c
mov esi, 0x4082e4
push 7
pop ecx
mov edi, esp
lea eax, [ebp - 4]
rep movsd dword es:[edi], dword [esi]
push eax
xor ecx, ecx
call fcn.00401aa5
add esp, 0x20
test eax, eax
je 0x401bc5
push dword [ebp + 0xc]
xor esi, esi
push dword [ebp + 8]
inc esi
push 0
push esi
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x401bc7
xor esi, esi
cmp dword [ebp - 4], 0
je 0x401bd6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x401c11
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor esi, esi
mov edi, edx
mov ebx, ecx
mov dword [ebp - 4], esi
mov dword [ebp - 8], 0x20
call fcn.004018e8
test eax, eax
je 0x401c75
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x800c
push dword [0x4097d0]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x401c75
push esi
push ebx
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x401c75
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x401c75
inc esi
cmp dword [ebp - 4], 0
je 0x401c84
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x402126
Capabilities:
Terminate process

Disassembly:
cmp dword [0x4097c0], 0
push esi
mov esi, ecx
je 0x402153
push 0x4099f4
push dword [0x4097d8]
mov dword [0x4099f8], 1
mov dword [0x409a00], esi
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x402829
Capabilities:
Accept command line arguments
Execute command
Terminate process

Disassembly:
sub esp, 0x10
push ebp
push esi
push edi
mov dword [0x4097d4], 0x40328a
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x4097dc
push eax
mov dword [0x409a1c], eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
xor ebp, ebp
mov edx, 0x4097e8
mov dword [esp + 0xc], str.KMSEmulator
mov dword [esp + 0x10], fcn.004029de
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov ecx, dword [edi]
mov dword [0x4099f0], edi
mov esi, edx
movzx eax, word [ecx]
mov word [esi], ax
lea ecx, [ecx + 2]
lea esi, [esi + 2]
test ax, ax
jne 0x40287b
mov ecx, dword [edi]
mov esi, ecx
push ebx
lea ebx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, bp
jne 0x402894
sub esi, ebx
push 0x2e
sar esi, 1
pop ebx
cmp word [ecx + esi*2 - 8], bx
jne 0x40290a
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bp
jne 0x4028b0
sub ecx, edx
sar ecx, 1
push 0x6c
pop eax
mov word [ecx*2 + 0x4097e2], ax
mov ecx, dword [edi]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bp
jne 0x4028cf
sub ecx, edx
sar ecx, 1
push 0x6f
pop eax
mov word [ecx*2 + 0x4097e4], ax
mov ecx, dword [edi]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bp
jne 0x4028ee
sub ecx, edx
push 0x67
sar ecx, 1
pop eax
mov word [ecx*2 + 0x4097e6], ax
jmp 0x40294f
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bp
jne 0x40290d
push 0x6c
pop eax
sub edx, ecx
sar edx, 1
push 0x6f
mov word [edx*2 + 0x4097ea], ax
pop eax
mov word [edx*2 + 0x4097ec], ax
push 0x67
pop eax
mov word [edx*2 + 0x4097ee], ax
xor eax, eax
mov word [edx*2 + 0x4097e8], bx
mov word [edx*2 + 0x4097f0], ax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
pop ebx
test eax, eax
jne 0x4029d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x427
jne 0x4029d5
cmp dword [0x4097dc], 1
mov dword [0x4097c0], ebp
jle 0x4029d0
mov eax, dword [0x4099f0]
mov esi, dword [sym.imp.KERNEL32.dll_CompareStringW]
or edi, 0xffffffff
push edi
push 0x4067a4
push edi
push dword [eax + 4]
push 1
push 0x7f
call esi
cmp eax, 2
je 0x4029b8
mov eax, dword [0x4099f0]
push edi
push 0x4067ac
push edi
push dword [eax + 4]
push 1
push 0x7f
call esi
cmp eax, 2
jne 0x4029d0
call fcn.0040274e
push str.pause
call dword [sym.imp.msvcrt.dll_system]
pop ecx
push ebp
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.004029de
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10
ret
Function at 0x80039fd
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x80043a0], 0x30
mov dword [0x80043a8], 0x80032e8
mov dword [0x80043a4], 2
mov dword [0x80043ac], 0
mov dword [0x80043b0], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003a40
mov dword [0x80043b4], eax
mov dword [0x80043c8], 0x80041d4
mov dword [0x80043c0], 0xf
mov dword [0x80040f6], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043b8], eax
mov dword [0x80043cc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x80040fe], ebp
mov dword [0x80043bc], eax
push 0x80043a0
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x8004420], eax
push 0
push dword [0x80040f6]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x8004418], eax
push 1
push dword [0x8004418]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x8004418]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003afe
xor edi, edi
lea ebx, [0x80043d0]
jmp 0x8003b16
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003b08
jmp 0x8003b2a
mov eax, dword [0x80043d8]
call 0x80029cd
ret

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0xcaf3c9a
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..text
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5a465027
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x41acb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0041a98b
aad 0xbf
in eax, 0x1e
lea eax, [ebp - 0x40]
push eax
call fcn.0041a99b
push eax
push esi
push dword [ebp + 8]
call fcn.0041a950
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.0041a98b
scasb al, byte es:[edi]
call 0x45cf43f2
call 0x512a0a81
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0041a99b
push eax
push esi
push dword [ebp + 8]
call fcn.0041a950
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0041a99b
push eax
push esi
push dword [ebp + 8]
call fcn.0041a950
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0041a99b
push eax
push esi
push dword [ebp + 8]
call fcn.0041a950
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0041a98b
invalid
and eax, 0x9d886cd3
invalid
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x5f435e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5f4379
add esi, 0x1000
lea eax, [ebp - 0x2bc]
push edx
push 0x1c
push eax
push esi
call dword [edx + 0x124b959e]
pop edx
test eax, eax
je 0x5f444b
cmp dword [ebp - 0x2ac], 0x1000
jne 0x5f443a
test dword [ebp - 0x2a8], 1
jne 0x5f443a
and dword [ebp - 0x2a8], 0x100
jne 0x5f443a
push esi
push edx
push 4
push esi
call dword [edx + 0x122d3c1e]
pop edx
pop esi
test eax, eax
je 0x5f43dd
jmp 0x5f443a
cmp word [esi], 0x5a4d
jne 0x5f443a
mov eax, esi
push ebx
mov ebx, dword [esi + 0x3c]
add eax, ebx
pop ebx
cmp dword [eax], 0x4550
jne 0x5f443a
lea eax, [ebp - 0x28c]
push edx
push 0x28a
push eax
push esi
call dword [edx + 0x122d3b2a]
pop edx
test eax, eax
je 0x5f443a
lea eax, [ebp - 0x28c]
push eax
call fcn.005f42ba
test eax, eax
jne 0x5f4433
jmp 0x5f443a
mov eax, esi
jmp 0x5f444b
mov esi, dword [ebp - 0x2b0]
add esi, dword [ebp - 0x2bc]
jmp 0x5f4379
pop esi
leave
ret 4
Function at 0x4010e0
Capabilities:
Query environment variable

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
call fcn.00401480
add esp, 8
test eax, eax
jne 0x40128f
mov eax, dword [0x408470]
test eax, eax
jne 0x401116
mov ecx, dword [0x4084dc]
mov edx, 0x405a90
call fcn.00402ac0
mov dword [0x408470], eax
push ebx
push esi
push edi
push 0x405434
call eax
mov esi, eax
add esp, 4
test esi, esi
je 0x4011e1
mov eax, dword [0x408494]
test eax, eax
jne 0x40114b
mov ecx, dword [0x4084dc]
mov edx, 0x405c08
call fcn.00402ac0
mov dword [0x408494], eax
push 0
push 0
push 0x408018
call eax
mov ebx, dword [str._MessageBox]
mov edi, eax
mov eax, dword [0x408508]
add esp, 0xc
test eax, eax
jne 0x40117f
mov ecx, dword [0x4084dc]
mov edx, 0x405bf0
call fcn.00402ac0
mov dword [0x408508], eax
push edi
push ebx
push esi
call eax
mov eax, dword [0x408494]
add esp, 0xc
test eax, eax
jne 0x4011a5
mov ecx, dword [0x4084dc]
mov edx, 0x405c08
call fcn.00402ac0
mov dword [0x408494], eax
push 0
push 0
push 0x408028
call eax
mov ebx, dword [str._SHGetSpecialFolderPath]
mov edi, eax
mov eax, dword [0x408508]
add esp, 0xc
test eax, eax
jne 0x4011d9
mov ecx, dword [0x4084dc]
mov edx, 0x405bf0
call fcn.00402ac0
mov dword [0x408508], eax
push edi
push ebx
push esi
call eax
add esp, 0xc
call fcn.004012d0
push str.PYTHONINSPECT
mov edi, eax
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x40126a
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push 0
call esi
mov ebx, eax
add esp, 4
mov eax, dword [0x4084b4]
test eax, eax
jne 0x401227
mov ecx, dword [0x4084dc]
mov edx, 0x405790
call fcn.00402ac0
mov dword [0x4084b4], eax
push str._stdin_
push ebx
call eax
add esp, 8
test eax, eax
je 0x40126a
push 0
call esi
mov esi, eax
add esp, 4
mov eax, dword [0x408550]
test eax, eax
jne 0x40125d
mov ecx, dword [0x4084dc]
mov edx, 0x4057a4
call fcn.00402ac0
mov dword [0x408550], eax
push 0
push str._stdin_
push esi
call eax
add esp, 0xc
mov eax, dword [0x408454]
test eax, eax
jne 0x401288
mov ecx, dword [0x4084dc]
mov edx, 0x405818
call fcn.00402ac0
mov dword [0x408454], eax
call eax
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x10004cd0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x10004d02
lea esp, [esp]
test cl, 3
je 0x10004d02
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x57da460]
add ecx, 1
sub esi, 1
jne 0x10004ce0
cmp esi, 0x20
push ebx
push edi
jb 0x10004eec
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x57da860]
xor edx, dword [ebx*4 + 0x57dac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x57da460]
add ecx, 4
xor edx, dword [eax*4 + 0x57db060]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x57da860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x57dac60]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x57da460]
add ecx, 4
xor eax, dword [edx*4 + 0x57db060]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x57da860]
xor edx, dword [ebx*4 + 0x57dac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x57da460]
xor edx, dword [eax*4 + 0x57db060]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x57da860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x57dac60]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x57da460]
xor eax, dword [edx*4 + 0x57db060]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x57da860]
xor edx, dword [ebx*4 + 0x57dac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x57da460]
xor edx, dword [eax*4 + 0x57db060]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x57da860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x57dac60]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x57da460]
and edx, 0xff
xor eax, dword [edx*4 + 0x57db060]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x57da860]
xor edx, dword [ebx*4 + 0x57dac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x57da460]
add ecx, 4
xor edx, dword [eax*4 + 0x57db060]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x57da860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x57dac60]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x57da460]
and edx, 0xff
xor eax, dword [edx*4 + 0x57db060]
sub edi, 1
jne 0x10004d12
cmp esi, 4
jb 0x10004f39
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x57da860]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x57dac60]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x57da460]
and eax, 0xff
xor edi, dword [eax*4 + 0x57db060]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x10004ef6
test esi, esi
pop edi
pop ebx
je 0x10004f5d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x57da460]
add ecx, 1
sub esi, 1
jne 0x10004f40
not eax
pop esi
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x40380c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x485300]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x403875
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00402655
lea eax, [esp + 0x14]
push 0x235
push eax
call fcn.00406309
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x40388d
lea ecx, [esp + 0x14]
add edi, 4
call fcn.004053a0
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x40383d
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00409f50
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.004053a0
jmp 0x403877

Function at 0x4067de
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x486c48], eax
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0x27
push 0x484c18
push 0x547
mov esi, 0x484c40
push esi
call fcn.004038ab
push 1
push 0x427554
call fcn.00406896
add esp, 0x18
mov ecx, 0x486f50
push 0
call fcn.004031a4
push eax
call fcn.00402227
push 0x8aafdc01
push dword [0x486c48]
call fcn.0040380c
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0x4e4
push esi
call eax
pop edi
pop esi
test eax, eax
je 0x406892
lea eax, [ebp - 0xc]
push 0x40663b
push eax
call fcn.004020fb
pop ecx
pop ecx
lea ecx, [ebp - 0xc]
call fcn.0040671a
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x406892
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x406892
call fcn.0040407b
xor eax, eax
leave
ret
Function at 0x40380c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x484300]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x403875
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00402655
lea eax, [esp + 0x14]
push 0x235
push eax
call fcn.00406309
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x40388d
lea ecx, [esp + 0x14]
add edi, 4
call fcn.004053a0
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x40383d
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040a1ba
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.004053a0
jmp 0x403877

Function at 0x4067de
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x485c48], eax
push str.FreeConsole
push 0x427560
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call eax
mov esi, 0x483c40
push 0x27
push 0x483c18
push 0x547
push esi
call fcn.004038ab
push 1
push 0x427570
call fcn.004068af
add esp, 0x18
mov ecx, 0x485f50
push 0
call fcn.004031a4
push eax
call fcn.00402227
push 0x8aafdc01
push dword [0x485c48]
call fcn.0040380c
add esp, 0xc
lea ecx, [ebp - 0xc]
push ecx
push 0x40
push 0x4e4
push esi
call eax
test eax, eax
je 0x4068a9
lea eax, [ebp - 8]
push 0x40663b
push eax
call fcn.004020fb
pop ecx
pop ecx
lea ecx, [ebp - 8]
call fcn.0040671a
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x4068a9
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4068a9
call fcn.0040407b
pop edi
xor eax, eax
pop esi
leave
ret