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

Disassembly:
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, ecx
mov eax, esi
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmmword [0x6e76d290]
movups xmmword [edi + eax*4], xmm0
add eax, 4
cmp eax, 0x100
jl 0x4078d7
mov ebp, dword [esp + 0x14]
mov ebx, esi
xor edx, edx
mov eax, ebx
div dword [esp + 0x18]
movzx eax, byte [edx + ebp]
add eax, dword [edi + ebx*4]
add esi, eax
and esi, 0x800000ff
jns 0x40791d
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [edi + ebx*4]
mov eax, dword [edi + esi*4]
mov dword [edi + ebx*4], eax
inc ebx
movzx eax, cl
mov dword [edi + esi*4], eax
cmp ebx, 0x100
jl 0x4078fc
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x40793c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x400
lea eax, [esp]
push ebx
push esi
push edi
push 0x400
push ecx
xor esi, esi
push eax
mov edi, esi
call fcn.00437510
mov edx, dword [esp + 0x420]
add esp, 0xc
mov ebx, esi
add edx, 1
je 0x4079cc
push ebp
mov ebp, dword [esp + 0x414]
inc esi
and esi, 0x800000ff
jns 0x407982
dec esi
or esi, 0xffffff00
inc esi
mov eax, dword [esp + esi*4 + 0x10]
add edi, eax
and edi, 0x800000ff
jns 0x407998
dec edi
or edi, 0xffffff00
inc edi
mov cl, al
mov eax, dword [esp + edi*4 + 0x10]
mov dword [esp + esi*4 + 0x10], eax
movzx eax, cl
mov dword [esp + edi*4 + 0x10], eax
mov ecx, dword [esp + esi*4 + 0x10]
add ecx, eax
and ecx, 0x800000ff
jns 0x4079bf
dec ecx
or ecx, 0xffffff00
inc ecx
mov al, byte [esp + ecx*4 + 0x10]
xor byte [ebx + ebp], al
inc ebx
cmp ebx, edx
jb 0x407971
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x400
ret 8
Function at 0x1002e160
Capabilities:
Hash data using fnv
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1013d0b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0x102
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x214], eax
mov dword [eax], 1
je 0x1002e294
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push 0x10
mov dword [ebp - 0x208], ebx
mov esi, ebx
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1002e1b7
or ebx, 0x10000
mov dword [ebp - 0x208], ebx
mov esi, ebx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1002e1d4
mov ebx, esi
or ebx, 0x20000
mov dword [ebp - 0x208], ebx
mov esi, ebx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1002e1ef
mov ebx, esi
or ebx, 0x40000
mov dword [ebp - 0x208], ebx
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10143cdc]
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10144758]
cmp eax, dword [ecx + 4]
jg 0x1002e2a6
movzx eax, bl
xor eax, 0x811c9dc5
mov edx, dword [0x1014473c]
imul ecx, eax, 0x1000193
movzx eax, bh
xor ecx, eax
movzx eax, byte [ebp - 0x206]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0x205]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul esi, ecx, 0x1000193
mov ecx, dword [0x10144744]
and esi, dword [0x10144750]
mov edi, dword [ecx + esi*8]
mov eax, edi
nop
cmp edi, edx
jne 0x1002e268
mov ecx, edx
jmp 0x1002e26e
mov ecx, dword [ecx + esi*8 + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x1002e291
cmp dword [eax + 8], ebx
je 0x1002e281
mov eax, dword [eax]
mov ecx, dword [0x10144744]
jmp 0x1002e260
cmp eax, edx
je 0x1002e291
mov eax, dword [ebp - 0x214]
mov dword [eax], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.100055f3
mov esp, ebp
pop ebp
ret 0x20
push 0x10144758
call fcn.10092de0
add esp, 4
cmp dword [0x10144758], 0xffffffff
jne 0x1002e210
mov ecx, 0x80
mov dword [0x10144738], 0
mov esi, 0x100ff040
mov dword [0x1014473c], 0
lea edi, [ebp - 0x204]
mov dword [0x10144740], 0
rep movsd dword es:[edi], dword [esi]
push 0
push 0
mov ecx, 0x1014473c
call fcn.10092de0
push 8
mov ecx, 0x10144738
mov dword [0x1014473c], eax
mov dword [0x10144744], 0
mov dword [0x10144748], 0
mov dword [0x1014474c], 0
mov dword [0x10144738], 0x3f800000
call fcn.10092de0
lea edi, [ebp - 0x204]
jmp 0x1002e340
mov eax, dword [0x1014473c]
mov ecx, 0x1014473c
push edi
mov esi, dword [eax]
mov eax, dword [esi + 4]
push eax
push esi
mov dword [ebp - 0x20c], eax
call fcn.10092de0
mov edx, dword [0x10144740]
mov ecx, 0x15555554
sub ecx, edx
mov dword [ebp - 0x210], eax
cmp ecx, 1
jb 0x1002e3d0
mov ecx, dword [ebp - 0x210]
inc edx
mov dword [0x10144740], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x20c]
mov dword [eax], ecx
mov ecx, 0x10144738
mov eax, dword [0x1014473c]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.10092de0
add edi, 4
lea eax, [ebp - 4]
cmp edi, eax
jne 0x1002e340
push 0x100f22d0
call fcn.10092de0
push 0x10144758
call fcn.10092de0
add esp, 8
jmp 0x1002e210
push str.list_T__too_long
call fcn.10092de0
int3
Function at 0x10092de0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x10092def
pop dword [ebp - 0x14]
mov eax, 0x192a863b
sub eax, 0x921584c
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x82ad1
push 0
mov eax, 0xcbffef9f
add eax, 0x440f5231
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0xb5306b5d
sub ecx, 0xb530139e
mov ebx, eax
mov edi, 0x51a5bf3c
sub edi, 0x418f713c
add edi, dword [ebp - 0x14]
mov edx, 0xe0c107b6
sub edx, 0x25ffcf9d
add dword [ebp - 4], 0xb3c7205d
mov esi, dword [edi]
xor dword [ebp - 4], edx
add esi, edx
mov dword [ebx], esi
xor dword [ebp - 0x10], ebx
add ebx, 0x4e2da87d
add ebx, 0xb1d25787
add edi, 0xf490342a
sub edi, 0xf4903426
loop 0x10092e4e
add eax, 0xd6d19c69
sub eax, 0xd6d04a9a
xor ebx, ebx
add ebx, eax
add eax, 0x79f3acaa
add eax, 0x860c535b
mov ecx, 0x10000000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x1009d6f0
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
push edi
lea esi, [ebx + 0x30]
mov ecx, esi
call fcn.100491d0
movzx edi, al
mov ecx, esi
neg edi
sbb edi, edi
and edi, 0x800000
call fcn.100491d0
test al, al
je 0x1009d738
mov eax, dword [ebx]
push 0x800
push 0x54
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x100f4524]
mov ecx, ebx
call esi
lea esi, [ebx + 0x30]
push 0xd
mov ecx, ebx
call fcn.10092de0
cmp dword [ebx + 0x40], 0
je 0x1009d7a0
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.10092de0
push edi
push 0
push 0
push 0
push dword [eax]
push dword [ebx + 0x10]
push dword [ebx + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x44], eax
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1009d791
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100f4524]
mov ecx, edi
call esi
cmp dword [ebx + 0x44], 0
je 0x1009d7a7
push 0xe
mov ecx, ebx
call fcn.10092de0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x10]
call fcn.10092de0
push 0x10126738
lea eax, [ebp - 0x10]
push eax
call fcn.10092de0
int3
Function at 0x1009db10
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eeb79
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1013d0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 1
call fcn.10002710
mov edi, eax
test edi, edi
je 0x1009dc5e
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x100f4524]
mov ecx, edi
call esi
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
push dword [ebp + 0x10]
mov dword [ebp - 0x14], 1
push dword [ebp + 0xc]
push dword [ebx + 0x44]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1009dc48
mov esi, dword [ebp - 0x10]
cmp esi, 0xa00000
ja 0x1009dc68
shr esi, 1
sub esi, 1
js 0x1009dc83
mov eax, dword [edi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or ecx, eax
jge 0x1009dbe0
push esi
mov ecx, edi
call fcn.10092de0
mov ecx, dword [edi]
cmp esi, dword [ecx - 8]
jg 0x1009dc83
mov dword [ecx - 0xc], esi
xor edx, edx
mov eax, dword [edi]
push edx
mov word [eax + esi*2], dx
lea eax, [ebp - 0x10]
push eax
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebx + 0x44]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov ecx, dword [edi]
mov esi, eax
test ecx, ecx
je 0x1009dc25
push dword [ecx - 8]
push ecx
call fcn.10092de0
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x1009dc83
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x1009dc83
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi]
mov word [eax + ecx*2], dx
test esi, esi
jne 0x1009dc48
push esi
push 0x100f6204
mov ecx, edi
call fcn.10092de0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.10092de0
push 0xcaa10024
lea ecx, [ebp - 0x20]
call fcn.10092de0
push 0x1012ad98
lea eax, [ebp - 0x20]
push eax
call fcn.10092de0
push 0x80070057
call fcn.10092de0
int3
Function at 0x1009dc90
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eeba8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x1013d0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebx + 0x18]
lea esi, [ebx + 0x14]
sub edi, dword [esi]
mov eax, dword [ebp + 8]
add eax, edi
cmp eax, 0xa00000
jg 0x1009dd2a
lea ecx, [ebp - 0xd]
mov byte [ebp - 0xd], 0
push ecx
push esi
push eax
mov ecx, esi
call fcn.10092de0
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp + 8]
add eax, edi
mov dword [ebp - 0x14], 0
push eax
push dword [ebx + 0x44]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1009dd45
mov eax, dword [ebp - 0x14]
mov ecx, esi
push esi
add eax, edi
push eax
call fcn.10092de0
push 0xa
mov ecx, ebx
call fcn.10092de0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xcaa10024
lea ecx, [ebp - 0x24]
call fcn.10092de0
push 0x1012ad98
lea eax, [ebp - 0x24]
push eax
call fcn.10092de0
push 0x100f6204
lea ecx, [ebp - 0x18]
call fcn.10092de0
mov esi, eax
mov dword [ebp - 4], 0
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
push eax
lea ecx, [ebp - 0x38]
call fcn.10092de0
push 0x1012bb4c
lea eax, [ebp - 0x38]
push eax
call fcn.10092de0
int3
Function at 0x1009e1b0
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eec38
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x1013d0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebx + 0x30]
mov dword [ebx + 4], ebx
call fcn.100493d0
test eax, eax
jne 0x1009e1ed
xor edi, edi
jmp 0x1009e1f7
lea ecx, [ebx + 0x30]
call fcn.100493d0
mov edi, eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x30]
call fcn.10092de0
mov esi, dword [eax]
mov ecx, 0x101448a8
movzx eax, byte [ebx + 0x3d]
push eax
mov dword [ebp - 4], 0
call fcn.10092de0
push 0
push 0
push 3
push 0
push 0
push edi
push esi
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x48], eax
add ecx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1009e25f
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100f4524]
mov ecx, edi
call esi
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x1009e292
push 0x1009ea40
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
cmp eax, 0xffffffff
je 0x1009e2c6
push 2
mov ecx, ebx
call fcn.10092de0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x100f6204
lea ecx, [ebp - 0x10]
call fcn.10092de0
mov esi, eax
mov dword [ebp - 4], 1
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.10092de0
push 0x1012bb4c
lea eax, [ebp - 0x28]
push eax
call fcn.10092de0
push 0x100f6204
lea ecx, [ebp - 0x14]
call fcn.10092de0
mov esi, eax
mov dword [ebp - 4], 2
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
push eax
lea ecx, [ebp - 0x3c]
call fcn.10092de0
push 0x1012bb4c
lea eax, [ebp - 0x3c]
push eax
call fcn.10092de0
int3
Function at 0x1009e5e0
Capabilities:
Query remote server for available data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eeb38
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x1013d0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push dword [esi + 0x4c]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x1009e631
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1009e661
mov edx, dword [esi + 0x18]
sub edx, dword [esi + 0x14]
mov eax, dword [ebp - 0x10]
lea ecx, [edx + eax]
cmp ecx, eax
jb 0x1009e6b0
cmp ecx, edx
jb 0x1009e6b0
test eax, eax
je 0x1009e651
cmp ecx, 0xa00000
ja 0x1009e695
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x100f6204
lea ecx, [ebp - 0x14]
call fcn.10092de0
mov esi, eax
mov dword [ebp - 4], 0
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
push eax
lea ecx, [ebp - 0x34]
call fcn.10092de0
push 0x1012bb4c
lea eax, [ebp - 0x34]
push eax
call fcn.10092de0
push 0xcaa10024
lea ecx, [ebp - 0x20]
call fcn.10092de0
push 0x1012ad98
lea eax, [ebp - 0x20]
push eax
call fcn.10092de0
push 0xcaa82f9b
lea ecx, [ebp - 0x2c]
call fcn.10092de0
push 0x1012ad98
lea eax, [ebp - 0x2c]
push eax
call fcn.10092de0
int3

Function at 0x1009e850
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eec98
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x1013d0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebx + 0x18]
lea esi, [ebx + 0x14]
sub edi, dword [esi]
mov ecx, dword [ebp + 8]
lea eax, [edi + ecx]
cmp eax, edi
jl 0x1009e8f1
cmp eax, ecx
jl 0x1009e8f1
cmp eax, 0xa00000
jg 0x1009e8f8
push esi
push eax
mov ecx, esi
call fcn.10092de0
mov eax, dword [esi]
lea ecx, [ebx + 0x40]
push ecx
push dword [ebp + 8]
add eax, edi
push eax
push dword [ebx + 0x4c]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1009e8c6
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1009e913
mov eax, dword [ebx + 0x40]
mov ecx, esi
push esi
add eax, edi
push eax
call fcn.10092de0
push 0xa
mov ecx, ebx
call fcn.10092de0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xcaa82f9c
jmp 0x1009e8fd
push 0xcaa10024
lea ecx, [ebp - 0x1c]
call fcn.10092de0
push 0x1012ad98
lea eax, [ebp - 0x1c]
push eax
call fcn.10092de0
push 0x100f6204
lea ecx, [ebp - 0x10]
call fcn.10092de0
mov esi, eax
mov dword [ebp - 4], 0
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
push eax
lea ecx, [ebp - 0x30]
call fcn.10092de0
push 0x1012bb4c
lea eax, [ebp - 0x30]
push eax
call fcn.10092de0
int3
Function at 0x418a10
Capabilities:
Get file version info

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x214
lea eax, [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x224]
push esi
push edi
push 0x104
push eax
push ecx

Function at 0x418b50
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
mov dword [esp + 4], eax
mov al, byte [0x4ca9a0]
test al, al
je 0x418bbd
mov ecx, dword [0x4caa10]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
and ecx, 0xffff
cmp ecx, 0xffffd7b2
push edi
jne 0x418b8a
mov eax, dword [0x4c8c8c]
test eax, eax
je 0x418b8a
push 0xfffffffffffffff5
call esi
push 0xfffffffffffffff5
call esi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0xc]
push 0
push edx
push 0x1d
push 0x4c9970
push eax
call edi
push 0xfffffffffffffff5
call esi
lea ecx, [esp + 0xc]
push 0
push ecx
push 2
push 0x4caa20
push eax
call edi
pop edi
pop esi
ret
mov al, byte [0x4c94f8]
test al, al
jne 0x418bd7
push 0
push 0
push 0x4c9970
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
ret
Function at 0x43fbdb
Capabilities:
Encode data using xor

Disassembly:
fisub word [ebx - 0x40]
push esi
rol dword [esi], cl
fadd qword [ebx]
cmc
add al, 0x78
add eax, 0x94b750a1
inc edx
lds ebp, fs:[ebp + 0x5a]
insd dword es:[edi], dx
pop edx
jle 0x43fb19
dec edi
clc
push 0x6d4e06b0
jle 0x43fb0b
jecxz 0x43fad4
jle 0x43fb37
or byte [esi - 0x63], cl
out dx, eax
xor al, 0x46
pop esp
movsb byte es:[edi], byte [esi]
mov ebp, dword [edi - 0x1bc72d4]
nop
cmpsd dword [esi], dword es:[edi]
fidivr dword [eax + esi*2 + 0x4e0b57dc]
mov esp, 0xb57dc70
dec esi
push edi
or ecx, dword [esi + 0x1d]
imul ebp, dword [ebx + 0x2a], 0x31
sbb eax, 0x312a6b6b
xor dword ss:[edi + esi*8 - 0xf819583], edi
idiv dword [ebp + 0x6a]
jle 0x43fb0e
lahf
jle 0x43fb8c
into
insd dword es:[edi], dx
pop edx
iretd
pop ebx
push ss
inc edi
mov fs, word [esi + eax]
pop edi
jle 0x43fae7
push edi
mov byte [0x458003dc], al
outsb dx, byte [esi]
dec esp
push eax
in eax, dx
add dword [ebx + eax*2], esp
cmp eax, 0xbbe243e2
movsb byte es:[edi], byte [esi]
push ecx
out dx, al
dec ecx
sbb byte [ebx + 0x247bbac9], dl
sbb byte [ebx], 0x89
retf 0xf71e
ret 0x51ed
cmp ecx, dword [ebp + 0x6c]
pop ebx
pop ecx
or al, 0xca
retf 0x6776
push edi
stc
int 0x7f
jle 0x43fb35
jne 0x43fba0
jmp 0x959fc6b5
mov eax, dword [0xd146ce9f]
mov eax, 0x90f1ffc1
into
inc esi
sar dword [eax - 0x6f0e003f], 1
add eax, 0xc21d3fe9
imul ebx, dword [edi], 0xb30f5366
sahf
ja 0x43fb7c
btr dword [esi - 0xda67689], ebx
pop eax
pop ecx
pop eax
das
or byte [eax + edi*4 - 0x5b], dl
and dword [ebx + 0x4f], esp
mov ecx, 0x89a50162
mov dword [0x782bc6c6], eax
xchg edi, eax
js 0x43fba1
cmp eax, 0x4c8123f0
dec edx
daa
popfd
cdq
or dword [edx - 0x1058831c], edi
adc bl, byte [esi]
xor byte [esi + 0x76], cl
xor dword [esi + edx*8 - 0x80], esp
invalid

Function at 0x45a6eb
Capabilities:
Encode data using xor

Disassembly:
wait
arpl word [edi - 0x42], bp
sub bh, byte [ecx + 0x1184dbf3]
neg esi
or al, 0xf2
wait
cmc
xor byte [ecx + ebx*4], bh
sub dh, byte [ebx - 0x2ff68a23]
xor ah, al
add eax, 0x86b532
scasb al, byte es:[edi]
push esi
imul esi, ebp, 0x42
mov bl, ah
add dword [ecx - 0xc], esp
in al, dx
in eax, 0x90
invalid
Function at 0x4c0ded
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c6360
cmp edx, dword [eax]
je 0x4c0e0f
add eax, 8
inc ecx
cmp eax, 0x4c63f0
jl 0x4c0e00
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c6360]
jne 0x4c0f3d
mov eax, dword [0x4caa2c]
cmp eax, 1
je 0x4c0f17
test eax, eax
jne 0x4c0e40
cmp dword [0x4c62a0], 1
je 0x4c0f17
cmp edx, 0xfc
je 0x4c0f3d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c0e77
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c22b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c23a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c0eba
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c23a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c4704
push edi
call fcn.004c2d00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c22b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c22c0
lea eax, [ebp - 0xa0]
push 0x4c46e4
push eax
call fcn.004c22c0
push dword [esi + 0x4c6364]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c22c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c2c6f
add esp, 0x2c
pop edi
jmp 0x4c0f3d
lea eax, [ebp + 8]
lea esi, [esi + 0x4c6364]
push 0
push eax
push dword [esi]
call fcn.004c23a0
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 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
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, 0x49f351d9
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
mov eax, str._v_t_t_t
nop
mov ebx, 0x4304d8
mov ecx, 0x94b6fd5
nop
nop
nop
nop
nop
test eax, eax
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x41811b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4223dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040e425
and dword [ebp - 0x14], 0
cmp dword [0x4b9734], 0
mov dword [ebp - 0x18], eax
jne 0x4181ce
push 0x404000
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x418276
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403ff4
push ebx
call edi
test eax, eax
je 0x418276
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403fe4
push ebx
mov dword [0x4b9734], eax
call edi
push eax
call esi
push 0x403fd0
push ebx
mov dword [0x4b9738], eax
call edi
push eax
call esi
push 0x403fb4
push ebx
mov dword [0x4b973c], eax
call edi
push eax
call esi
mov dword [0x4b9744], eax
test eax, eax
je 0x4181ce
push 0x403f9c
push ebx
call edi
push eax
call esi
mov dword [0x4b9740], eax
mov eax, dword [0x4b9740]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x418227
cmp dword [0x4b9744], ecx
je 0x418227
push eax
call esi
push dword [0x4b9744]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x418227
test ebx, ebx
je 0x418227
call edi
test eax, eax
je 0x41821e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41821e
test byte [ebp - 8], 1
jne 0x418227
or dword [ebp + 0x10], 0x200000
jmp 0x41825a
mov eax, dword [0x4b9738]
cmp eax, dword [ebp - 0x18]
je 0x41825a
push eax
call esi
test eax, eax
je 0x41825a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41825a
mov eax, dword [0x4b973c]
cmp eax, dword [ebp - 0x18]
je 0x41825a
push eax
call esi
test eax, eax
je 0x41825a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b9734]
call esi
test eax, eax
je 0x418276
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x418278
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b5ee
leave
ret