joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402f90
Capabilities:
Check if file exists
Create directory
Get file attributes
Write file on windows

Disassembly:
mov eax, dword [0x413794]
sub esp, 0x408
add eax, 0x1738
lea ecx, [esp + 0x14]
push esi
push edi
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
push eax
push str._sSysLogs
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x402fcc
test al, 0x10
jne 0x402fd9
lea eax, [esp + 0x1c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [esp + 0x12]
mov eax, dword [esp + 0xe]
mov ecx, dword [esp + 0xc]
and edx, 0xffff
push edx
mov edx, dword [0x413794]
and eax, 0xffff
and ecx, 0xffff
push eax
add edx, 0x1738
push ecx
push edx
lea eax, [esp + 0x2c]
push str._sSysLogs_.4d_.2d_.2d.log
push eax
call edi
add esp, 0x18
lea ecx, [esp + 0x1c]
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4030fd
mov eax, dword [esp + 0x414]
lea edx, [esp + 0x418]
push edx
lea ecx, [esp + 0x220]
push eax
push ecx
mov dword [esp + 0x14], 0
call dword [sym.imp.MSVCRT.dll_vsprintf]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x22]
lea edx, [esp + 0x228]
and eax, 0xffff
push edx
mov edx, dword [esp + 0x24]
and ecx, 0xffff
push eax
and edx, 0xffff
push ecx
push edx
lea eax, [esp + 0x38]
push str._.2d:_.2d:_.2d__s_r_n
push eax
call edi
add esp, 0x24
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [esp + 8]
push 0
push ecx
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x24]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x413790]
push 0
push 0
push 0
lea eax, [esp + 0x28]
push 0
push eax
push 0
push 1
add ecx, 0x240
call sub.MFC42.DLL_CListCtrl::InsertItem
pop edi
pop esi
add esp, 0x408
ret
Function at 0x407800
Capabilities:
Create process on windows

Disassembly:
mov edx, ecx
sub esp, 0x158
mov eax, dword [edx + 0x1928]
test eax, eax
jne 0x407898
cmp dword [edx + 0x18b8], 2
jb 0x407898
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov eax, dword [edx + 0x18c0]
add edx, 0x19c8
shl eax, 8
inc eax
lea ecx, [esp + 0x58]
push eax
push edx
push str.__sJPlayer.exe___d
push ecx
mov dword [esp + 0x24], 0x44
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea edx, [esp + 4]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x58]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
je 0x407898
mov edx, dword [esp]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 8]
push eax
call esi
pop esi
add esp, 0x158
ret
Function at 0x4090e0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x248
push ebx
push ebp
push esi
mov esi, dword [esp + 0x258]
push edi
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
push esi
lea eax, [esp + 0x18]
mov ebx, ecx
push str._s.
push eax
mov dword [esp + 0x1c], ebx
call edi
add esp, 0xc
lea ecx, [esp + 0x118]
lea edx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x409136
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x248
ret 4
cmp byte [esp + 0x144], 0x2e
je 0x40917c
lea eax, [esp + 0x144]
lea ecx, [esp + 0x14]
push eax
push esi
push str._s_s
push ecx
call edi
mov al, byte [esp + 0x128]
add esp, 0x10
test al, 0x10
je 0x409171
lea edx, [esp + 0x14]
mov ecx, ebx
push edx
call fcn.004090e0
jmp 0x40917c
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [esp + 0x118]
push ecx
push ebp
call ebx
test eax, eax
je 0x4091e8
cmp byte [esp + 0x144], 0x2e
je 0x4091d9
lea edx, [esp + 0x144]
lea eax, [esp + 0x14]
push edx
push esi
push str._s_s
push eax
call edi
mov al, byte [esp + 0x128]
add esp, 0x10
test al, 0x10
je 0x4091ce
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.004090e0
jmp 0x4091d9
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x118]
push eax
push ebp
call ebx
test eax, eax
jne 0x409191
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x248
ret 4

Function at 0x4093f0
Capabilities:
Get disk information
Get disk size

Disassembly:
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x18]
push eax
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
xor edi, edi
lea esi, [esp + 0x18]
mov bl, 0x43
xor ebp, ebp
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov al, byte [esi + 1]
test al, al
jne 0x409439
mov al, byte [esi + 2]
test al, al
je 0x409476
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x409471
push 0
lea ecx, [esp + 0x14]
push 0
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp eax, edi
mov byte [esi + 1], 0
jb 0x409471
ja 0x40946b
cmp ecx, ebp
jbe 0x409471
mov bl, byte [esi]
mov ebp, ecx
mov edi, eax
add esi, 4
jmp 0x40942b
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
add esp, 0x6c
ret
Function at 0x40c150
Capabilities:
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x18
push esi
mov esi, ecx
mov eax, dword [esi + 0x24]
add eax, 0x36
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x40c174
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x24]
mov edx, dword [ecx]
mov ecx, dword [edx]
mov dword [eax + 0x68], ecx
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
lea edx, [esp + 0xc]
push 0x10
push edx
push eax
mov dword [esi + 0x48], eax
mov dword [esp + 0x1c], 0
mov word [esp + 0x18], 2
mov word [esp + 0x1a], 0
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jge 0x40c1bc
mov eax, dword [esi + 0x48]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
pop esi
add esp, 0x18
ret
mov ecx, dword [esi + 0x24]
lea eax, [esp + 4]
push 4
push eax
mov edx, dword [ecx + 0x90]
mov ecx, dword [esi + 0x48]
push 0x1002
push 0xffff
shl edx, 0xa
push ecx
mov dword [esp + 0x18], edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [esi + 0x48]
lea edx, [esp + 8]
push edx
push 0x8004667e
push eax
mov dword [esp + 0x14], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, 1
pop esi
add esp, 0x18
ret

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

Disassembly:
sub esp, 0x94
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40c2da
mov eax, dword [esi + 0x24]
push edi
mov word [esp + 8], 2
mov ecx, dword [eax + 0xa0]
test ecx, ecx
je 0x40c249
mov edi, dword [eax + 0xac]
mov ax, word [eax + 0xb0]
push eax
jmp 0x40c251
mov cx, word [eax + 0x6c]
mov edi, dword [eax + 0x68]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0xa], ax
mov ecx, dword [esp + 8]
lea eax, [esi + 0x4c]
mov edx, eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x10]
mov dword [edx + 4], edi
pop edi
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x10]
mov dword [edx + 0xc], ecx
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x40c2bc
mov edx, dword [esi + 0x74]
mov ecx, dword [esi + 0x78]
push 0x10
mov dword [esp + 0xc], edx
push eax
mov eax, dword [esi + 0x48]
push 0
lea edx, [esp + 0x10]
push 0x10
push edx
push eax
mov dword [esp + 0x1c], 0x22
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 7
call dword [sym.imp.WS2_32.dll_sendto]
pop esi
add esp, 0x94
ret
mov edx, dword [esi + 0x48]
push 0x10
push eax
push 0
lea ecx, [esp + 0x20]
push 4
push ecx
push edx
mov dword [esp + 0x2c], 7
call dword [sym.imp.WS2_32.dll_sendto]
pop esi
add esp, 0x94
ret

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

Disassembly:
sub esp, 0x84
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40c340
mov eax, dword [esi + 0x70]
test eax, eax
jne 0x40c340
mov eax, dword [esp + 0x8c]
push 4
lea ecx, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x10], 0x401
call dword [sym.imp.MSVCRT.dll_strncpy]
mov ecx, dword [esi + 0x48]
add esp, 0xc
lea edx, [esi + 0x4c]
lea eax, [esp + 4]
push 0x10
push edx
push 0
push 9
push eax
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
pop esi
add esp, 0x84
ret 4
Function at 0x40c5b0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40e1a8
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x40c64f
push edi
push edi
push 0x10
push eax
mov dword [esi + 0x44], edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x30]
lea eax, [esp + 0xc]
push edi
push eax
add ecx, 0xc0
push 0x10
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 8]
mov dword [esi + 0x30], edi
call fcn.0040d18a
mov ecx, dword [esi + 0x18]
lea edx, [esp + 8]
inc ecx
mov dword [esp + 0x18], edi
push ecx
push 0x804b
push edx
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x14]
push eax
call fcn.00402f90
add esp, 0x10
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

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

Disassembly:
sub esp, 0x84
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40c890
mov eax, dword [esi + 0x70]
test eax, eax
jne 0x40c890
mov eax, dword [esp + 0x8c]
push 1
lea ecx, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x10], 0x41c
call dword [sym.imp.MSVCRT.dll_strncpy]
mov ecx, dword [esi + 0x48]
add esp, 0xc
lea edx, [esi + 0x4c]
lea eax, [esp + 4]
push 0x10
push edx
push 0
push 9
push eax
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
pop esi
add esp, 0x84
ret 4
Function at 0x40c8a0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x84
mov edx, ecx
mov eax, dword [edx + 0xc]
push ebx
push ebp
push esi
test eax, eax
push edi
je 0x40c976
mov eax, dword [edx + 0x70]
test eax, eax
jne 0x40c908
mov ebx, dword [esp + 0x98]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebp, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, ebp
mov dword [esp + 0x10], 9
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x10
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [edx + 0x4c]
mov edi, ebx
push ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push 0
add ecx, 4
jmp 0x40c966
mov eax, dword [edx + 0x74]
mov ecx, dword [edx + 0x78]
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebp, [esp + 0x20]
mov eax, ecx
mov esi, edi
mov edi, ebp
mov dword [esp + 0x10], 0x22
shr ecx, 2
mov dword [esp + 0x1c], 9
push 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [edx + 0x4c]
mov edi, ebx
push ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push 0
add ecx, 0x10
push ecx
mov ecx, dword [edx + 0x48]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 4

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

Disassembly:
sub esp, 0x84
mov edx, ecx
mov eax, dword [edx + 0xc]
push ebx
push ebp
push esi
test eax, eax
push edi
je 0x40ca6d
mov eax, dword [edx + 0x70]
mov dword [edx + 0x20], 1
test eax, eax
jne 0x40c9ff
mov ebx, dword [esp + 0x98]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebp, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, ebp
mov dword [esp + 0x10], 0xa
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x10
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [edx + 0x4c]
mov edi, ebx
push ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push 0
add ecx, 4
jmp 0x40ca5d
mov eax, dword [edx + 0x74]
mov ecx, dword [edx + 0x78]
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebp, [esp + 0x20]
mov eax, ecx
mov esi, edi
mov edi, ebp
mov dword [esp + 0x10], 0x22
shr ecx, 2
mov dword [esp + 0x1c], 0xa
push 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [edx + 0x4c]
mov edi, ebx
push ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push 0
add ecx, 0x10
push ecx
mov ecx, dword [edx + 0x48]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 4
Function at 0x98a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0098a1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x98a07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x98a06a
add dl, dl
jne 0x98a089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x98a0dc
xor eax, eax
add dl, dl
jne 0x98a096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x98a17d
add dl, dl
jne 0x98a0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x98a0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x98a0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x98a0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x98a0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x98a075
mov eax, 1
add dl, dl
jne 0x98a0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x98a0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x98a0e1
sub eax, ebx
mov ebx, 1
jne 0x98a128
mov ecx, 1
add dl, dl
jne 0x98a10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x98a119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x98a105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x98a075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x98a13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x98a14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x98a136
cmp eax, 0x7d00
jae 0x98a16d
cmp eax, 0x500
jb 0x98a168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x98a075
cmp eax, 0x7f
ja 0x98a170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x98a075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x98a19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x98a075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x44a61e
Capabilities:
Encode data using xor

Disassembly:
cdq
or edx, dword [ebx - 2]
and ecx, dword [ebx]
sbb eax, 0x46352f7c
invalid
mov al, 0xb
mov byte [0x11b36b33], al
pop ss
mov dl, 0xbb
mov edi, 0x50268bcd
pop ecx
dec edx
mov word [0x47913eaf], ax
scasd eax, dword es:[edi]
xchg ecx, eax
inc edi
jne 0x44a676
xchg ebx, eax
inc ebp
xchg edx, eax
imul esp, dword [0x952ff36e], 0xe3b336e0
xchg edi, eax
xchg ecx, eax
out 0x1b, al
adc al, byte [esi + 0x536e2503]
imul esp, dword [ebx], 0x19bf7732
ja 0x44a5fd
add esp, dword [0x2369536e]
xor dh, byte [edi - 0x41]
sbb dword [edi - 0x5b], esi
je 0x44a64c
loop 0x44a632
dec ebp
push edx
mov dl, 0x62
invalid
ret 0x76f0

Function at 0x44a810
Capabilities:
Accept command line arguments
Read .ini file

Disassembly:
sub esp, 0x520
push ebx
push ebp
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x1c]
push str.E6442437_6C68_4f52_94DD_2CFED267EFB9
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 8
push ecx
mov dword [esp + 0x18], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea edx, [esp + 0x328]
push 0x104
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, eax
lea eax, [esp + 0x328]
push eax
call ebx
push str.system.ini
lea ecx, [esp + 0x124]
mov esi, eax
push 0x104
push ecx
push esi
push str.shell
push str.boot
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x120]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveArgsW]
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea ecx, [esp + 0x120]
mov edi, eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveBlanksW]
lea edx, [esp + 0x120]
push edx
call ebx
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test edi, edi
mov ebp, eax
je 0x44a914
mov eax, dword [0x651d64]
push 0x651a98
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push ebp
push esi
push ebx
call dword [sym.imp.SHELL32.dll_StrCmpNIW]
test eax, eax
je 0x44a93e
push str.install.exe
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x44a93e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x520
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x520
ret
Function at 0x4ddd3d
Capabilities:
Encode data using xor

Disassembly:
mov ebp, 0x284b36d6
clc
rcr byte [esi + 0x4db90e16], 1
sbb bl, dl
movsd dword es:[edi], dword [esi]
inc esp
xchg esp, eax
inc ecx
adc dword [esi + 0x5bb46357], ebx
mov ah, 0x5b
pop ebp
sbb byte [ecx - 0x2e], al
cmpsb byte [esi], byte es:[edi]
xor byte [edi], al
das
adc eax, 0xbe0fadb8
mov edi, 0xd3f5b04b
mov al, 0xf5
rcr dword [edi - 0x29], cl
mov al, 0xf5
rcr dword [edi - 0x29], cl
and ch, byte [eax - 0x6b]
les ecx, [ebx - 0x35]
pop esi
pop ss
sar byte [eax], cl
pop esp
fdivr dword [ebx - 0x7b]
adc dword [ebp - 0x7e], 0xffffffcb
mov bl, 0xab
xlatb
popfd
and dword [ebp + 0x6839b66a], 0xbcf7dc09
jge 0x4ddd15
aam 0x8a
pop ds
loope 0x4ddd2c
invalid

Function at 0x5701b4
Capabilities:
Encode data using xor

Disassembly:
pushal
invalid
push es
and eax, 0xbde7337b
adc dword [esi], 0x7387941c
xlatb
cmp esp, 0x18
jle 0x1bea79bc
wait
fimul word [ebp - 0x68af4809]
add al, 0x68
inc eax
sbb dword [edx - 0x3b], 0x2b
arpl word [eax + 0x14], sp
pop eax
push edi
outsb dx, byte [esi]
xor esi, dword [ebx]
jb 0x5701b5
cwde
mov ebp, 0x75f7b413
and esi, ebx
pop ecx
enter 0x7920, 7
movsd dword es:[edi], dword [esi]
sti
insd dword es:[edi], dx
pushal
xor al, 0x50
push edi
jle 0x570226
outsd dx, dword [esi]
adc byte [ecx], 0x7a
jns 0x57019f
sub eax, 0x9688f783
mov al, byte [0x610ede94]
sub eax, 0x33c7d6c6
sal byte [ecx], cl
pop esp
cld
invalid
mov dword [0xf287b644], eax
invalid

Function at 0x5c2567
Capabilities:
Encode data using xor

Disassembly:
sub eax, 0xabf85096
clc
or esp, dword [0x70af0634]
mov ebp, 0xcc09dc4e
imul esi, dword [ecx + ebp*2 - 0x54], 0xddb89959
imul ebp, dword [edi + 0x7a], 0xda5c99b8
adc esp, edi
cmp ecx, ebp
and ecx, ebx
sub eax, edi
xor dword [ebp - 0x17], ebx
jp 0x5c2580
sbb esp, ebx
dec esp
lahf
ljmp 0x868c

Function at 0x603424
Capabilities:
Encode data using xor

Disassembly:
dec ecx
fsub st(6), st(0)
aam 0x50
fsubr dword [edi + 0xfbe1147]
sub dword [esp + ebp*4], ecx
or al, 0x85
add byte [ebx + edi + 0x7a7c6398], 0xd0
mov al, 0x62
mov eax, 0xd220a89d
sal dword [edi], cl
dec edx
cmp byte [ecx + 0x26], cl
mul dh
xor bl, al
stc
loop 0x603450
pushfd
xor bh, byte [edi + 0x67]
push ecx
imul ebp, dword [eax - 0x2a1c5124], 0xffffff98
stosb byte es:[edi], al
shr byte [ebx], 1
inc esi
mov dword [0xbd722e65], eax
jb 0x6033e5
jb 0x6033e5
jno 0x603478
inc ebp
add ah, byte [esi + 0x220549e0]
scasd eax, dword es:[edi]
mov dh, 0xa3
add eax, 0xa3b6af22
sbb eax, 0xce8d10c0
adc edi, dword [edi]
mov ebx, dword [ecx + 0x68]
pop esp
dec esi
inc eax
cmp byte [eax + eax], ah
popfd
mov esi, dword [ebx + 0x4e]
xor byte [ebp + 0x4e8a5208], 0x16
in al, 0xe8
in eax, dx
sbb bh, cl
xor bl, byte [0x4729db2d]
call 0x332f4d42
sbb eax, 0x4729db2d
nop
test byte [esi + 3], bh
jne 0x60342f
pop edi
cmp bh, dh
mul esi
cdq
retf
invalid
Function at 0x64ed1d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64f370
push 0x64eca0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0xa51f8c], 0xffffffff
or dword [0xa51f90], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0xa51f88]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0xa51f84]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0xa51f94], eax
call fcn.0064ee2f
add byte [eax], al
cmp dword [0x651280], ebx
jne 0x64ed33
push 0x64ee2c
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.0064ee1a
push 0x65100c
push 0x651008
call sub.MSVCRT.dll__initterm
mov eax, dword [0xa51f80]
mov dword [ebp - 0x6c], eax
xchg esp, eax
lea eax, [ebp - 0x6c]
push eax
push dword [0xa51f7c]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x651004
push section..data
call sub.MSVCRT.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.MSVCRT.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x64edc6
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
cmp al, bl
je 0x64ed9a
cmp al, 0x22
jne 0x64ed8c
cmp byte [esi], 0x22
jne 0x64eda3
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
cmp al, bl
je 0x64edad
cmp al, 0x20
jbe 0x64ed9f
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x64edd1
movzx eax, word [ebp - 0x2c]
jmp 0x64edd4
cmp byte [esi], 0x20
jbe 0x64eda3
inc esi
mov dword [ebp - 0x74], esi
jmp 0x64edc6
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x78], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret