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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x547240]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004eb6b1
and dword [ebp - 0x14], 0
cmp dword [0x54d020], 0
mov dword [ebp - 0x18], eax
jne 0x4fccc7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4fcd6f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x52f2a8
push ebx
call edi
test eax, eax
je 0x4fcd6f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x52f298
push ebx
mov dword [0x54d020], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x54d024], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x54d028], eax
call edi
push eax
call esi
mov dword [0x54d030], eax
test eax, eax
je 0x4fccc7
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x54d02c], eax
mov eax, dword [0x54d02c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4fcd20
cmp dword [0x54d030], ecx
je 0x4fcd20
push eax
call esi
push dword [0x54d030]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4fcd20
test ebx, ebx
je 0x4fcd20
call edi
test eax, eax
je 0x4fcd17
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4fcd17
test byte [ebp - 8], 1
jne 0x4fcd20
or dword [ebp + 0x10], 0x200000
jmp 0x4fcd53
mov eax, dword [0x54d024]
cmp eax, dword [ebp - 0x18]
je 0x4fcd53
push eax
call esi
test eax, eax
je 0x4fcd53
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4fcd53
mov eax, dword [0x54d028]
cmp eax, dword [ebp - 0x18]
je 0x4fcd53
push eax
call esi
test eax, eax
je 0x4fcd53
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x54d020]
call esi
test eax, eax
je 0x4fcd6f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4fcd71
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004dea60
leave
ret
Function at 0x402ff0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x410018]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403088
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403068
xor eax, eax
push ebp
push 0x403061
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 0x4030a4
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 0x403068
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x410018]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x410018], ax
mov esp, ebp
pop ebp
ret

Function at 0x4039dc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x413044], 0
je 0x403a3d
cmp word [0x413218], 0xd7b2
jne 0x403a05
cmp dword [0x413220], 0
jbe 0x403a05
mov eax, 0x413214
call dword [0x413230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x410060
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 0x403a64
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x410024], 0
jne 0x403a59
push 0
push 0x410058
push 0x410060
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404930
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x404996
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403db4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b9c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404980
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40499d
lea eax, [ebp - 0x10]
call fcn.00403b60
ret

Function at 0x406a70
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406aa9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403c50
jmp 0x406ab2
mov eax, ebx
mov edx, esi
call fcn.00403bb4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x406abc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406add
mov al, byte [esp]
jmp 0x406adf
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x407174
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x406fdc
mov eax, dword [0x412708]
cmp byte [eax], 0
je 0x4071f0
mov eax, dword [0x412660]
call fcn.00402afc
call fcn.00402978
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00405f1c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x407238
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x407226
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x412640]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x413660]
call fcn.00404300
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x407c14
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x407c78
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403db4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00405d54
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407c7f
lea eax, [ebp - 0xc]
call fcn.00403b60
ret

Function at 0x40ade4
Capabilities:
Write file on windows

Disassembly:
push ebx
add esp, 0xfffffff8
mov dword [esp], ecx
mov ebx, eax
push 0
push 0
push edx
push ebx
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [esp + 8]
push eax
push 4
lea eax, [esp + 0xc]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
pop ecx
pop edx
pop ebx
ret

Function at 0x40ae10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x40aec2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea eax, [ebp - 8]
mov edx, esi
call fcn.00403bf8
push 0
push 0
push ebx
push edi
call sub.kernel32.dll_SetFilePointer
mov eax, dword [ebp - 8]
call fcn.00403de0
mov esi, eax
add esi, esi
test esi, esi
jle 0x40aeac
mov ebx, 1
mov eax, ebx
and eax, 0x80000001
jns 0x40ae6e
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
je 0x40ae96
push 0
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 8]
call fcn.00404030
mov edx, ebx
sar edx, 1
jns 0x40ae8b
adc edx, 0
add eax, edx
push eax
push edi
call sub.kernel32.dll_WriteFile_1
jmp 0x40aea8
push 0
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 9]
push eax
push edi
call sub.kernel32.dll_WriteFile_1
inc ebx
dec esi
jne 0x40ae60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40aec9
lea eax, [ebp - 8]
call fcn.00403b60
ret
Function at 0x40b86c
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403fd0
xor eax, eax
push ebp
push 0x40b969
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea edx, [ebp - 0x130]
mov eax, dword [ebp - 4]
call fcn.00405ba4
mov edx, dword [ebp - 0x130]
lea eax, [ebp - 4]
call fcn.00403bf8
push 0
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x12c], 0x128
lea eax, [ebp - 0x12c]
push eax
push ebx
call sub.kernel32.dll_Process32First
test eax, eax
je 0x40b93d
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00403db4
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00405ba4
mov edx, dword [ebp - 0x134]
mov eax, dword [ebp - 4]
call fcn.00403f2c
sete al
test al, al
je 0x40b92c
mov esi, dword [ebp - 0x124]
jmp 0x40b93d
lea eax, [ebp - 0x12c]
push eax
push ebx
call sub.kernel32.dll_Process32Next
test eax, eax
jne 0x40b8e8
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b970
lea eax, [ebp - 0x138]
mov edx, 3
call fcn.00403b84
lea eax, [ebp - 4]
call fcn.00403b60
ret

Function at 0x40b978
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, ecx
push edx
push eax
mov eax, dword [0x413660]
push eax
call sub.kernel32.dll_FindResourceA
mov ebx, eax
push ebx
mov eax, dword [0x413660]
push eax
call sub.kernel32.dll_LoadResource
push eax
call sub.kernel32.dll_LockResource
mov esi, eax
push ebx
mov eax, dword [0x413660]
push eax
call sub.kernel32.dll_SizeofResource
mov edi, eax
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ebp
call sub.kernel32.dll_CreateFileA
mov ebx, eax
push 0
lea eax, [esp + 4]
push eax
push edi
push esi
push ebx
call sub.kernel32.dll_WriteFile_1
mov esi, dword [esp]
push ebx
call sub.kernel32.dll_CloseHandle
mov eax, esi
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40ba54
Capabilities:
Delete service
Stop service

Disassembly:
pushal
mov dword [0x4139c4], 0x554e484f
push 0
push 0x413b58
push pe_nt_image_headers32
push 0x4139c4
push pe_nt_image_headers32
push 0x4139c4
push 0x30
push dword [0x413a3c]
call sub.kernel32.dll_DeviceIoControl
push dword [0x413a3c]
call sub.kernel32.dll_CloseHandle
push 0x4139c4
push 1
push dword [0x413a34]
call sub.advapi32.dll_ControlService
push dword [0x413a34]
call sub.advapi32.dll_DeleteService
push dword [0x413a34]
call sub.advapi32.dll_CloseServiceHandle
push dword [0x413a2c]
call sub.advapi32.dll_CloseServiceHandle
popal
push 0x40bae4
push 0xffffffffffffffff
push 0
call sub.OllyDbg.exe__Addtolist
add esp, 0xc
mov byte [0x413ac1], 0
xor eax, eax
ret
Function at 0x40bb04
Capabilities:
Delete service
Stop service

Disassembly:
pushal
mov dword [0x4139c4], 0x756e686f
push 0
push 0x413b58
push pe_nt_image_headers32
push 0x4139c4
push pe_nt_image_headers32
push 0x4139c4
push 0x20
push dword [0x413a40]
call sub.kernel32.dll_DeviceIoControl
push dword [0x413a40]
call sub.kernel32.dll_CloseHandle
push 0x4139c4
push 1
push dword [0x413a38]
call sub.advapi32.dll_ControlService
push dword [0x413a38]
call sub.advapi32.dll_DeleteService
push dword [0x413a38]
call sub.advapi32.dll_CloseServiceHandle
push dword [0x413a30]
call sub.advapi32.dll_CloseServiceHandle
popal
push 0x40bb94
push 0xffffffffffffffff
push 0
call sub.OllyDbg.exe__Addtolist
add esp, 0xc
mov byte [0x413ac2], 0
xor eax, eax
ret
Function at 0x40cbe4
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x40cd88
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, edi
call fcn.00403fe0
push eax
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
test ebx, ebx
jne 0x40cc3e
mov eax, edi
call fcn.00403fe0
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
test ebx, ebx
jne 0x40cc3e
mov dword [ebp - 8], 0xffffffff
jmp 0x40cd72
mov eax, ebx
cmp word [eax], 0x5a4d
je 0x40cc53
mov dword [ebp - 8], 0xfffffffe
jmp 0x40cd72
mov eax, dword [eax + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
je 0x40cc6c
mov dword [ebp - 8], 0xfffffffd
jmp 0x40cd72
mov eax, dword [eax + 0x78]
add eax, ebx
mov edx, dword [eax + 0x20]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dx, word [edx]
mov word [ebp - 0x12], dx
mov edi, dword [eax + 0x18]
dec edi
test edi, edi
jl 0x40cd6c
inc edi
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
add edx, ebx
call fcn.00403d3c
mov eax, dword [ebp - 0x18]
mov edx, esi
call fcn.00403f2c
jne 0x40cd5e
mov cl, byte [esi]
cmp cl, 0x4e
jne 0x40cce6
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
movzx eax, word [ebp - 0x12]
add eax, dword [ebp - 0x1c]
shl eax, 2
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x10], eax
cmp cl, 0x5a
jne 0x40cd06
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x1c]
shl eax, 2
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x10], eax
mov al, byte [esi]
cmp al, 0x5a
je 0x40cd56
cmp al, 0x4e
je 0x40cd56
cmp dword [ebp - 4], 1
jne 0x40cd31
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x1c]
shl eax, 2
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], 2
jne 0x40cd56
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
movzx eax, word [ebp - 0x12]
add eax, dword [ebp - 0x1c]
shl eax, 2
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x40cd6c
add dword [ebp - 0xc], 4
inc dword [ebp - 0x1c]
dec edi
jne 0x40cca1
push ebx
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cd8f
lea eax, [ebp - 0x18]
call fcn.00403b60
ret

Function at 0x40cdc8
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x40
push 0x3000
push 0x1000
push 0
push 0x14
call sub.OllyDbg.exe__Plugingetvalue
pop ecx
push eax
call sub.kernel32.dll_VirtualAllocEx
ret
Function at 0x401ec0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x403802
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push esi
push edi
push 0x12c
lea eax, [ebp - 0x130]
push 0x414704
push eax
call fcn.00403619
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 0xc
mov esi, 0xe73d110a
xor eax, esi
xor edi, esi
push 0x4b
lea ecx, [ebp - 0x130]
pop edx
xor dword [ecx], esi
add ecx, 4
dec edx
jne 0x403843
lea ecx, [ebp - 0x130]
xor eax, esi
push ecx
call eax
test eax, eax
mov dword [ebp - 4], eax
je 0x403887
xor edi, esi
push ebx
mov ebx, edi
mov esi, 0x4146cc
lea edi, [ebp - 0x11c]
push edi
push dword [ebp - 4]
call ebx
mov dword [esi], eax
add esi, 4
add edi, 0x14
cmp esi, 0x414704
jl 0x40386d
push 1
pop eax
pop ebx
pop edi
pop esi
leave
ret
Function at 0x40409e
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x1c]
cmp ecx, 1
jle 0x404179
add eax, 0x32
push esi
dec ecx
movzx edx, byte [eax + 1]
movzx esi, byte [eax - 1]
mov edx, dword [edx*4 + 0x413f90]
xor edx, dword [esi*4 + 0x413790]
movzx esi, byte [eax]
add eax, 0x10
xor edx, dword [esi*4 + 0x413b90]
movzx esi, byte [eax - 0x12]
xor edx, dword [esi*4 + 0x413390]
mov dword [eax - 0x12], edx
movzx edx, byte [eax - 0xb]
movzx esi, byte [eax - 0xc]
mov edx, dword [edx*4 + 0x413f90]
xor edx, dword [esi*4 + 0x413b90]
movzx esi, byte [eax - 0xd]
xor edx, dword [esi*4 + 0x413790]
movzx esi, byte [eax - 0xe]
xor edx, dword [esi*4 + 0x413390]
mov dword [eax - 0xe], edx
movzx edx, byte [eax - 7]
movzx esi, byte [eax - 8]
mov edx, dword [edx*4 + 0x413f90]
xor edx, dword [esi*4 + 0x413b90]
movzx esi, byte [eax - 9]
xor edx, dword [esi*4 + 0x413790]
movzx esi, byte [eax - 0xa]
xor edx, dword [esi*4 + 0x413390]
mov dword [eax - 0xa], edx
movzx edx, byte [eax - 3]
movzx esi, byte [eax - 4]
mov edx, dword [edx*4 + 0x413f90]
xor edx, dword [esi*4 + 0x413b90]
movzx esi, byte [eax - 5]
xor edx, dword [esi*4 + 0x413790]
movzx esi, byte [eax - 6]
xor edx, dword [esi*4 + 0x413390]
dec ecx
mov dword [eax - 6], edx
jne 0x4040b3
pop esi
ret
Function at 0x4048a8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push 4
lea eax, [ebp - 4]
push 0x4146d8
push eax
call fcn.00403619
mov esi, dword [ebp - 4]
push 4
lea eax, [ebp - 4]
push 0x4146d4
push eax
call fcn.00403619
mov edi, dword [ebp - 4]
add esp, 0x18
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x475f4352
push eax
push 0
push 0
mov dword [ebp - 0x10], 0x646e6172
mov dword [ebp - 0xc], 0x6e65704f
mov dword [ebp - 8], 0x676f44
call esi
mov esi, eax
test esi, esi
je 0x40490c
push 0xffffffffffffffff
push esi
call edi
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x404910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x414684]
push esi
mov esi, dword [ebp + 8]
and eax, 3
sub eax, 0
je 0x40499a
dec eax
je 0x404977
dec eax
je 0x404954
dec eax
jne 0x4049bb
mov eax, dword [0x414694]
mov dword [ebp + 8], eax
lea eax, [esi + 2]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004049fb
add dword [0x414694], 0x3f2
pop ecx
pop ecx
jmp 0x4049bb
mov eax, dword [0x414690]
mov dword [ebp + 8], eax
lea eax, [esi + 2]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004049fb
add dword [0x414690], 0x3f2
pop ecx
pop ecx
jmp 0x4049bb
mov eax, dword [0x41468c]
mov dword [ebp + 8], eax
lea eax, [esi + 2]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004049fb
add dword [0x41468c], 0x3f2
pop ecx
pop ecx
jmp 0x4049bb
mov eax, dword [0x414688]
mov dword [ebp + 8], eax
lea eax, [esi + 2]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004049fb
add dword [0x414688], 0x3f2
pop ecx
pop ecx
mov ax, word [esi + 2]
add dword [0x414684], 0x3eb
xor word [esi], ax
xor ecx, ecx
lea eax, [esi + 0x12]
mov edx, ecx
and edx, 3
mov edx, dword [esi + edx*4 + 2]
xor dword [eax], edx
inc ecx
add eax, 4
cmp ecx, 0xa
jb 0x4049d1
mov al, byte [esi + 0x10]
push esi
xor byte [esi + 0x3a], al
mov al, byte [esi + 0x11]
xor byte [esi + 0x3b], al
call fcn.00404a8f
pop ecx
pop esi
pop ebp
ret
Function at 0x404bda
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
test byte [ebp + 0x10], 0xf
je 0x404beb
push 1
pop eax
leave
ret
cmp dword [ebp + 0x10], 0
je 0x404cd1
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov eax, dword [ebx]
push 4
mov dword [ebp - 4], eax
pop eax
add ebx, eax
sub dword [ebp + 0x10], 0x10
mov dword [ebp - 0x10], 0x14
mov esi, dword [ebx]
mov ecx, dword [eax + ebx]
add ebx, eax
mov dword [ebp - 8], ecx
add ebx, eax
mov edi, dword [ebx]
add ebx, eax
mov eax, dword [ebp + 8]
add esi, dword [eax + 8]
add edi, dword [eax + 0xc]
add eax, 0x14
mov dword [ebp + 0xc], eax
lea eax, [esi + esi + 1]
push 5
imul eax, esi
push eax
call fcn.00404cd5
mov dword [ebp - 0xc], eax
lea eax, [edi + edi + 1]
imul eax, edi
push 5
push eax
call fcn.00404cd5
mov dword [ebp - 0x18], eax
push eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 4]
push eax
call fcn.00404cd5
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0xc]
mov dword [ebp - 4], esi
add eax, dword [ecx - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 8]
push eax
call fcn.00404cd5
mov ecx, dword [ebp + 0xc]
add dword [ebp + 0xc], 8
add esp, 0x20
mov dword [ebp - 8], edi
add eax, dword [ecx]
dec dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esi, eax
jne 0x404c2f
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
push 4
mov edx, dword [ecx + 0xb0]
mov ecx, dword [ecx + 0xb4]
add edx, dword [ebp - 4]
add ecx, dword [ebp - 8]
mov dword [eax], edx
pop edx
add eax, edx
mov dword [eax], esi
add eax, edx
mov dword [eax], ecx
add eax, edx
mov ecx, edi
mov dword [eax], ecx
add eax, edx
cmp dword [ebp + 0x10], 0
mov dword [ebp + 0x14], eax
jne 0x404bfb
pop edi
pop esi
pop ebx
xor eax, eax
leave
ret

Function at 0x404d7b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 4
mov eax, esi
pop ecx
xor dword [eax], 0x41dfac36
add eax, 4
dec ecx
jne 0x404d89
mov ecx, dword [esi + 0x10]
mov edi, dword [ebp + 0x10]
mov eax, ecx
mov edx, edi
shr eax, 3
lea ecx, [ecx + edi*8]
and eax, 0x3f
shl edx, 3
cmp ecx, edx
mov dword [esi + 0x10], ecx
jae 0x404db5
inc dword [esi + 0x14]
push 0x40
mov ecx, edi
pop ebx
shr ecx, 0x1d
add dword [esi + 0x14], ecx
sub ebx, eax
cmp edi, ebx
jb 0x404e08
push ebx
lea eax, [esi + eax + 0x18]
push dword [ebp + 0xc]
push eax
call fcn.004058fe
lea eax, [esi + 0x18]
push eax
push esi
call fcn.00404e8e
add esp, 0x14
mov dword [ebp + 8], ebx
add ebx, 0x3f
cmp ebx, edi
jae 0x404e04
mov eax, dword [ebp + 0xc]
lea eax, [ebx + eax - 0x3f]
push eax
push esi
call fcn.00404e8e
add dword [ebp + 8], 0x40
pop ecx
pop ecx
add ebx, 0x40
jmp 0x404de7
xor eax, eax
jmp 0x404e0c
and dword [ebp + 8], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
sub edi, ecx
add ecx, edx
push edi
lea eax, [esi + eax + 0x18]
push ecx
push eax
call fcn.004058fe
add esp, 0xc
pop edi
pop esi
pop ebx
pop ebp
ret