joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5696e0
Capabilities:
Get http response content encoding
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad180
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
lea eax, [esi + 0x28]
mov dword [ebp - 4], ebx
push eax
push 0x13
call fcn.00569900
lea ecx, [esi + 0x30]
push ecx
push 5
mov ecx, esi
call fcn.00569990
lea edx, [esi + 0x20]
mov ecx, esi
push edx
push 0x21
call fcn.00569850
lea eax, [esi + 0x14]
mov ecx, esi
push eax
push 0x16
call fcn.00569850
lea ecx, [esi + 0x18]
push ecx
push 1
mov ecx, esi
call fcn.00569850
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea edx, [ebp - 0x14]
push ebx
push edx
push ebx
push 0x1d
push eax
mov dword [esi + 0x24], ebx
mov dword [ebp - 0x14], ebx
call edi
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jbe 0x5697bd
push eax
call fcn.0059e794
mov edx, dword [esi + 8]
add esp, 4
lea ecx, [ebp - 0x14]
mov ebx, eax
push 0
push ecx
push ebx
push 0x1d
push edx
call edi
push str.gzip
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x56979b
mov dword [esi + 0x24], 1
jmp 0x5697b2
push str.deflate
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x5697b2
mov dword [esi + 0x24], 2
push ebx
call fcn.0059e7bd
add esp, 4
xor ebx, ebx
lea ecx, [esi + 0x1c]
push 0xb47d8c
call fcn.0059eb90
mov dword [ebp - 0x18], ebx
mov edx, dword [esi + 8]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push ecx
push ebx
push 0x2b
push edx
mov dword [ebp - 0x14], ebx
call edi
mov eax, dword [ebp - 0x14]
cmp eax, 1
jb 0x569834
push eax
call fcn.0059e794
mov edx, dword [esi + 8]
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push ecx
push ebx
push 0x2b
push edx
call edi
cmp dword [ebp - 0x18], 1
jbe 0x569818
push 0xb20908
lea ecx, [esi + 0x1c]
call fcn.0059ede3
push ebx
lea ecx, [esi + 0x1c]
call fcn.0059ede3
push ebx
call fcn.0059e7bd
add esp, 4
xor ebx, ebx
jmp 0x5697cd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x56b5a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x56b5ab
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x56b6ae
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0xaf6cc8]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0xaf6cc8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0xaf6cc8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0xaf6cc8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0xaf6cc8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0xaf6cc8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0xaf6cc8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0xaf6cc8]
xor eax, edx
inc ecx
dec edi
jne 0x56b5c6
pop edi
test esi, esi
je 0x56b6d0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0xaf6cc8]
xor eax, edx
inc ecx
dec esi
jne 0x56b6b2
pop esi
pop ebx
not eax
ret
Function at 0x57b529
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x57b580
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x57b580
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x57b580
xor eax, eax
inc eax
jmp 0x57b582
xor eax, eax
leave
ret 0x10

Function at 0x57b5ab
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x57b619
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0xafc1bc
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x57b610
cmp dword [ebp - 0xc], 4
jne 0x57b610
cmp dword [ebp - 0x10], edi
je 0x57b610
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0xb25550], edi
xor eax, eax
jmp 0x57b658
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0xb25550], edi
jge 0x57b653
lea eax, [ebp - 0x34]
push eax
mov dword [0xb25550], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x57b653
cmp word [ebp - 0x14], 5
jb 0x57b653
call fcn.0057b586
test eax, eax
je 0x57b653
emms
mov dword [0xb25550], 1
mov eax, dword [0xb25550]
pop edi
leave
ret

Function at 0x5a0e04
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5a0e3c
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0059eeae
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0059ee86
jmp 0x5a0e48
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x5a24f6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5a2538
call fcn.005a849b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5a2538
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5a252f
xor eax, eax
jmp 0x5a2540
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005a2546
pop edi
pop esi
pop ebx
ret 4
Function at 0x5b1640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0xb67020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x5b16d8
push getpeername
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x5b16b8
xor eax, eax
push ebp
push 0x5b16b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x5b16f4
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b16b8
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_RegCloseKey
ret
mov ax, word [0xb67020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0xb67020], ax
mov esp, ebp
pop ebp
ret

Function at 0x5b2404
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0xb78044], 0
je 0x5b2465
cmp word [0xb78218], 0xd7b2
jne 0x5b242d
cmp dword [0xb78220], 0
jbe 0x5b242d
mov eax, 0xb78214
call dword [0xb78230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0xb67090
push 0xfffffffffffffff5
call sub.KERNEL32.dll_GetStdHandle
push eax
call sub.KERNEL32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x5b248c
push 0xfffffffffffffff5
call sub.KERNEL32.dll_GetStdHandle
push eax
call sub.KERNEL32.dll_WriteFile
pop edx
ret
cmp byte [0xb67030], 0
jne 0x5b2481
push 0
push 0xb67088
push 0xb67090
push 0
call sub.USER32.dll_MessageBoxA
pop edx
ret
Function at 0x5bad84
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, 0xb6733c
lea ecx, [esp + 8]
mov dword [ecx], eax
mov eax, dword [esp]
mov dword [esp + 0xc], eax
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
test eax, eax
jle 0x5bae48
mov edx, dword [ecx]
movzx edx, byte [edx + ebx]
shr edx, 2
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 1]
shr ebp, 4
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 1], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 2]
shr ebp, 6
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 2], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 3], dl
add esi, 4
add ebx, 3
dec eax
jne 0x5badbc
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
dec edx
je 0x5bae5f
dec edx
je 0x5baea0
jmp 0x5baefd
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 2], 0x3d
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
jmp 0x5baefd
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov edx, dword [ecx]
movzx edx, byte [edx + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [ecx]
mov al, byte [eax + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 2], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
mov eax, dword [esp + 4]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5baf60
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
xor esi, esi
xor edi, edi
xor eax, eax
mov ebp, ecx
test ebp, ebp
jns 0x5baf7d
add ebp, 3
sar ebp, 2
test ebp, ebp
jle 0x5bb08f
mov edx, 4
mov eax, esp
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
cmp ecx, 0x3d
jg 0x5bafb0
je 0x5baffc
sub ecx, 0x2b
je 0x5baff2
sub ecx, 4
je 0x5baff7
dec ecx
sub ecx, 0xa
jb 0x5bafe1
jmp 0x5bafff
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x5bafc2
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x5bafd0
jmp 0x5bafff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x5bafff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x5bafff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x5bafff
mov byte [eax], 0x3e
jmp 0x5bafff
mov byte [eax], 0x3f
jmp 0x5bafff
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x5baf8f
mov al, byte [esp]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 1]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi], al
lea eax, [edi + 1]
mov dl, byte [esp + 2]
cmp dl, 0xff
je 0x5bb04f
cmp byte [esp + 3], 0xff
jne 0x5bb04f
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
lea eax, [edi + 2]
inc edi
jmp 0x5bb087
cmp dl, 0xff
je 0x5bb087
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 2]
shl edx, 6
or dl, byte [esp + 3]
mov byte [eax + edi + 2], dl
lea eax, [edi + 3]
add edi, 2
inc edi
dec ebp
jne 0x5baf88
add esp, 0xc
pop ebp
pop edi
pop esi
ret

Function at 0x5bb11c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
xor ebx, ebx
mov ecx, 0xb787a0
mov eax, ebx
mov edx, 8
test al, 1
je 0x5bb138
shr eax, 1
xor eax, 0xedb88320
jmp 0x5bb13a
shr eax, 1
dec edx
jne 0x5bb12b
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0x5bb124
pop ebx
ret
Function at 0x5bb150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x5bb159
mov eax, dword [ebp - 4]
add esp, 0xfffffebc
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.005b2a38
xor eax, eax
push ebp
push 0x5bb239
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.005bb11c
mov eax, dword [0xb77e0c]
mov byte [eax], 0
mov dword [ebx], 0xffffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x154]
call fcn.005b0e7c
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.005b1218
call fcn.005b0ba8
test eax, eax
jne 0x5bb216
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10145]
mov ecx, 0xfff1
lea eax, [ebp - 0x154]
call fcn.005b0fcc
mov dx, word [ebp - 8]
test dx, dx
jbe 0x5bb210
lea eax, [ebp - 0x10145]
xor ecx, ecx
mov cl, byte [eax]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0xb787a0]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x5bb1ec
cmp dword [ebp - 8], 0
jne 0x5bb1c3
lea eax, [ebp - 0x154]
call fcn.005b0fec
not dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bb240
lea eax, [ebp - 4]
call fcn.005b2588
ret

Function at 0x5c6718
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x5c6738
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x5c6726
pop edi
pop esi
pop ebx
ret
Function at 0x5cefd4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
xor ebp, ebp
mov ebx, 0xb78cb4
mov eax, ebp
shr eax, 1
and eax, 0xff
mov dword [esp], eax
mov esi, ebp
and esi, 1
mov eax, ebp
and eax, 0x200
shr eax, 8
or esi, eax
mov edx, dword [esi*4 + 0xb6d670]
mov eax, dword [esi*4 + 0xb6d6b0]
xor eax, dword [esp]
call fcn.005cef70
mov edi, eax
shl edi, 0x18
mov eax, edi
call fcn.005cefac
mov dword [ebx], eax
mov edx, dword [esi*4 + 0xb6d680]
mov eax, dword [esi*4 + 0xb6d6c0]
xor eax, dword [esp]
call fcn.005cef70
mov edi, eax
shl edi, 0x10
mov eax, edi
call fcn.005cefac
mov dword [ebx + 0x1000], eax
mov edx, dword [esi*4 + 0xb6d690]
mov eax, dword [esi*4 + 0xb6d6d0]
xor eax, dword [esp]
call fcn.005cef70
mov edi, eax
shl edi, 8
mov eax, edi
call fcn.005cefac
mov dword [ebx + 0x2000], eax
mov edx, dword [esi*4 + 0xb6d6a0]
mov eax, dword [esi*4 + 0xb6d6e0]
xor eax, dword [esp]
call fcn.005cef70
mov edi, eax
mov eax, edi
call fcn.005cefac
mov dword [ebx + 0x3000], eax
inc ebp
add ebx, 4
cmp ebp, 0x400
jne 0x5cefe0
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5cf138
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
lea eax, [edx + eax*4 + 0x4c]
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [eax + ebx*4], edx
inc ebx
cmp ebx, 3
jne 0x5cf16d
xor ebx, ebx
mov eax, ebx
mov esi, 3
xor edx, edx
div esi
mov eax, dword [ebp - 0x14]
lea eax, [eax + edx*4]
mov dword [ebp - 0x18], eax
xor eax, eax
lea edx, [eax + ecx]
and edx, 3
mov esi, dword [ebp - 8]
lea edx, [esi + edx*2]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
mov dx, word [edx]
and dx, 1
movzx edx, dx
mov esi, dword [ebp - 0x18]
mov esi, dword [esi]
add esi, esi
or esi, edx
mov edi, dword [ebp - 0x18]
mov dword [edi], esi
mov esi, dword [ebp - 0x1c]
movzx esi, word [esi]
shr esi, 1
xor dx, 1
shl edx, 0xf
or si, dx
mov edx, dword [ebp - 0x1c]
mov word [edx], si
inc eax
cmp eax, 4
jne 0x5cf193
inc ebx
cmp ebx, 0xf
jne 0x5cf17d
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 8
jne 0x5cf14f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5d8ee0
Capabilities:
Encrypt data using twofish

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp + 0x18], 0x100
mov esi, 0xb720f4
mov ebx, 0xb7cce4
movzx edi, byte [esi]
mov dword [esp], edi
mov eax, edi
call fcn.005d7e30
mov dword [esp + 8], eax
mov eax, edi
call fcn.005d7e40
mov dword [esp + 0x10], eax
movzx edi, byte [esi + 0x100]
mov dword [esp + 4], edi
mov eax, edi
call fcn.005d7e30
mov dword [esp + 0xc], eax
mov eax, edi
call fcn.005d7e40
mov ebp, eax
mov dword [esp + 0x14], ebp
mov eax, edi
mov edx, dword [esp + 0xc]
shl edx, 8
or eax, edx
mov edx, ebp
shl edx, 0x10
or eax, edx
mov edx, ebp
shl edx, 0x18
or eax, edx
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov edx, eax
mov ecx, eax
shl ecx, 8
or edx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x10
or edx, ecx
mov ecx, dword [esp]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x400], edx
mov edx, dword [esp + 0xc]
shl ebp, 8
or edx, ebp
shl edi, 0x10
or edx, edi
mov ecx, dword [esp + 0x14]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x800], edx
mov edx, dword [esp + 8]
mov ecx, dword [esp]
shl ecx, 8
or edx, ecx
shl eax, 0x10
or edx, eax
mov eax, dword [esp + 8]
shl eax, 0x18
or edx, eax
mov dword [ebx + 0xc00], edx
add ebx, 4
inc esi
dec dword [esp + 0x18]
jne 0x5d8ef9
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x401000
Capabilities:
Create directory

Disassembly:
sub esp, 0x110
mov eax, dword [0x4ada68]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push 0x103
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call fcn.00456da0
add esp, 0xc
lea ecx, [esp + 4]
call fcn.0041ce70
lea ecx, [esp + 4]
push ecx
call fcn.00420990
add esp, 4
cmp eax, 1
je 0x401056
push 0
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 1
push str.APPDATA
push 0x517
mov ebx, str.LngCHS.ini
lea ecx, [esp + 0x10]
call fcn.00401500
push 1
push str.APPDATA
push 0x518
mov ebx, str.LngCHT.ini
lea ecx, [esp + 0x10]
call fcn.00401500
push 1
push str.APPDATA
push 0x519
mov ebx, str.LngENU.ini
lea ecx, [esp + 0x10]
call fcn.00401500
push 1
push str.APPDATA
push 0x51a
mov ebx, 0x498780
lea ecx, [esp + 0x10]
call fcn.00401500
push 0
push str.APPDATA
push 0x51b
mov ebx, str.Options.ini
lea ecx, [esp + 0x10]
call fcn.00401500
push 1
push str.APPDATA
push 0x51c
mov ebx, 0x49879c
lea ecx, [esp + 0x10]
call fcn.00401500
push 0
push str.APPDATA
push 0x51d
mov ebx, str.ver.TXT
lea ecx, [esp + 0x10]
call fcn.00401500
push 1
push str.APPDATA
push 0x51e
mov ebx, str.AntVrsl.dat
lea ecx, [esp + 0x10]
call fcn.00401500
push 1
push 0x4987d4
push 0x542
mov ebx, 0x4987bc
lea ecx, [esp + 0x10]
call fcn.00401500
push 1
push 0x4987d4
push 0x543
mov ebx, 0x4987d8
lea ecx, [esp + 0x10]
call fcn.00401500
push 1
push 0x4987d4
push 0x567
mov ebx, 0x4987f0
lea ecx, [esp + 0x10]
call fcn.00401500
push 1
push 0x4987d4
push 0x548
mov ebx, 0x498808
lea ecx, [esp + 0x10]
call fcn.00401500
push 1
push 0x4987d4
push 0x568
mov ebx, 0x49881c
lea ecx, [esp + 0x10]
call fcn.00401500
push 1
push 0x4987d4
push 0x55e
mov ebx, 0x498828
lea ecx, [esp + 0x10]
call fcn.00401500
push 1
push 0x4987d4
push 0x55f
mov ebx, 0x498850
lea ecx, [esp + 0x10]
call fcn.00401500
push 1
push 0x4987d4
push 0x551
mov ebx, 0x498864
lea ecx, [esp + 0x10]
call fcn.00401500
push 1
push 0x4987d4
push 0x55d
mov ebx, 0x498884
lea ecx, [esp + 0x10]
call fcn.00401500
push 1
push 0x4987d4
push 0x5dc
mov ebx, 0x49889c
lea ecx, [esp + 0x10]
call fcn.00401500
push 1
push 0x4987d4
push 0x5dd
mov ebx, 0x4988a8
lea ecx, [esp + 0x10]
call fcn.00401500
push 1
push 0x4987d4
push 0x5de
mov ebx, 0x4988b4
lea ecx, [esp + 0x10]
call fcn.00401500
mov ecx, dword [esp + 0x110]
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0044ffb2
add esp, 0x110
ret
Function at 0x401280
Capabilities:
Create directory

Disassembly:
sub esp, 0x108
mov eax, dword [0x4ada68]
xor eax, esp
mov dword [esp + 0x104], eax
push 0x103
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.00456da0
add esp, 0xc
lea ecx, [esp]
call fcn.0041ce70
lea ecx, [esp]
push ecx
call fcn.00420990
add esp, 4
cmp eax, 1
je 0x4012d3
push 0
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebx
push 0
push str.APPDATA
push 0x517
mov ebx, str.LngCHS.ini
lea ecx, [esp + 0x10]
call fcn.00401500
push 0
push str.APPDATA
push 0x518
mov ebx, str.LngCHT.ini
lea ecx, [esp + 0x10]
call fcn.00401500
push 0
push str.APPDATA
push 0x519
mov ebx, str.LngENU.ini
lea ecx, [esp + 0x10]
call fcn.00401500
push 0
push str.APPDATA
push 0x51a
mov ebx, 0x498780
lea ecx, [esp + 0x10]
call fcn.00401500
push 0
push str.APPDATA
push 0x51b
mov ebx, str.Options.ini
lea ecx, [esp + 0x10]
call fcn.00401500
push 0
push str.APPDATA
push 0x51c
mov ebx, 0x49879c
lea ecx, [esp + 0x10]
call fcn.00401500
push 0
push str.APPDATA
push 0x51d
mov ebx, str.ver.TXT
lea ecx, [esp + 0x10]
call fcn.00401500
push 0
push str.APPDATA
push 0x51e
mov ebx, str.AntVrsl.dat
lea ecx, [esp + 0x10]
call fcn.00401500
push 0
push 0x4987d4
push 0x542
mov ebx, 0x4987bc
lea ecx, [esp + 0x10]
call fcn.00401500
push 0
push 0x4987d4
push 0x543
mov ebx, 0x4987d8
lea ecx, [esp + 0x10]
call fcn.00401500
push 1
push 0x4987d4
push 0x567
mov ebx, 0x4987f0
lea ecx, [esp + 0x10]
call fcn.00401500
push 0
push 0x4987d4
push 0x548
mov ebx, 0x498808
lea ecx, [esp + 0x10]
call fcn.00401500
push 1
push 0x4987d4
push 0x568
mov ebx, 0x49881c
lea ecx, [esp + 0x10]
call fcn.00401500
push 0
push 0x4987d4
push 0x55e
mov ebx, 0x498828
lea ecx, [esp + 0x10]
call fcn.00401500
push 0
push 0x4987d4
push 0x55f
mov ebx, 0x498850
lea ecx, [esp + 0x10]
call fcn.00401500
push 0
push 0x4987d4
push 0x551
mov ebx, 0x498864
lea ecx, [esp + 0x10]
call fcn.00401500
push 0
push 0x4987d4
push 0x55d
mov ebx, 0x498884
lea ecx, [esp + 0x10]
call fcn.00401500
push 1
push 0x4987d4
push 0x5dc
mov ebx, 0x49889c
lea ecx, [esp + 0x10]
call fcn.00401500
push 1
push 0x4987d4
push 0x5dd
mov ebx, 0x4988a8
lea ecx, [esp + 0x10]
call fcn.00401500
push 1
push 0x4987d4
push 0x5de
mov ebx, 0x4988b4
lea ecx, [esp + 0x10]
call fcn.00401500
mov ecx, dword [esp + 0x108]
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0044ffb2
add esp, 0x108
ret

Function at 0x4017a0
Capabilities:
Check mutex on windows

Disassembly:
push esi
push edi
push str.85C17BC9_B280_4180_8D67_70688704E47D
push 1
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4017d4
mov eax, dword [esp + 0xc]
mov dword [eax + 0xac], 1
mov esi, 1
test edi, edi
je 0x4017df
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp esi, 1
jne 0x4017ff
mov ecx, dword [0x4b92bc]
push esi
push esi
push ecx
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
mov eax, esi
pop esi
ret 4
pop edi
mov eax, esi
pop esi
ret 4