joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429a20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595da7
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x629070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], eax
call fcn.0042a3b0
push 0x61f000
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x120]
call fcn.0041e580
push esi
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x108]
call fcn.0042e9b0
push str.LenovoUtil.exe
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0040f900
add esp, 0xc
mov eax, dword [ebp - 0xf4]
cmp eax, 8
jb 0x429ac6
inc eax
lea ecx, [ebp - 0x108]
push eax
push dword [ebp - 0x108]
call fcn.00402170
xor eax, eax
mov dword [ebp - 0xf4], 7
mov dword [ebp - 0xf8], 0
mov word [ebp - 0x108], ax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10c]
cmp eax, 8
jb 0x429b05
inc eax
lea ecx, [ebp - 0x120]
push eax
push dword [ebp - 0x120]
call fcn.00402170
xor eax, eax
mov dword [ebp - 0x10c], 7
push 0x98
push eax
mov word [ebp - 0x120], ax
lea eax, [ebp - 0xf0]
push eax
mov dword [ebp - 0x110], 0
call fcn.0056ebe0
add esp, 4
lea ecx, [ebp - 0xf0]
call fcn.00405080
mov edx, str.__pin4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xf0]
call fcn.0041e040
mov edx, 0x62e398
mov ecx, eax
call fcn.0041e300
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xf0]
call fcn.00404fa0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 1
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push 0
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x429baf
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402170
xor eax, eax
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00404fc0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - 0xa0], vtable.std::ios_base.0
call fcn.004372bc
mov eax, dword [ebp - 0x2c]
add esp, 4
cmp eax, 8
jb 0x429c00
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00402170
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x429c29
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00402170
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004387fb
mov esp, ebp
pop ebp
ret
Function at 0x429ef0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x629070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x14], 7
push eax
push 0x61c2f4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00401d10
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov edx, str.LenovoInstallPath
mov ecx, str.SOFTWARELenovopcmanager
call fcn.0041b910
add esp, 4
test eax, eax
jne 0x429f84
push 0x1e
push str.ModulesSLBrowserSLBrowser.7z
lea ecx, [ebp - 0x28]
call fcn.0040e6d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne bl
jmp 0x429f86
xor bl, bl
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x429f9b
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00402170
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004387fb
mov esp, ebp
pop ebp
ret

Function at 0x429fc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x629070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x14], 7
push eax
push 0x61c2f4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00401d10
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov edx, str.InstallDir
mov ecx, str.SOFTWARELenovoSLBrowser_
call fcn.0041b910
add esp, 4
test eax, eax
jne 0x42a045
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne bl
jmp 0x42a047
xor bl, bl
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x42a05c
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00402170
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004387fb
mov esp, ebp
pop ebp
ret
Function at 0x42a760
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595f90
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x629070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 0x20]
cmovae ecx, dword [ebp + 0x20]
sub esp, 8
call fcn.00422b50
mov esi, eax
add esp, 8
test esi, esi
je 0x42a7ef
xor eax, eax
mov dword [ebp - 0x240], 0
mov word [ebp - 0x23c], ax
mov dword [ebp - 0x14], eax
cmp dword [esi], 1
je 0x42a84d
mov dword [0x62e334], 0x80000
mov ecx, esi
call fcn.00422c80
xor esi, esi
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x42a806
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00402170
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
cmp ecx, 8
jb 0x42a82f
inc ecx
push ecx
push dword [ebp + 0x20]
lea ecx, [ebp + 0x20]
call fcn.00402170
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004387fb
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x240]
push eax
push 0xffffffffffffffff
call fcn.00422010
mov dword [0x62e334], eax
test eax, eax
jne 0x42a7e8
mov ebx, dword [ebp - 0x240]
xor edi, edi
test ebx, ebx
jle 0x42a8dd
xor eax, eax
mov dword [ebp - 0x240], 0
mov word [ebp - 0x23c], ax
mov dword [ebp - 0x14], eax
cmp dword [esi], 1
jne 0x42a7de
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x240]
push eax
push edi
call fcn.00422010
mov dword [0x62e334], eax
test eax, eax
jne 0x42a7e8
cmp dword [esi], 1
jne 0x42a7de
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x23c]
sub esp, 8
push eax
push edi
call fcn.00422790
mov dword [0x62e334], eax
test eax, eax
jne 0x42a7e8
inc edi
cmp edi, ebx
jl 0x42a873
cmp dword [esi], 1
je 0x42a8f6
mov dword [0x62e334], 0x80000
mov esi, 1
jmp 0x42a7f1
mov edi, dword [esi + 4]
mov ecx, edi
call fcn.00422af0
mov dword [0x62e334], eax
test edi, edi
je 0x42a911
push ecx
mov ecx, edi
call fcn.00422c20
push 8
push esi
call fcn.00438cfc
add esp, 8
mov esi, 1
jmp 0x42a7f1
Function at 0x42c0a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59614b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x629070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov dword [ecx], 0
mov byte [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov byte [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov byte [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov byte [ecx + 0x34], 0
mov dword [ebp - 4], 0
push dword [esi]
mov edx, dword [esi + 8]
push dword [esi + 0xc]
push dword [esi + 4]
push dword [esi]
call fcn.0042ede0
add esp, 0x10
test al, al
mov eax, esi
jne 0x42c162
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x42f7b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x42f7e1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x42f7d0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x43a950
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043a960

Function at 0x43abe0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043abf0

Function at 0x43af10
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x59b5a8]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x59b5a8]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x59b5a8]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x59b5a8]
mov eax, edx
pop ebp
ret
Function at 0x452820
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
lea edx, [eax - 1]
not eax
shr edx, 0x1f
shr eax, 0x1f
and edx, eax
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 4]
dec edx
xor eax, ecx
mov dword [esp + 0xc], edx
and eax, edx
xor ecx, eax
mov dword [ebp + 4], ecx
xor dword [ebx + 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx + 0xc]
xor eax, ecx
movd xmm0, edx
and eax, edx
pshufd xmm4, xmm0, 0
xor ecx, eax
mov dword [ebp + 0xc], ecx
xor dword [ebx + 0xc], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x10]
xor eax, ecx
and eax, edx
and eax, 4
xor ecx, eax
mov dword [ebp + 0x10], ecx
xor dword [ebx + 0x10], eax
xor eax, eax
mov ecx, dword [esp + 0x18]
test ecx, ecx
jle 0x452946
push esi
push edi
cmp ecx, 4
jb 0x452920
mov edx, dword [ebp]
lea edi, [ecx - 1]
mov esi, dword [ebx]
lea ebp, [ecx - 1]
lea ebp, [edx + ebp*4]
cmp esi, ebp
lea edi, [esi + edi*4]
mov ebp, dword [esp + 0x18]
ja 0x4528b8
cmp edi, edx
jae 0x452920
cmp esi, ebx
ja 0x4528c0
cmp edi, ebx
jae 0x452920
cmp esi, ebp
ja 0x4528c8
cmp edi, ebp
jae 0x452920
lea edi, [ecx - 1]
lea edi, [edx + edi*4]
cmp edx, ebx
ja 0x4528d6
cmp edi, ebx
jae 0x452920
cmp edx, ebp
ja 0x4528de
cmp edi, ebp
jae 0x452920
mov edi, ecx
and edi, 0xfffffffc
movups xmm3, xmmword [esi + eax*4]
movups xmm2, xmmword [edx + eax*4]
movaps xmm1, xmm3
pxor xmm1, xmm2
pand xmm1, xmm4
movaps xmm0, xmm1
pxor xmm1, xmm3
pxor xmm0, xmm2
movups xmmword [edx + eax*4], xmm0
movups xmmword [esi + eax*4], xmm1
add eax, 4
cmp eax, edi
jl 0x4528e3
mov dword [esp + 0x18], eax
cmp eax, ecx
jge 0x452944
nop dword [eax + eax]
mov ecx, dword [ebp]
mov edx, dword [ecx + eax*4]
lea esi, [ecx + eax*4]
mov ecx, dword [ebx]
mov edi, dword [ecx + eax*4]
xor edi, edx
and edi, dword [esp + 0x14]
xor edx, edi
mov dword [esi], edx
mov ecx, dword [ebx]
xor dword [ecx + eax*4], edi
inc eax
cmp eax, dword [esp + 0x20]
jl 0x452920
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4532e0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x24
call fcn.00439990
push ebx
push esi
push edi
mov edi, dword [esp + 0x34]
xor ecx, ecx
push edi
mov dword [esp + 0x14], 0
xor ebx, ebx
mov dword [esp + 0x10], ecx
call fcn.00452c80
mov esi, eax
add esp, 4
lea eax, [esi + 7]
cdq
and edx, 7
lea ecx, [edx + eax]
sar ecx, 3
cmp dword [esp + 0x44], ebx
jne 0x453351
mov ebx, dword [edi + 0xc]
mov eax, ebx
neg eax
sbb eax, eax
and eax, 0xff
mov dword [esp + 0x10], eax
lea eax, [ecx*8]
cmp eax, esi
jne 0x453349
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 0xc], eax
jmp 0x453353
mov eax, ebx
mov dword [esp + 0xc], eax
jmp 0x453353
xor eax, eax
mov esi, dword [esp + 0x3c]
add eax, ecx
cmp esi, 0xffffffff
jne 0x453391
mov esi, eax
mov dword [esp + 0x3c], esi
mov ecx, dword [edi + 8]
shl ecx, 2
test ecx, ecx
jne 0x453410
test esi, esi
je 0x4534a4
push esi
push ecx
push dword [esp + 0x40]
call fcn.0056ebe0
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x24
ret
cmp esi, eax
jge 0x453364
movups xmm0, xmmword [edi]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x2c], eax
movups xmmword [esp + 0x1c], xmm0
psrldq xmm0, 4
movd ecx, xmm0
test ecx, ecx
jle 0x4533d2
mov eax, dword [esp + 0x1c]
lea eax, [eax + ecx*4]
nop dword [eax + eax]
cmp dword [eax - 4], 0
lea eax, [eax - 4]
jne 0x4533ce
dec ecx
test ecx, ecx
jg 0x4533c0
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x28]
xor edx, edx
test ecx, ecx
cmove eax, edx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
call fcn.00452c80
add eax, 7
add esp, 4
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, dword [esp + 0xc]
cmp esi, eax
jge 0x453364
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x24
ret
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
cmp edx, 1
je 0x453420
dec eax
add eax, esi
mov edi, dword [edi + 4]
mov dword [esp + 0x44], eax
xor eax, eax
cmp edx, 1
push ebp
sete al
shl edi, 2
xor ebp, ebp
lea eax, [eax*2 - 1]
mov dword [esp + 0x18], eax
lea eax, [ecx - 1]
mov dword [esp + 0x1c], eax
test esi, esi
je 0x4534a3
mov dword [esp + 0x10], esi
neg edi
mov esi, dword [esp + 0x38]
mov eax, dword [esi]
mov edx, ebp
shr edx, 2
mov ecx, ebp
and ecx, 3
shl ecx, 3
mov edx, dword [eax + edx*4]
mov eax, edi
shr edx, cl
mov ecx, ebp
shr eax, 0x1f
neg al
and dl, al
mov eax, dword [esp + 0x48]
xor dl, byte [esp + 0x14]
add bl, dl
cmp bl, dl
mov byte [eax], bl
sbb ebx, ebx
sub ecx, dword [esp + 0x1c]
add eax, dword [esp + 0x18]
neg ebx
shr ecx, 0x1f
inc edi
add ebp, ecx
mov dword [esp + 0x48], eax
sub dword [esp + 0x10], 1
jne 0x453455
mov esi, dword [esp + 0x40]
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x24
ret
Function at 0x458580
Capabilities:
Get common file path

Disassembly:
mov eax, 0x230
call fcn.00439990
mov eax, dword [0x629070]
xor eax, esp
mov dword [esp + 0x22c], eax
cmp dword [0x62cda8], 0
mov dword [esp], str.getaddrinfo
mov dword [esp + 4], 0x457f70
mov dword [esp + 8], str.getnameinfo
mov dword [esp + 0xc], 0x458330
mov dword [esp + 0x10], str.freeaddrinfo
mov dword [esp + 0x14], 0x457f20
jne 0x4586db
push 0x104
lea eax, [esp + 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x4586d1
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x134]
push eax
lea eax, [esp + 0x2c]
push 0x10c
push eax
call fcn.0057a771
push str.ws2_32
lea eax, [esp + 0x38]
push 0x10c
push eax
call fcn.0057a7cb
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [esp + 0x40]
add esp, 0x18
push eax
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test edi, edi
je 0x45864f
push str.getaddrinfo
push edi
call ebx
test eax, eax
jne 0x458696
push edi
call ebp
lea eax, [esp + 0x134]
push eax
lea eax, [esp + 0x2c]
push 0x10c
push eax
call fcn.0057a771
push str.wship6
lea eax, [esp + 0x38]
push 0x10c
push eax
call fcn.0057a7cb
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call esi
mov edi, eax
test edi, edi
je 0x4586cd
push str.getaddrinfo
push edi
call ebx
test eax, eax
je 0x4586ca
xor esi, esi
push dword [esp + esi*8 + 0x10]
push edi
call ebx
mov dword [esp + esi*8 + 0x14], eax
test eax, eax
je 0x4586ca
inc esi
cmp esi, 3
jl 0x458698
mov eax, dword [esp + 0x14]
mov dword [0x629398], eax
mov eax, dword [esp + 0x1c]
mov dword [0x6293a0], eax
mov eax, dword [esp + 0x24]
mov dword [0x6293a8], eax
jmp 0x4586cd
push edi
call ebp
pop edi
pop esi
pop ebp
pop ebx
mov dword [0x62cda8], 1
movzx eax, word [esp + 0x234]
mov ecx, dword [esp + 0x22c]
xor ecx, esp
mov eax, dword [eax*8 + 0x629398]
call fcn.004387fb
add esp, 0x230
ret 4
Function at 0x458710
Capabilities:
Resolve dns

Disassembly:
mov eax, 0x820
call fcn.00439990
mov eax, dword [0x629070]
xor eax, esp
mov dword [esp + 0x81c], eax
push ebx
mov ebx, dword [esp + 0x83c]
lea eax, [esp + 0x18]
push ebp
push esi
mov esi, dword [esp + 0x830]
push edi
push 0x401
push 0
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], 0
call fcn.0056ebe0
push 0x401
lea eax, [esp + 0x438]
push 0
push eax
call fcn.0056ebe0
push 0x400
push esi
lea eax, [esp + 0x44]
push 0x401
push eax
mov dword [esp + 0x3c], eax
lea ebp, [esp + 0x450]
call fcn.005802fb
add esp, 0x28
push esi
mov edi, ebx
mov dword [ebx], 0
mov byte [ebp], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x4588df
cmp word [ebx + 8], 2
jne 0x458802
cmp word [ebx + 0xa], 4
jne 0x458802
mov esi, dword [ebx + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x458802
nop word [eax + eax]
push dword [eax]
push dword [esp + 0x844]
push dword [esp + 0x844]
push dword [esp + 0x844]
call fcn.00458940
mov dword [edi], eax
test eax, eax
je 0x4588d8
add esi, 4
lea edi, [eax + 0x1c]
mov eax, dword [esi]
test eax, eax
jne 0x4587d0
push 0x400
push dword [ebx]
push 0x401
push ebp
call fcn.005802fb
mov ebx, dword [esp + 0x28]
xor esi, esi
add esp, 0x10
cmp dword [ebx], esi
jne 0x458890
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x458826
sub ecx, edx
je case.0x4588ef.11003
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov eax, edi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x458860
test dl, dl
je 0x45885c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x458860
add eax, 2
add ecx, 2
test dl, dl
jne 0x458840
xor eax, eax
jmp 0x458865
sbb eax, eax
or eax, 1
test eax, eax
je case.0x4588ef.11003
mov esi, dword [esp + 0x10]
inc esi
mov dword [esp + 0x10], esi
cmp esi, 0x10
je case.0x4588ef.11003
mov esi, dword [esp + 0x1c]
mov eax, edi
mov dword [esp + 0x14], ebp
mov ebp, eax
jmp 0x458792
cmp dword [esp + 0x844], esi
je 0x458909
mov ecx, ebp
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4588a0
sub ecx, edx
lea ebx, [ecx + 1]
push ebx
push 1
call fcn.0057371f
mov edi, eax
add esp, 8
test edi, edi
je 0x4588c8
push ebp
push ebx
push edi
call fcn.0057a771
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov dword [eax + 0x14], edi
mov eax, dword [ecx]
cmp dword [eax + 0x14], esi
jne 0x458909
mov esi, 8
jmp 0x458909
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd507
cmp eax, 3
ja case.0x4588ef.11001
jmp dword [eax*4 + 0x458928]
mov esi, 0x2afa
jmp 0x458909
mov esi, 0x2afb
jmp 0x458909
mov esi, 0x2af9
mov ecx, dword [esp + 0x82c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004387fb
add esp, 0x820
ret 0x18
Function at 0x4591d0
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
push dword [esp + 0x14]
call fcn.0048ba40
push 0x62
push esi
mov edi, eax
mov ebx, 1
call fcn.0056c810
add esp, 0x10
mov ecx, 0x11
test eax, eax
cmove ebx, ecx
test edi, edi
jne 0x459289
call fcn.0044d560
push str.BIO_new_file
push 0x43
push str.crypto_bio_bss_file.c
call fcn.0044d660
add esp, 0xc
push esi
push dword [esp + 0x14]
push str.calling_fopen__s___s_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 2
call fcn.0044d740
add esp, 0x14
call fcn.00574b0e
cmp dword [eax], 2
je 0x459259
call fcn.00574b0e
cmp dword [eax], 6
je 0x459259
mov esi, 0x80002
mov edi, 0x4d
jmp 0x459261
mov esi, 0x80
lea edi, [esi - 0x35]
call fcn.0044d560
push str.BIO_new_file
push edi
push str.crypto_bio_bss_file.c
call fcn.0044d660
push 0
push esi
push 0x20
call fcn.0044d740
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0x5b6a44
call fcn.004411a0
mov esi, eax
add esp, 4
test esi, esi
jne 0x4592ab
push edi
call fcn.0057333a
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0
push esi
call fcn.00440a90
push edi
push ebx
push 0x6a
push esi
call fcn.00440ac0
add esp, 0x18
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x477e10
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 4
call fcn.00439990
push edi
mov edi, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 4], eax
test edi, edi
je 0x477e90
mov cl, byte [edi]
test cl, cl
je 0x477e90
push ebx
push esi
mov ebx, 0x100
nop word [eax + eax]
movd xmm1, dword [esp + 0xc]
lea edi, [edi + 1]
movsx esi, cl
mov edx, 0x20
or esi, ebx
add ebx, 0x100
mov ecx, esi
shr ecx, 2
xor ecx, esi
imul esi, esi
and ecx, 0xf
sub edx, ecx
shl eax, cl
mov cl, byte [edi]
movd xmm0, edx
psrlq xmm1, xmm0
movd edx, xmm1
or eax, edx
xor eax, esi
mov dword [esp + 0xc], eax
test cl, cl
jne 0x477e40
mov ecx, eax
pop esi
shr ecx, 0x10
pop ebx
xor eax, ecx
pop edi
pop ecx
ret
xor eax, eax
pop edi
pop ecx
ret

Function at 0x477f10
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 4
call fcn.00439990
push edi
mov edi, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 4], eax
test edi, edi
je 0x477f93
mov cl, byte [edi]
test cl, cl
je 0x477f93
push ebx
push esi
mov ebx, 0x100
nop word [eax + eax]
movd xmm1, dword [esp + 0xc]
lea edi, [edi + 1]
movsx esi, cl
mov edx, 0x20
and esi, 0xffffffdf
or esi, ebx
add ebx, 0x100
mov ecx, esi
shr ecx, 2
xor ecx, esi
imul esi, esi
and ecx, 0xf
sub edx, ecx
shl eax, cl
mov cl, byte [edi]
movd xmm0, edx
psrlq xmm1, xmm0
movd edx, xmm1
or eax, edx
xor eax, esi
mov dword [esp + 0xc], eax
test cl, cl
jne 0x477f40
mov ecx, eax
pop esi
shr ecx, 0x10
pop ebx
xor eax, ecx
pop edi
pop ecx
ret
xor eax, eax
pop edi
pop ecx
ret
Function at 0x498dc0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov cl, byte [esp + 0x10]
movzx eax, cl
push esi
mov esi, dword [esp + 0x10]
and eax, 1
test esi, esi
je 0x498e02
push ebx
mov ebx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
add edi, esi
add ebx, esi
movzx edx, byte [edi - 1]
lea edi, [edi - 1]
movzx ecx, cl
lea ebx, [ebx - 1]
xor edx, ecx
mov cl, byte [esp + 0x1c]
add eax, edx
mov byte [ebx], al
shr eax, 8
sub esi, 1
jne 0x498de1
pop edi
pop ebx
pop esi
ret
Function at 0x58737d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005871fc

Function at 0x58a444
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0058a104