joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Encode data using base64

Disassembly:
push ecx
push ebp
test ecx, ecx
je 0x40111d
mov ebp, dword [esp + 0xc]
test ebp, ebp
jl 0x40111d
test eax, eax
je 0x401105
test ebp, ebp
jle 0x401102
push ebx
push esi
push edi
lea esp, [esp]
cmp ebp, 3
jl 0x40109d
mov dl, byte [ecx]
movzx ebx, byte [ecx + 1]
movzx esi, dl
inc ecx
mov edx, esi
shr edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 1]
movzx edi, byte [esp + 0x13]
mov byte [eax], dl
inc ecx
mov edx, edi
shr edx, 4
shl esi, 4
or edx, esi
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], dl
inc eax
movzx esi, bl
mov edx, esi
shr edx, 6
add edi, edi
add edi, edi
or edx, edi
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc eax
mov byte [eax], dl
inc eax
inc ecx
and esi, 0x3f
movzx edx, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
jmp 0x4010ef
mov bl, byte [ecx]
inc ecx
cmp ebp, 2
jne 0x4010aa
mov dl, byte [ecx]
inc ecx
jmp 0x4010ac
xor dl, dl
movzx esi, bl
mov edi, esi
shr edi, 2
mov bl, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx edi, dl
mov edx, edi
shr edx, 4
shl esi, 4
or edx, esi
mov byte [eax], bl
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc eax
mov byte [eax], dl
inc eax
cmp ebp, 1
jne 0x4010df
mov dl, 0x3d
jmp 0x4010e9
and edi, 0xf
mov dl, byte [edi*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
inc eax
mov byte [eax], 0x3d
sub ebp, 3
inc eax
test ebp, ebp
jg 0x401030
mov ebp, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov byte [eax], 0
lea ecx, [ebp + 2]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, eax
add eax, eax
pop ebp
pop ecx
ret
or eax, 0xffffffff
pop ebp
pop ecx
ret

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

Disassembly:
sub esp, 0x1c
mov eax, dword [0x41f74c]
xor eax, esp
mov dword [esp + 0x14], eax
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x421544], eax
cmp eax, 0xffffffff
je 0x4021ea
mov eax, 2
push 0x50
mov word [esp + 8], ax
call dword [sym.imp.WS2_32.dll_htons]
push str.www.95ini.com
mov word [esp + 0xa], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x4021c1
push str.www.95ini.com
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4021ea
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov edx, dword [0x421544]
push 0x10
lea ecx, [esp + 8]
push ecx
push edx
mov dword [esp + 0x14], eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4021ea
mov eax, dword [0x421544]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004053b4
add esp, 0x1c
ret
Function at 0x402200
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x419ba8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x41f74c]
xor eax, esp
mov dword [esp + 0x5c], eax
push edi
mov eax, dword [0x41f74c]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
lea eax, [esp + 8]
push eax
mov dword [esp + 0x74], 0
call fcn.00403260
push 0
push 0x41c775
mov ecx, esi
call fcn.004019e0
push 5
push str.POST
mov ecx, esi
call fcn.004019e0
push 0xb
push str._allmac.php
mov eax, esi
call fcn.00401c30
push 0xb
push str._HTTP_1.1_r_n
mov eax, esi
call fcn.00401c30
push 6
push str.Host:
mov eax, esi
call fcn.00401c30
push 0xd
push str.www.95ini.com
mov eax, esi
call fcn.00401c30
push 3
push 0x41c7bc
mov eax, esi
call fcn.00401c30
push 2
push 0x41c7c0
mov eax, esi
call fcn.00401c30
push 0x18
push str.Connection:_keep_alive_r_n
mov eax, esi
call fcn.00401c30
push 0x10
push str.Content_Length:
mov eax, esi
call fcn.00401c30
push 0x40
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.00406530
mov edx, dword [esp + 0x28]
add esp, 0xc
push edx
lea eax, [esp + 0x28]
push 0x41c7f4
push eax
call fcn.004055af
lea eax, [esp + 0x30]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402311
sub eax, ecx
push eax
lea ecx, [esp + 0x28]
push ecx
mov eax, esi
call fcn.00401c30
push 2
push 0x41c7c0
mov eax, esi
call fcn.00401c30
push 0x12
push str.Pragma:_no_cache_r_n
mov eax, esi
call fcn.00401c30
push 0x19
push str.Cache_Control:_no_cache_r_n
mov eax, esi
call fcn.00401c30
push 0xd
push str.Accept:___r_n
mov eax, esi
call fcn.00401c30
push 0x18
push str.Accept_Language:_zh_cn_r_n
mov eax, esi
call fcn.00401c30
push 0x31
push str.Content_Type:_application_x_www_form_urlencoded_r_n
mov eax, esi
call fcn.00401c30
push 0xe
push str.Origin:_null_r_n
mov eax, esi
call fcn.00401c30
push 0x84
push str.User_Agent:_Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_5.1__Trident_4.0__QQDownload_718__.NET_CLR_2.0.50727__SE_2.X_MetaSr_1.0__r_n
mov eax, esi
call fcn.00401c30
push 0x22
push str.Accept_Encoding:_gzip__deflate_r_n_r_n
mov eax, esi
call fcn.00401c30
cmp dword [esp + 0x20], 0x10
mov edx, dword [esp + 0xc]
jae 0x4023b7
lea edx, [esp + 0xc]
mov eax, edx
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4023c0
sub eax, edi
push eax
push edx
mov eax, esi
call fcn.00401c30
cmp dword [esp + 0x20], 0x10
jb 0x4023e6
mov edx, dword [esp + 0xc]
push edx
call fcn.00405855
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004053b4
add esp, 0x6c
ret
Function at 0x402ac0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x419a7b
mov eax, dword fs:[0]
push eax
sub esp, 0x330
mov eax, dword [0x41f74c]
xor eax, esp
mov dword [esp + 0x32c], eax
push ebx
push esi
mov eax, dword [0x41f74c]
xor eax, esp
push eax
lea eax, [esp + 0x33c]
mov dword fs:[0], eax
mov ebx, 0xff
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x23c]
push ecx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov dword [esp + 0x18], 6
mov dword [esp + 0x14], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x402c3c
lea edx, [esp + 0x238]
push edx
call sub.WS2_32.dll_gethostbyname
mov esi, eax
test esi, esi
je 0x402c3c
push ebx
lea eax, [esp + 0x3d]
push 0
push eax
mov byte [esp + 0x44], 0
call fcn.00406530
push ebx
lea ecx, [esp + 0x149]
push 0
push ecx
mov byte [esp + 0x150], 0
call fcn.00406530
mov ecx, dword [esi + 0xc]
add esp, 0x18
lea edx, [esp + 0x10]
push edx
mov edx, dword [ecx]
lea eax, [esp + 0x34]
push eax
mov eax, dword [edx]
push 0
push eax
call sub.IPHLPAPI.DLL_SendARP
test eax, eax
jne 0x402c3c
movzx ecx, byte [esp + 0x35]
movzx edx, byte [esp + 0x34]
movzx eax, byte [esp + 0x33]
push ecx
movzx ecx, byte [esp + 0x36]
push edx
movzx edx, byte [esp + 0x39]
push eax
movzx eax, byte [esp + 0x3c]
push ecx
push edx
push eax
lea ecx, [esp + 0x50]
push str._02X__02X__02X__02X__02X__02X
push ecx
call fcn.004055af
lea eax, [esp + 0x58]
add esp, 0x20
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402be3
sub eax, edx
push eax
lea eax, [esp + 0x13c]
lea ecx, [esp + 0x3c]
call section..text
add esp, 4
lea edx, [esp + 0x138]
push edx
lea ecx, [esp + 0x18]
call fcn.004017c0
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
mov dword [esp + 0x350], 0
call fcn.00401860
cmp dword [esp + 0x2c], 0x10
jb 0x402c3c
mov eax, dword [esp + 0x18]
push eax
call fcn.00405855
add esp, 4
mov ecx, dword [esp + 0x33c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x32c]
xor ecx, esp
call fcn.004053b4
add esp, 0x33c
ret
Function at 0x402f60
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
mov eax, dword [0x41f74c]
xor eax, esp
mov dword [esp + 0x12c], eax
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 8]
push eax
mov edi, 0x128
push esi
mov dword [esp + 0x10], edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40300b
lea ecx, [esp + 8]
push ecx
push esi
mov dword [esp + 0x10], edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x403004
mov ecx, str.DesktopNav.exe
lea eax, [esp + 0x2c]
jmp 0x402fc0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402fe0
test dl, dl
je 0x402fdc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402fe0
add eax, 2
add ecx, 2
test dl, dl
jne 0x402fc0
xor eax, eax
jmp 0x402fe5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x402ffe
lea edx, [esp + 8]
push edx
push esi
mov dword [esp + 0x10], edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x402fb2
jmp 0x403004
mov eax, dword [esp + 0x10]
mov dword [ebx], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x134]
pop edi
pop esi
xor ecx, esp
call fcn.004053b4
mov esp, ebp
pop ebp
ret
Function at 0x403020
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x419b11
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x41f74c]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
mov eax, dword [0x41f74c]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x270]
lea ebx, [esp + 0x10]
mov dword [esp + 0x10], 0
call fcn.00402f60
mov eax, dword [esp + 0x10]
push eax
xor ebx, ebx
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x403229
push 0x103
lea ecx, [esp + 0x51]
push ebx
push ecx
mov byte [esp + 0x58], bl
call fcn.00406530
add esp, 0xc
push 0x105
lea edx, [esp + 0x50]
push edx
push ebx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExA
lea eax, [esp + 0x4c]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4030d0
sub eax, edx
push eax
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
call fcn.004019e0
push 0xe
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x270], ebx
call fcn.004034b0
cmp eax, dword [esp + 0x44]
jb 0x403116
cmp dword [esp + 0x48], 0x10
jb 0x403229
mov edx, dword [esp + 0x34]
push edx
jmp 0x403221
mov ecx, eax
lea esi, [esp + 0x14]
lea edx, [esp + 0x30]
call fcn.00403480
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x274], 1
call fcn.00401860
mov esi, 0x10
mov byte [esp + 0x268], bl
cmp dword [esp + 0x2c], esi
jb 0x403159
mov eax, dword [esp + 0x18]
push eax
call fcn.00405855
add esp, 4
push 0xa
push str.Update.ini
lea eax, [esp + 0x38]
call fcn.00401c30
push 0x103
lea ecx, [esp + 0x159]
push ebx
push ecx
mov byte [esp + 0x160], bl
call fcn.00406530
mov eax, dword [esp + 0x40]
add esp, 0xc
cmp dword [esp + 0x48], esi
jae 0x403194
lea eax, [esp + 0x34]
push eax
push 0x104
lea edx, [esp + 0x15c]
push edx
push 0x41cbcc
push 0x41cbd0
push str.client
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x154]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4031d1
sub eax, edx
push eax
lea eax, [esp + 0x158]
push eax
lea ecx, [esp + 0x1c]
call fcn.004019e0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
mov byte [esp + 0x274], 2
call fcn.00401860
cmp dword [esp + 0x2c], esi
jb 0x403216
mov edx, dword [esp + 0x18]
push edx
call fcn.00405855
add esp, 4
cmp dword [esp + 0x48], esi
jb 0x403229
mov eax, dword [esp + 0x34]
push eax
call fcn.00405855
add esp, 4
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.004053b4
add esp, 0x25c
ret 4

Function at 0x4053b4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41f74c]
jne 0x4053be
repz ret
jmp fcn.0040a005
Function at 0x414ee9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040b40a
and dword [ebp - 4], 0
cmp dword [0x42139c], 0
mov ebx, eax
jne 0x414f9a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41504b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41c5f8
push edi
call esi
test eax, eax
je 0x41504b
push eax
call fcn.0040b398
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42139c], eax
call esi
push eax
call fcn.0040b398
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4213a0], eax
call esi
push eax
call fcn.0040b398
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4213a4], eax
call esi
push eax
call fcn.0040b398
pop ecx
mov dword [0x4213ac], eax
test eax, eax
je 0x414f9a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040b398
pop ecx
mov dword [0x4213a8], eax
mov eax, dword [0x4213a8]
cmp eax, ebx
je 0x414ff2
cmp dword [0x4213ac], ebx
je 0x414ff2
push eax
call fcn.0040b413
push dword [0x4213ac]
mov esi, eax
call fcn.0040b413
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x414ff2
test edi, edi
je 0x414ff2
call esi
test eax, eax
je 0x414fe9
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x414fe9
test byte [ebp - 0xc], 1
jne 0x414ff2
or dword [ebp + 0x10], 0x200000
jmp 0x41502b
mov eax, dword [0x4213a0]
cmp eax, ebx
je 0x41502b
push eax
call fcn.0040b413
pop ecx
test eax, eax
je 0x41502b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41502b
mov eax, dword [0x4213a4]
cmp eax, ebx
je 0x41502b
push eax
call fcn.0040b413
pop ecx
test eax, eax
je 0x41502b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42139c]
call fcn.0040b413
pop ecx
test eax, eax
je 0x41504b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41504d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401607
Capabilities:
Set current directory

Disassembly:
ret

Function at 0x402a36
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x423f50]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
invalid

Function at 0x402f18
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
jl 0x402f45
mov ecx, dword [0x423ef8]
push edi
add eax, ecx
push edi
push eax
mov dword [0x417044], eax
push dword [0x409018]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
pop esi
push esi
call fcn.00403043
cmp eax, edi
jl 0x40303c
lea eax, [ebp - 4]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
push eax
lea eax, [ebp + 8]
push esi
push eax
push dword [0x409018]
call ebx
test eax, eax
invalid
invalid

Function at 0x402f72
Capabilities:
Read file on windows
Write file on windows

Disassembly:
ret

Function at 0x403043
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [0x417044]
sub esi, dword [0x40afb0]
push edi
add esi, dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
add eax, 0x1f4
cmp esi, ebx
mov dword [0x423eac], eax
jle 0x4031ad
push dword [0x41f054]
call fcn.004031f1
push ebx
push ebx
push dword [0x40afb0]
push dword [0x409018]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x41f050], esi
mov dword [0x417040], ebx
mov ebp, 0x40b040
mov eax, dword [0x417048]
mov edi, 0x4000
sub eax, dword [0x41f054]
cmp eax, edi
jg 0x4030b8
mov edi, eax
mov esi, 0x413040
push edi
push esi
call fcn.004031bf
test eax, eax
je 0x40319f
add dword [0x41f054], edi
mov dword [0x40afd0], esi
mov dword [0x40afd4], edi
cmp dword [0x423eb0], ebx
je 0x40310f
cmp dword [0x423f40], ebx
jne 0x40310f
mov eax, dword [0x41f050]
push ebx
sub eax, dword [0x417044]
sub eax, dword [esp + 0x1c]
add eax, dword [0x40afb0]
mov dword [0x417040], eax
call fcn.00402bd3
pop ecx
mov ecx, 0x40afb8
mov dword [0x40afd8], ebp
mov dword [0x40afdc], 0x8000
call fcn.00405f82
test eax, eax
jl 0x4031a8
mov esi, dword [0x40afd8]
sub esi, ebp
je 0x403169
lea eax, [esp + 0x10]
push ebx
push eax
push esi
push ebp
push dword [0x409018]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4031a4
cmp esi, dword [esp + 0x10]
jne 0x4031a4
add dword [0x40afb0], esi
cmp dword [0x40afd4], ebx
jne 0x4030de
jmp 0x403175
cmp dword [0x40afd4], ebx
jne 0x4031a8
cmp edi, ebx
je 0x4031a8
mov eax, dword [0x417044]
mov ecx, eax
sub ecx, dword [0x40afb0]
add ecx, dword [esp + 0x18]
test ecx, ecx
jg 0x4030a2
push ebx
push ebx
push eax
push dword [0x409018]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4031ad
or eax, 0xffffffff
jmp 0x4031b7
push 0xfffffffffffffffe
jmp 0x4031aa
push 0xfffffffffffffffd
pop eax
jmp 0x4031b7
push 1
call fcn.00402bd3
pop ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x4052c2
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
ret

Function at 0x4053c6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x4224a8], 0x44
push eax
xor eax, eax
push 0x4224a8
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x405401
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4
Function at 0x405a4d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov byte [esi], bl
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405abe
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x400
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405aad
cmp dword [ebp + 0x14], 1
je 0x405aaf
cmp dword [ebp + 0x14], 2
je 0x405aaf
mov byte [esi], bl
push dword [ebp + 0x18]
mov byte [esi + 0x3ff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret 0x14

Function at 0x405b88
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
test eax, eax
jge 0x405ba6
mov ecx, dword [0x42367c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [ecx]
mov ecx, dword [0x423ed8]
mov edx, dword [ebp + 8]
add ecx, eax
mov eax, 0x422e40
push ebx
sub edx, eax
push esi
push edi
cmp edx, 0x800
mov edi, eax
jae 0x405da5
mov edi, dword [ebp + 8]
and dword [ebp + 8], 0
jmp 0x405da5
mov esi, edi
sub esi, eax
cmp esi, 0x400
jge 0x405daf
inc ecx
cmp dl, 0xfc
mov dword [ebp + 0xc], ecx
jbe 0x405d98
movsx eax, byte [ecx + 1]
movsx ecx, byte [ecx]
mov esi, eax
mov ebx, ecx
and esi, 0x7f
and ebx, 0x7f
shl esi, 7
or esi, ebx
mov ebx, ecx
add dword [ebp + 0xc], 2
or bh, 0x80
mov dword [ebp - 0x18], ebx
mov ebx, ecx
mov ecx, eax
mov dword [ebp - 0x14], ebx
or ch, 0x80
cmp dl, 0xfe
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
jne 0x405d42
push 2
pop esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x405c52
cmp ax, 0x5a04
je 0x405c52
cmp dword [ebp - 0xc], 0x23
je 0x405c52
cmp dword [ebp - 0xc], 0x2e
je 0x405c52
and dword [ebp - 4], 0
jmp 0x405c59
mov dword [ebp - 4], 1
cmp dword [0x423f24], 0
je 0x405c65
push 4
pop esi
test bl, bl
jns 0x405ca0
invalid

Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x531f4198
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x4af64bfe
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x40545f
Capabilities:
Encode data using base64

Disassembly:
push 0x18
mov eax, 0x442c75
call fcn.0042bc8d
mov edi, ecx
mov dword [ebp - 0x1c], edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
mov eax, dword [ebp + 8]
mov edi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], 1
test eax, eax
je 0x4055ee
push 3
pop esi
jmp 0x4054a0
mov edx, dword [ebp - 0x24]
dec eax
mov dword [ebp + 8], eax
mov al, byte [edx]
mov byte [ebp + edi - 0x14], al
inc edi
mov ch, byte [ebp - 0x12]
inc edx
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x24], edx
mov dl, byte [ebp - 0x13]
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp edi, esi
jne 0x405535
mov esi, dword [ebp - 0x1c]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov edi, ebx
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
cmp dword [0x45b790], 0x10
mov ecx, 0x45b77c
movzx eax, byte [ebp + edi - 0x18]
cmovae ecx, dword [0x45b77c]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
push 1
call fcn.004057d2
inc edi
cmp edi, 4
jl 0x4054fb
mov dl, byte [ebp - 0xd]
mov edi, ebx
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
push 3
pop esi
mov eax, dword [ebp + 8]
test eax, eax
jne 0x40549d
mov dword [ebp + 8], edi
test edi, edi
je 0x4055ee
mov eax, edi
cmp edi, esi
jge 0x40556b
cmp eax, esi
jae 0x4055f7
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, esi
jl 0x405553
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [edi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x24], eax
test eax, eax
jle 0x4055d9
mov esi, dword [ebp - 0x1c]
mov edi, eax
cmp dword [0x45b790], 0x10
mov ecx, 0x45b77c
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [0x45b77c]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
push 1
call fcn.004057d2
inc ebx
cmp ebx, edi
jl 0x4055a8
mov edi, dword [ebp + 8]
push 3
pop esi
cmp edi, esi
jge 0x4055ee
sub esi, edi
mov ecx, dword [ebp - 0x1c]
push 0x3d
push 1
call fcn.004057d2
dec esi
jne 0x4055df
mov eax, dword [ebp - 0x1c]
call fcn.0042bc5b
ret
call fcn.0042818e
int3