joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402770
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40b02c], 0x8088405
inc edx
mov dword [0x40b02c], edx
mul edx
mov eax, edx
ret

Function at 0x4050f8
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
test eax, eax
jle 0x405131
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403230
jmp 0x40513a
mov eax, ebx
mov edx, esi
call fcn.004031e4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405144
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
test eax, eax
jle 0x405165
mov al, byte [esp]
jmp 0x405167
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4067ec
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x406834
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00406788
mov eax, dword [ebp - 4]
call fcn.004033cc
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40683b
lea eax, [ebp - 4]
call fcn.00403150
ret

Function at 0x406a3c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x406aca
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x406a87
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, esi
call fcn.00403230
jmp 0x406ab4
call sub.kernel32.dll_GetCommandLineA_1
cmp byte [eax], 0
jne 0x406a9b
lea eax, [ebp - 4]
call fcn.00403150
jmp 0x406aaa
lea edx, [ebp - 4]
call fcn.00406900
test ebx, ebx
je 0x406aaa
dec ebx
jmp 0x406a8c
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004031e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406ad1
lea eax, [ebp - 4]
call fcn.00403150
ret

Function at 0x406ad8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.00404ccc
add esp, 0x104
pop ebx
ret
Function at 0x406c20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x406d41
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push edi
push esi
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x406d2b
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
je 0x406c79
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x406d2b
cmp dword [ebp - 0xc], 0
jne 0x406c8e
mov eax, dword [ebp - 4]
call fcn.00403150
mov bl, 1
jmp 0x406d2b
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
xor edx, edx
call fcn.00403230
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.004033d8
push eax
lea eax, [ebp - 8]
push eax
push 0
push edi
push esi
call sub.advapi32.dll_RegQueryValueExA
cmp eax, 0xea
je 0x406c45
test eax, eax
jne 0x406d2b
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
je 0x406cd5
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x406d2b
jmp 0x406cd5
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
je 0x406ce8
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp byte [eax + edx - 1], 0
je 0x406cd2
cmp dword [ebp - 8], 7
jne 0x406cf7
cmp dword [ebp - 0xc], 0
je 0x406cf7
inc dword [ebp - 0xc]
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.004034a8
cmp dword [ebp - 8], 7
jne 0x406d1e
cmp dword [ebp - 0xc], 0
je 0x406d1e
lea eax, [ebp - 0x10]
call fcn.004033d8
mov edx, dword [ebp - 0xc]
mov byte [eax + edx - 1], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
call fcn.004031a0
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406d48
lea eax, [ebp - 0x10]
call fcn.00403150
ret

Function at 0x40767c
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40b558
mov eax, esi
mov edx, 8
test al, 1
je 0x407698
shr eax, 1
xor eax, 0xedb88320
jmp 0x40769a
shr eax, 1
dec edx
jne 0x40768b
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x407684
pop esi
ret

Function at 0x4076b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40b554], 0
jne 0x4076d3
call fcn.0040767c
push 1
push 0x40b554
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x4076fe
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40b558]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4076d9
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x408c8c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00408c40
test al, al
jne 0x408cad
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x408cf9
xor eax, eax
push ebp
push 0x408ce9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004033cc
push eax
call sub.kernel32.dll_DeleteFileA
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408cf0
lea eax, [ebp - 0xc]
call fcn.00408c7c
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x409000
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x4090ef
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00406b04
mov edx, dword [ebp - 8]
mov ecx, 0x409108
xor eax, eax
call fcn.00408ef4
push 0
mov eax, dword [ebp - 4]
call fcn.004033cc
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x4090bd
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0xb7
je 0x409020
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov al, 0x2f
call fcn.00408acc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00404b80
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.0040707c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x14]
mov ecx, 2
mov al, 0x60
call fcn.00408a9c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, 0x40454c
call fcn.0040577c
call fcn.00402e88
jmp 0x409020
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004031e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4090f6
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00403170
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403170
ret

Function at 0x409118
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffec
cmp dword [0x40a07c], 2
jne 0x40917f
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x40913a
xor eax, eax
jmp 0x40918e
lea eax, [esp + 8]
push eax
push 0x409194
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 4], 1
mov dword [esp + 0x10], 2
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x40917f
xor eax, eax
jmp 0x40918e
push 0
push 2
call sub.user32.dll_ExitWindowsEx
neg eax
sbb eax, eax
neg eax
add esp, 0x14
ret
Function at 0x4091a8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x409202
inc esi
xor edi, edi
cmp edi, 1
jne 0x4091ce
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep
jmp 0x4091dc
cmp edi, 1
jle 0x4091dc
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00408c8c
test eax, eax
jne 0x409202
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x409202
call sub.kernel32.dll_GetLastError_1
cmp eax, 3
je 0x409202
inc edi
dec esi
jne 0x4091be
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x409630
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409703
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40971c
push ebx
push 0x409728
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040336c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402750
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004033cc
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4096b0
mov al, 0x62
call fcn.0040920c
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409604
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x4096b9
call fcn.00409604
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40970a
lea eax, [ebp - 4]
call fcn.00403150
ret
Function at 0x40979c
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409850
jmp 0x409845
cmp dword [esi + 0x10], 0x1000
jne 0x409831
test byte [esi + 0x15], 1
jne 0x409831
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x4097f0
cmp eax, 2
je 0x4097f0
cmp eax, 0x10
je 0x4097f0
cmp eax, 0x20
jne 0x409805
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409805
mov bl, 1
xor ebp, ebp
jmp 0x409816
mov eax, dword [esi]
add eax, ebp
call fcn.00409794
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409809
test bl, bl
je 0x409831
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409850
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4097c8
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x401070
Capabilities:
Get common file path

Disassembly:
sub esp, 0x7d0
lea eax, [esp]
push eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp byte [esp + eax], 0x5c
je 0x401097
mov byte [esp + eax], 0x5c
mov byte [esp + eax + 1], 0
push ebx
push esi
push edi
or ecx, 0xffffffff
lea edi, [esp + 0xc]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x200]
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x5e8]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
lea edi, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x3f4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x5e8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40607c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call entry0
test eax, eax
lea edx, [esp + 0x200]
je 0x40118b
mov edi, 0x40606c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x3f4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40605c
jmp 0x4011c1
mov edi, 0x40605c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x3f4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40606c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x5e8]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x204]
push ecx
call fcn.0040124a
lea edx, [esp + 0x3fc]
push edx
call fcn.00401220
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x7d0
ret 0x10
Function at 0x401a52
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 0x45a5bc
push eax
call fcn.00401869
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 0x401a93
lea ecx, [ebp - 0x130]
xor eax, esi
push ecx
call eax
test eax, eax
mov dword [ebp - 4], eax
je 0x401ad7
xor edi, esi
push ebx
mov ebx, edi
mov esi, 0x45a584
lea edi, [ebp - 0x11c]
push edi
push dword [ebp - 4]
call ebx
mov dword [esi], eax
add esi, 4
add edi, 0x14
cmp esi, 0x45a5bc
jl 0x401abd
push 1
pop eax
pop ebx
pop edi
pop esi
leave
ret
Function at 0x4022ee
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x1c]
cmp ecx, 1
jle 0x4023c9
add eax, 0x32
push esi
dec ecx
movzx edx, byte [eax + 1]
movzx esi, byte [eax - 1]
mov edx, dword [edx*4 + 0x459e48]
xor edx, dword [esi*4 + 0x459648]
movzx esi, byte [eax]
add eax, 0x10
xor edx, dword [esi*4 + 0x459a48]
movzx esi, byte [eax - 0x12]
xor edx, dword [esi*4 + 0x459248]
mov dword [eax - 0x12], edx
movzx edx, byte [eax - 0xb]
movzx esi, byte [eax - 0xc]
mov edx, dword [edx*4 + 0x459e48]
xor edx, dword [esi*4 + 0x459a48]
movzx esi, byte [eax - 0xd]
xor edx, dword [esi*4 + 0x459648]
movzx esi, byte [eax - 0xe]
xor edx, dword [esi*4 + 0x459248]
mov dword [eax - 0xe], edx
movzx edx, byte [eax - 7]
movzx esi, byte [eax - 8]
mov edx, dword [edx*4 + 0x459e48]
xor edx, dword [esi*4 + 0x459a48]
movzx esi, byte [eax - 9]
xor edx, dword [esi*4 + 0x459648]
movzx esi, byte [eax - 0xa]
xor edx, dword [esi*4 + 0x459248]
mov dword [eax - 0xa], edx
movzx edx, byte [eax - 3]
movzx esi, byte [eax - 4]
mov edx, dword [edx*4 + 0x459e48]
xor edx, dword [esi*4 + 0x459a48]
movzx esi, byte [eax - 5]
xor edx, dword [esi*4 + 0x459648]
movzx esi, byte [eax - 6]
xor edx, dword [esi*4 + 0x459248]
dec ecx
mov dword [eax - 6], edx
jne 0x402303
pop esi
ret
Function at 0x402af8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push 4
lea eax, [ebp - 4]
push 0x45a590
push eax
call fcn.00401869
mov esi, dword [ebp - 4]
push 4
lea eax, [ebp - 4]
push 0x45a58c
push eax
call fcn.00401869
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 0x402b5c
push 0xffffffffffffffff
push esi
call edi
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x402b60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x45a53c]
push esi
mov esi, dword [ebp + 8]
and eax, 3
sub eax, 0
je 0x402bea
dec eax
je 0x402bc7
dec eax
je 0x402ba4
dec eax
jne 0x402c0b
mov eax, dword [0x45a54c]
mov dword [ebp + 8], eax
lea eax, [esi + 2]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00402c4b
add dword [0x45a54c], 0x3f2
pop ecx
pop ecx
jmp 0x402c0b
mov eax, dword [0x45a548]
mov dword [ebp + 8], eax
lea eax, [esi + 2]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00402c4b
add dword [0x45a548], 0x3f2
pop ecx
pop ecx
jmp 0x402c0b
mov eax, dword [0x45a544]
mov dword [ebp + 8], eax
lea eax, [esi + 2]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00402c4b
add dword [0x45a544], 0x3f2
pop ecx
pop ecx
jmp 0x402c0b
mov eax, dword [0x45a540]
mov dword [ebp + 8], eax
lea eax, [esi + 2]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00402c4b
add dword [0x45a540], 0x3f2
pop ecx
pop ecx
mov ax, word [esi + 2]
add dword [0x45a53c], 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 0x402c21
mov al, byte [esi + 0x10]
push esi
xor byte [esi + 0x3a], al
mov al, byte [esi + 0x11]
xor byte [esi + 0x3b], al
call fcn.00402cdf
pop ecx
pop esi
pop ebp
ret
Function at 0x403ba0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.00403bda
mov ax, word [esi + 2]
pop ecx
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 0x403bb8
mov al, byte [esi + 0x10]
xor byte [esi + 0x3a], al
mov al, byte [esi + 0x11]
xor byte [esi + 0x3b], al
pop esi
ret

Function at 0x4045c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
push ebx
push esi
push edi
push 4
pop edi
lea eax, [ebp - 4]
push edi
push 0x45a5b0
push eax
call fcn.00401869
mov esi, dword [ebp - 4]
push edi
lea eax, [ebp - 4]
push 0x45a598
push eax
call fcn.00401869
mov eax, dword [ebp - 4]
push edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push 0x45a5b4
push eax
call fcn.00401869
mov eax, dword [ebp - 4]
xor ebx, ebx
mov dword [ebp - 0x10], eax
push 0x14
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.0040183a
add esp, 0x30
cmp dword [ebp + 8], 1
push 0x10
jne 0x404653
lea eax, [ebp - 0x24]
push 0x45a560
push eax
call fcn.00401869
add esp, 0xc
lea eax, [ebp - 0x24]
mov ecx, edi
xor dword [eax], 0x3dd17ea6
add eax, edi
dec ecx
jne 0x404642
mov byte [ebp - 0x14], 0x6c
jmp 0x40467c
lea eax, [ebp - 0x24]
push 0x45a570
push eax
call fcn.00401869
add esp, 0xc
lea eax, [ebp - 0x24]
mov ecx, edi
xor dword [eax], 0x3dd17ea6
add eax, edi
dec ecx
jne 0x404669
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x6c
lea eax, [ebp - 0x24]
push eax
call esi
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x404721
mov esi, 0x45a2d4
push 0x100
push esi
push eax
call fcn.004048fe
add esp, 0xc
test eax, eax
jbe 0x4046e3
call fcn.0040477f
cmp eax, 3
je 0x4046ed
cmp eax, edi
je 0x4046ed
cmp eax, 5
je 0x4046ed
cmp dword [0x45a3d4], 0xffffffff
jne 0x4046ed
lea eax, [ebp - 0x28]
push eax
push ebx
push esi
push 0x404bbb
push ebx
push ebx
call fcn.0040499a
add esp, 0x18
cmp dword [0x45a2d0], ebx
mov dword [0x45a3d4], eax
jne 0x4046ed
mov eax, 0xa816001f
jmp 0x40477a
push 1
lea esi, [ebp - 0xa0]
pop ebx
push ebx
push dword [ebp - 8]
call dword [ebp - 0x10]
test eax, eax
mov dword [esi], eax
je 0x40471b
inc ebx
add esi, edi
cmp ebx, 0x1f
jb 0x4046f6
cmp dword [ebp + 8], 1
mov eax, dword [ebp - 0x34]
jne 0x404728
mov dword [0x45a534], eax
jmp 0x40472d
push dword [ebp - 8]
call dword [ebp - 0xc]
mov eax, 0xa8160005
jmp 0x40477a
mov dword [0x45a538], eax
push dword [ebp - 0x90]
call fcn.00404a27
test eax, eax
pop ecx
je 0x404744
mov eax, 0xa8160006
jmp 0x40477a
push dword [ebp - 0x50]
push dword [ebp - 0x48]
call fcn.00404af4
pop ecx
test eax, eax
pop ecx
je 0x40475c
mov eax, 0xa8160007
jmp 0x40477a
cmp dword [ebp + 8], 1
jne 0x40476e
mov dword [0x45a52c], 2
jmp 0x404778
mov dword [0x45a530], 2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40477f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push ebx
push esi
xor ebx, ebx
push 0x14
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.00404856
add esp, 0xc
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xa], 0x45
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0xe], 0x73
mov byte [ebp - 9], 0x78
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 8], 0x41
mov byte [ebp - 0x11], 0x56
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 7], bl
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xb], 0x6e
mov dword [ebp - 0xa8], 0x94
call fcn.00404885
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.00404856
add esp, 0xc
lea eax, [ebp - 0xa8]
push eax
call esi
test eax, eax
jne 0x40481d
push 0x14
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.00404856
add esp, 0xc
xor eax, eax
jmp 0x404852
mov eax, dword [ebp - 0x98]
sub eax, ebx
je 0x40484f
dec eax
je 0x40482f
dec eax
je 0x404841
jmp 0x404819
cmp dword [ebp - 0xa0], ebx
jne 0x40483b
push 4
jmp 0x404851
jbe 0x404841
push 5
jmp 0x404851
cmp dword [ebp - 0xa4], 5
sbb eax, eax
add eax, 7
jmp 0x404852
push 3
pop eax
pop esi
pop ebx
leave
ret

Function at 0x404885
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00404856
and byte [ebp - 8], 0
add esp, 0xc
cmp dword [0x45a2c0], 1
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], 0x64
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x6c
mov byte [ebp - 0x14], 0x6b
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x6e
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 0xd], 0x32
jne 0x4048e7
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x45a2c0], eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00404856
mov eax, dword [0x45a2c0]
add esp, 0xc
leave
ret

Function at 0x4048fe
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00404856
and byte [ebp - 2], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0xf], 0x64
mov byte [ebp - 0xa], 0x69
mov byte [ebp - 5], 0x6d
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0xd], 0x6c
mov byte [ebp - 8], 0x65
mov byte [ebp - 4], 0x65
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0xe], 0x75
mov byte [ebp - 9], 0x6c
mov byte [ebp - 3], 0x41
mov byte [ebp - 0x11], 0x4d
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 7], 0x4e
mov byte [ebp - 0x10], 0x6f
mov byte [ebp - 0xb], 0x46
mov byte [ebp - 6], 0x61
call fcn.00404885
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00404856
add esp, 0xc
test esi, esi
jne 0x40498c
push 1
pop eax
jmp 0x404997
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
pop esi
leave
ret