joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e260
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.rdata
lea edi, [esi - 0x6000]
push edi
jmp 0x40e27a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40e281
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40e270
mov eax, 1
add ebx, ebx
jne 0x40e293
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40e288
jne 0x40e2a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e288
xor ecx, ecx
sub eax, 3
jb 0x40e2b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40e32a
mov ebp, eax
add ebx, ebx
jne 0x40e2c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40e2d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40e2f4
inc ecx
add ebx, ebx
jne 0x40e2e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40e2d5
jne 0x40e2f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e2d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40e314
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40e305
jmp 0x40e276
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40e314
add edi, ecx
jmp 0x40e276
pop esi
mov edi, esi
mov ecx, 0x21
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40e332
cmp byte [edi], 3
jne 0x40e332
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 0x40e337
lea edi, [esi + 0xc000]
mov eax, dword [edi]
or eax, eax
je 0x40e3af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe75c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe798]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40e364
mov ecx, edi
jns 0x40e393
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 + 0xe7a0]
or eax, eax
je 0x40e3a9
mov dword [ebx], eax
add ebx, 4
jmp 0x40e381
call dword [esi + 0xe79c]
mov ebp, dword [esi + 0xe7a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x40e3e3
sub esp, 0xffffff80
jmp 0x401484
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0xd68b55
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0xd68886
add esi, esi
or eax, eax
call fcn.00d68b88
add eax, eax
mov eax, 0x279cc617
xor dword [ebx], edi
sub eax, eax
and eax, eax
add ebx, 2
and eax, eax
cmp ebx, edx
jl fcn.00d68b55
mov esi, 0x29329ac6
ret
Function at 0xb84ecb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0xbbe46d
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00ba60f2
add esp, 0x10
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ecx + 0x10]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov edx, dword [ecx]
push eax
push dword [ebp + 8]
push ecx
call dword [edx + 0xc]
mov eax, dword [ebp - 4]
jmp 0xb84ef1
Function at 0xb95fe8
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0xb96010
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0xb96002
pop edi
pop esi
pop ebp
ret 4
Function at 0xba1461
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov al, byte [0xc47283]
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], al
push 0x8000
push esi
mov edi, edx
call fcn.00ba51f6
pop ecx
push eax
call fcn.00ba5024
cmp dword [edi + 0xc], 0xb
mov ebx, eax
pop ecx
pop ecx
je 0xbd69b7
lea ecx, [ebp - 0x18]
call fcn.00b85a78
mov ecx, edi
call fcn.00b89851
lea eax, [ebp - 0x18]
push eax
push dword [edi + 8]
call fcn.00b859d5
push dword [ebp - 0x18]
push 0xc12d40
push esi
call fcn.00ba53f5
add esp, 0xc
mov dword [ebp - 8], eax
cmp byte [ebp - 1], 0
jne 0xbd69d7
lea ecx, [ebp - 0x18]
call fcn.00b858c4
mov edi, dword [ebp - 8]
push esi
call fcn.00ba55ba
pop ecx
cmp ebx, 0xffffffff
je 0xba14ff
push ebx
push esi
call fcn.00ba51f6
pop ecx
push eax
call fcn.00ba5024
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4000
jmp 0xba14e7
push esi
mov ecx, edi
call fcn.00be8c9e
push eax
push 1
call fcn.00be8c5b
push eax
call fcn.00ba5373
add esp, 0x10
mov edi, eax
jmp 0xba14da
mov ecx, edi
call fcn.00b89851
mov eax, dword [edi + 8]
push dword [eax]
call dword [0xc10248]
jmp 0xba14cf
Function at 0xbe027c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [ebx]
push 2
pop edx
mov esi, dword [ecx + edi]
lea eax, [ecx + 4]
mov dword [ebx], eax
xor ecx, ecx
mov dword [ebp + 8], esi
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00ba18c6
mov ecx, dword [ebx]
add esi, esi
add ecx, edi
mov edi, eax
push esi
push ecx
push edi
call fcn.00ba1950
add dword [ebx], esi
xor eax, eax
mov ecx, dword [ebp + 8]
add esp, 0x10
mov word [esi + edi], ax
test ecx, ecx
jle 0xbe02d7
xor word [edi + eax*2], cx
inc eax
cmp eax, ecx
jl 0xbe02ce
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0xbe5090
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov eax, ecx
xor esi, esi
mov dword [ebp - 4], eax
mov byte [0xc472b7], 0
mov ebx, edx
test edi, edi
je 0xbe50e2
mov byte [0xc472b8], 1
call dword [0xc10180]
mov dword [ebp - 0xc], eax
xor ecx, ecx
lea eax, [ebp + 0x10]
mov dword [ebp - 8], edi
push eax
push ecx
lea eax, [ebp - 0xc]
push eax
push 0xbe5572
push ecx
push ecx
call fcn.00ba499e
mov esi, eax
add esp, 0x18
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push eax
call dword [0xc106b8]
mov edi, eax
test esi, esi
je 0xbe510d
push 0xffffffffffffffff
push esi
mov byte [0xc472b8], 0
call dword [0xc1016c]
push esi
call dword [0xc1035c]
cmp byte [0xc472b7], 1
jne 0xbe511b
or eax, 0xffffffff
jmp 0xbe511d
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xbe8ce8
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0xc45190]
jne 0xbe8cf5
call fcn.00be8dcf
mov eax, dword [0xc48ef0]
mov ecx, dword [eax]
add eax, 4
mov dword [0xc48ef0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret

Function at 0xbe8d2d
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
dec dword [0xc45190]
jne 0xbe8d3f
call fcn.00be8dcf
mov eax, dword [0xc48ef0]
mov ecx, dword [eax]
add eax, 4
mov dword [0xc48ef0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jns 0xbe8d82
fadd qword [0xc3cad8]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0xc3cab0]
mov esp, ebp
pop ebp
ret

Function at 0xbe8d92
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
mov dword [0xc48530], ecx
inc esi
mov ecx, 0xc48530
mov edx, esi
mov eax, dword [ecx]
shr eax, 0x1e
xor eax, dword [ecx]
imul eax, eax, 0x6c078965
add eax, edx
inc edx
mov dword [ecx + 4], eax
add ecx, 4
cmp ecx, 0xc48eec
jl 0xbe8da3
mov dword [0xc45190], esi
mov dword [0xc48518], esi
pop esi
ret
Function at 0xbe8dcf
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0xc48518], 0
push esi
push edi
mov esi, 0xc48530
jne 0xbe8dee
push 0
call fcn.00ba5d1a
pop ecx
mov ecx, eax
call fcn.00be8d92
mov dword [0xc45190], 0x270
mov edi, 0xe3
mov dword [0xc48ef0], esi
lea edx, [esi + 4]
mov al, byte [edx]
and al, 1
movzx ecx, al
mov eax, dword [esi]
neg ecx
sbb ecx, ecx
xor eax, dword [edx]
and eax, 0x7ffffffe
and ecx, 0x9908b0df
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi], eax
mov esi, edx
dec edi
jne 0xbe8e03
mov edi, 0x18c
lea edx, [esi + 4]
mov al, byte [edx]
and al, 1
movzx ecx, al
mov eax, dword [esi]
neg ecx
sbb ecx, ecx
xor eax, dword [edx]
and eax, 0x7ffffffe
and ecx, 0x9908b0df
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi - 0x38c]
xor eax, ecx
mov dword [esi], eax
lea esi, [edx]
dec edi
jne 0xbe8e38
mov ecx, dword [0xc48530]
mov al, cl
and al, 1
movzx edx, al
mov eax, dword [esi]
neg edx
pop edi
sbb edx, edx
xor eax, ecx
and eax, 0x7ffffffe
and edx, 0x9908b0df
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi - 0x38c]
xor eax, edx
mov dword [esi], eax
pop esi
ret

Function at 0xbe92d7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x14], 1
jne 0xbe92fc
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
push 8
push eax
lea eax, [ebp - 8]
push eax
call fcn.00ba1950
add esp, 0xc
jmp 0xbe930f
push dword [esi + 0x1c]
lea eax, [ebp - 8]
push 8
push 1
push eax
call fcn.00ba60f2
add esp, 0x10
movzx ecx, byte [ebp - 4]
movzx eax, byte [ebp - 3]
add dword [esi + 0xc], 8
shl ecx, 8
or ecx, eax
mov byte [ebp - 4], 0
movzx eax, byte [ebp - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 1]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 8]
push str.EA06
mov dword [eax], ecx
lea eax, [ebp - 8]
push eax
call fcn.00ba61a0
neg eax
pop ecx
pop ecx
sbb eax, eax
neg eax
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0xbe93e5
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, 0x10000
mov eax, dword [esi + 0x460]
test eax, eax
je 0xbe93fb
cmp eax, ecx
jne 0xbe9416
push dword [esi + 0x1c]
push ecx
push 1
push dword [esi + 0x458]
call fcn.00ba60f2
add esp, 0x10
and dword [esi + 0x460], 0
mov ecx, dword [esi + 0x460]
mov eax, dword [esi + 0x458]
mov al, byte [ecx + eax]
inc ecx
mov dword [esi + 0x460], ecx
pop esi
ret

Function at 0xbe942e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 0x45c]
mov esi, dword [edi + 0x454]
mov byte [esi + edx], al
mov eax, 0x10000
inc dword [edi + 0x45c]
cmp dword [edi + 0x45c], eax
jne 0xbe9475
push dword [edi + 0x20]
push eax
push 1
push dword [edi + 0x454]
call fcn.00ba5373
add esp, 0x10
and dword [edi + 0x45c], 0
pop edi
pop esi
pop ebp
ret 4
Function at 0xbe947b
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x45c]
test eax, eax
je 0xbe94a3
push dword [esi + 0x20]
push eax
push 1
push dword [esi + 0x454]
call fcn.00ba5373
add esp, 0x10
and dword [esi + 0x45c], 0
pop esi
ret

Function at 0xbe964f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
lea ecx, [ebp - 0xdc]
push esi
push edi
call fcn.00be94a5
push dword [ebp + 0x10]
lea ecx, [ebp - 0xdc]
call fcn.00be94eb
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0xbe9693
mov edi, dword [ebp + 8]
push ecx
push ecx
lea ecx, [ebp - 0xdc]
call fcn.00be9623
xor byte [esi + edi], al
inc esi
cmp esi, dword [ebp + 0xc]
jb 0xbe967d
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0xbf2834
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp byte [ecx + 0x30], 0
je 0xbf2843
pop ebp
jmp fcn.00bf2904
pop ebp
jmp fcn.00bf2849

Function at 0xbf2be2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 0xd0], 0
je 0xbf2c1f
cmp byte [ebp + 8], 0
je 0xbf2c1f
sub esp, 0x10
lea ecx, [esi + 0xd4]
call fcn.00bf1c80
push esi
push 0
push 0xbf2cb2
call fcn.00ba67dc
xor eax, eax
add esp, 0xc
cmp dword [esi + 0x18], eax
sete al
jmp 0xbf2c27
push dword [ebp + 8]
call fcn.00bf1e54
pop esi
pop ebp
ret 4

Function at 0xbf77e2
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
or edx, 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
add eax, esi
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x10]
mov ebx, eax
imul ebx, dword [ebp + 0x14]
push edi
mov edi, esi
lea eax, [esi + eax*4]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x14]
shl ebx, 2
shl eax, 2
mov dword [ebp + 0xc], eax
movzx eax, byte [esi + 2]
movzx ecx, dl
xor ecx, eax
shr edx, 8
movzx eax, byte [esi + 1]
xor edx, dword [ecx*4 + 0xc380c0]
movzx ecx, dl
xor ecx, eax
shr edx, 8
movzx eax, byte [esi]
add esi, ebx
xor edx, dword [ecx*4 + 0xc380c0]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0xc380c0]
cmp esi, dword [ebp + 8]
jb 0xbf7859
add edi, dword [ebp + 0xc]
mov esi, edi
cmp edi, dword [ebp + 0x10]
jb 0xbf7815
not edx
mov dword [ebp + 8], edx
fild dword [ebp + 8]
test edx, edx
jns 0xbf7870
fadd qword [0xc3cad8]
pop edi
fstp qword [ebp - 8]
fld qword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x419282
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x419291
pop dword [ebp - 0x40]
mov eax, 0x8776005b
add eax, 0x78cb9236
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x404d8
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x4ec02820
add ecx, 0xb1402a0f
xor edi, edi
add edi, eax
mov ebx, 0xc8a851c8
sub ebx, 0xc864fdc8
add ebx, dword [ebp - 0x40]
mov esi, 0x202c707f
sub dword [ebp - 0x2c], 0x24955ef3
mov edx, dword [ebx]
xor dword [ebp - 0x10], 0xd39dd1b3
add edx, esi
sub dword [ebp - 0x34], 0x44a858b
mov dword [edi], edx
sub dword [ebp - 0x14], esi
add edi, 0xfb7ef694
add edi, 0x4810970
add ebx, 0x7d4cb793
add ebx, 0x82b34871
loop 0x4192e7
add eax, 0x13b8f
mov ebx, eax
add eax, 0x968f2790
add eax, 0x6970d875
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0xa47450
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0xa4748f
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
pop esi
pop ebp
ret

Function at 0xa5fa01
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a5f67e

Function at 0xa660a5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a65f1b

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x7dc458d8
nop
nop
nop
nop
test eax, eax
nop
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
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x6d3b17da
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x404d43
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
push ebx
push esi
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
inc ecx
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
mov edx, edx
add ebx, dword [str.hBx]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [str.hBx]
lea ecx, [ecx]
dec ecx
lea eax, [ebp - 0x190]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x404ddd
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
inc ecx
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
mov edx, edx
add ebx, dword [str.hBx]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [str.hBx]
lea ecx, [ecx]
dec ecx
jmp 0x404e60
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
inc ecx
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
mov edx, edx
add ebx, dword [str.hBx]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [str.hBx]
lea ecx, [ecx]
dec ecx
test esi, esi
jne 0x404e64
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
inc ecx
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
mov edx, edx
add ebx, dword [str.hBx]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [str.hBx]
lea ecx, [ecx]
dec ecx
xor eax, eax
jmp 0x404eab
sub eax, dword [0x4160e4]
add ecx, dword [0x4160ec]
inc ecx
mov ebx, ebx
sub edx, dword [0x4160e8]
sub ecx, dword [0x4160ec]
add edx, dword [0x4160e8]
mov edx, edx
add ebx, dword [str.hBx]
add eax, dword [0x4160e4]
lea ebx, [ebx]
sub ebx, dword [str.hBx]
lea ecx, [ecx]
dec ecx
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
pop esi
pop ebx
leave
ret

Function at 0x438c8b
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x438a14
sub edx, edx
call fcn.00438cb7
dec edx
or ebx, edx
dec edx
xor dword [eax], edi
and ebx, edx
mov ebx, 0xeaac516a
dec edx
inc eax
dec edx
cmp eax, esi
jne fcn.00438c8b
inc edx
mov ebx, 0xb080a15d
ret
Function at 0x401123
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
lea eax, [esp + 0x18]
mov edi, ecx
push eax
call fcn.0040117e
xor ebp, ebp
pop ecx
pop ecx
mov ebx, dword [eax]
mov dword [eax], ebp
cmp dword [esp + 0x14], ebp
je 0x401152
push 4
push dword [esp + 0x18]
call fcn.004021ef
pop ecx
pop ecx
lea esi, [edi + 4]
push esi
push ebp
push ebx
push 0x401107
push ebp
push ebp
call fcn.004073c7
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x401174
pop edi
pop esi
pop ebp
pop ebx
ret 4
push 6
mov dword [esi], ebp
call fcn.00401f1c
int3

Function at 0x40157f
Capabilities:
Encode data using xor

Disassembly:
push ebp
xor ebp, ebp
push esi
mov esi, ebp
cmp dword [esp + 0x10], esi
jbe 0x4016ad
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
push edi
mov edi, dword [esp + 0x14]
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x26
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x29
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xf4
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x4f
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xf4
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xfc
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x21
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x42
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x26
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x7f
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xf9
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x3c
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 4
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xfd
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x54
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x86
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xe8
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xe5
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xe
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xae
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x78
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x39
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x6a
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x37
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xab
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xe3
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xaa
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 4
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xa2
inc esi
cmp esi, dword [esp + 0x18]
jb 0x40159b
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x51b000
Capabilities:
Encode data using xor

Disassembly:
push esi
mov eax, dword [0x5189c4]
cmp eax, 1
jne 0x51b018
push 0x5189e0
call fcn.005229a0
movzx eax, ax
push eax
push 0x5194c0
push 0x5188e0
xor esi, esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [eax + 0x5188e0]
mov edx, dword [0x5189c4]
add edx, 0x4ed1567b
mov eax, edx
inc ecx
shr eax, 9
inc esi
imul edx, edx, 0x1003411d
add eax, 0x79d11093
xor eax, edx
mov edx, eax
mov eax, dword [0x5189c4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov al, byte [esi + eax*8 + 0x5181bf]
xor al, dl
cmp esi, 0xc8
mov byte [ecx - 1], al
jl 0x51b040
mov eax, 0x5188e0
pop esi
mov byte [ecx], 0
ret