joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6c12c120
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [0x6c1451f8]
mov esi, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x6c12c158
mov ebx, eax
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], esi
mov dword [ebx], esi
add esp, 0x14
pop ebx
pop esi
ret
mov dword [esp], 0x1004
call dword [sym.imp.ucrtbase.dll_malloc]
mov ebx, eax
mov eax, dword [0x6c1451f8]
test ebx, ebx
je 0x6c12c1bb
mov dword [ebx], 0
mov byte [ebx + 4], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x6c12c1b0
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], esi
add esp, 0x14
pop ebx
pop esi
ret
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], esi
jmp 0x6c12c149
xor edx, edx
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.kernel32.dll_TlsSetValue]
push ecx
push ecx
test eax, eax
je 0x6c12c18e
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], esi
jmp 0x6c12c14b
Function at 0x6c12dcd0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x1c
mov eax, dword [0x6c1451f8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x6c12dd00
mov eax, dword [eax]
mov edx, dword fs:[0x18]
mov dword [edx + 0x34], eax
add esp, 0x1c
ret
xor eax, eax
add esp, 0x1c
ret

Function at 0x6c12e3b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [0x6c1451f8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x6c12e410
test byte [0x6c1451fc], 8
jne 0x6c12e3e0
add esp, 0x14
lea eax, [ebx + 4]
pop ebx
pop esi
ret
mov dword [esp + 0xc], 0x6c14b9d3
mov dword [esp + 8], str.INTERNET_GetResponseBuffer
mov dword [esp + 4], 0x6c1451fc
mov dword [esp], 3
call fcn.6c123f10
lea eax, [ebx + 4]
add esp, 0x14
pop ebx
pop esi
ret
mov dword [esp], 0x1004
call dword [sym.imp.ucrtbase.dll_malloc]
mov esi, eax
test eax, eax
je 0x6c12e42d
mov dword [eax], 0
mov byte [eax + 4], 0
mov eax, dword [0x6c1451f8]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
sub esp, 8
test eax, eax
je 0x6c12e450
mov ebx, esi
jmp 0x6c12e3cc
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x6c12e3cc

Function at 0x6c12e670
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
lock sub dword [eax], 1
jne 0x6c12e680
jmp fcn.6c123d60
ret
Function at 0x6c1306f0
Capabilities:
Connect socket
Get socket status
Set socket configuration

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x14c
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x6c130660
mov dword [esp], 0x6c15301c
call dword [sym.imp.kernel32.dll_InitOnceExecuteOnce]
mov ecx, dword [ebx + 0x90]
sub esp, 0x10
test ecx, ecx
je 0x6c130848
mov dword [esp + 8], 0
mov dword [esp + 4], 1
movsx eax, word [ebx + 0x10]
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_socket]
sub esp, 0xc
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x6c130894
mov edx, dword [esi + 8]
test edx, edx
jne 0x6c1307e0
mov edx, dword [ebx + 0x90]
add ebx, 0x10
mov dword [esi + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 8], edx
call dword [sym.imp.ws2_32.dll_connect]
sub esp, 0xc
lea ebp, [esp + 0x3c]
cmp eax, 0xffffffff
je 0x6c130870
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 1
mov dword [esp + 4], 6
mov eax, dword [esi]
mov dword [esp + 0x3c], 1
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_setsockopt]
sub esp, 0x14
test eax, eax
js 0x6c130810
xor eax, eax
add esp, 0x14c
pop ebx
pop esi
pop edi
pop ebp
ret
lea ebp, [esp + 0x3c]
mov dword [esp + 0x3c], 1
mov dword [esp + 8], ebp
mov dword [esp + 4], 0x8004667e
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_ioctlsocket]
mov eax, dword [esi]
sub esp, 0xc
jmp 0x6c130768
test byte [0x6c145258], 4
je 0x6c1307cf
mov dword [esp + 0xc], str.setsockopt_TCP_NODELAY__failed_n
mov dword [esp + 8], str.create_netconn_socket
mov dword [esp + 4], 0x6c145258
mov dword [esp], 2
call fcn.6c130610
xor eax, eax
jmp 0x6c1307d1
mov dword [esp + 8], 0x12b
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_dlls_wininet_netconnection.c
mov dword [esp], str.server__addr_len
call dword [sym.imp.ucrtbase.dll__assert]
jmp 0x6c130736
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
sub eax, 0x2733
cmp eax, 1
jbe 0x6c1308a8
mov eax, dword [esi]
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_closesocket]
mov dword [esi], 0xffffffff
sub esp, 4
add esp, 0x14c
mov eax, 0x2efd
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi]
lea edx, [esp + 0x34]
imul edi, edi, 0x3e8
mov dword [esp + 0x30], 4
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 1
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], eax
add eax, 1
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebp
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_select]
sub esp, 0x14
mov dword [esp + 0x2c], eax
add eax, 1
cmp eax, 1
jbe 0x6c130880
lea eax, [esp + 0x30]
mov dword [esp + 8], 0x1007
mov dword [esp + 0x10], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0xffff
mov eax, dword [esi]
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_getsockopt]
sub esp, 0x14
or eax, dword [esp + 0x2c]
je 0x6c130799
jmp 0x6c130880
Function at 0x6c130bb0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
jmp 0x6c130bd5
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x6c130bf8
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebp
mov dword [esp + 0xc], eax
call dword [sym.imp.ws2_32.dll_send]
sub esp, 0x10
mov ebx, eax
cmp eax, 0xffffffff
je 0x6c130bc8
add esp, 0x1c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x6c130c10
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
jmp 0x6c130c35
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x6c130c58
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebp
mov dword [esp + 0xc], eax
call dword [sym.imp.ws2_32.dll_recv]
sub esp, 0x10
mov ebx, eax
cmp eax, 0xffffffff
je 0x6c130c28
add esp, 0x1c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x6c1317e0
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [esp + 0x40]
lea ebx, [esp + 0x1c]
mov eax, dword [esi + 8]
test eax, eax
je 0x6c131818
mov eax, dword [esi]
mov dword [esp + 0x1c], 1
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x8004667e
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_ioctlsocket]
sub esp, 0xc
mov edi, dword [esi]
mov dword [esi + 8], 0
mov ebp, dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, dword [sym.imp.ws2_32.dll_recv]
jmp 0x6c131839
call ebp
cmp eax, 0x2714
jne 0x6c131870
mov dword [esp + 0xc], 2
mov dword [esp + 8], 1
mov dword [esp + 4], ebx
mov dword [esp], edi
call esi
sub esp, 0x10
cmp eax, 0xffffffff
je 0x6c131830
cmp eax, 1
sete al
add esp, 0x2c
pop ebx
movzx eax, al
pop esi
pop edi
pop ebp
ret
call ebp
cmp eax, 0x2733
sete al
add esp, 0x2c
pop ebx
movzx eax, al
pop esi
pop edi
pop ebp
ret
Function at 0x6c1331c0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x2c
mov eax, 0x1005
cmp dword [esp + 0x34], 1
lea edx, [esp + 0x38]
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0xffff
adc eax, 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_setsockopt]
mov edx, eax
sub esp, 0x14
xor eax, eax
cmp edx, 0xffffffff
je 0x6c133210
add esp, 0x2c
ret
test byte [0x6c145258], 4
jne 0x6c133228
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
add esp, 0x2c
ret
mov dword [esp + 0xc], str.setsockopt_failed_n
mov dword [esp + 8], str.NETCON_set_timeout
mov dword [esp + 4], 0x6c145258
mov dword [esp], 2
call fcn.6c130610
jmp 0x6c133219

Function at 0x6c133250
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push edi
mov ecx, eax
push esi
push ebx
sub esp, 0x10
movsx esi, byte [eax]
lea edi, [esp + 0xc]
lea ebx, [esp + 0x10]
mov eax, edi
sub esi, edi
lea edx, [esi + eax]
add eax, 1
movzx edx, dl
movzx edx, byte [edx + 0x6c14f700]
mov byte [eax - 1], dl
cmp eax, ebx
jne 0x6c133267
lea esi, [ecx + 1]
movsx ecx, byte [ecx + 1]
test cl, cl
je 0x6c1332b3
lea esi, [esi]
mov eax, edi
movzx edx, byte [eax]
add eax, 1
xor edx, ecx
movzx edx, byte [edx + 0x6c14f700]
mov byte [eax - 1], dl
cmp eax, ebx
jne 0x6c133292
movsx ecx, byte [esi + 1]
add esi, 1
test cl, cl
jne 0x6c133290
mov eax, dword [esp + 0xc]
add esp, 0x10
pop ebx
pop esi
pop edi
ret
Function at 0x6c135230
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, eax
push edi
push esi
mov esi, edx
push ebx
mov ebx, ecx
sub esp, 0x25c
mov edx, dword [ecx + 0x3c]
movzx eax, byte [ecx + 0x38]
mov dword [esp + 0x20], 0x208
test edx, edx
jne 0x6c1352c0
cmp eax, dword [esi + 0x48]
jae 0x6c13526b
lea eax, [eax + eax*2]
lea edx, [esi + eax*4]
mov eax, dword [edx + 0x4c]
test eax, eax
je 0x6c13526b
sub eax, 1
mov dword [edx + 0x4c], eax
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x24]
test byte [ebx + 0x40], 4
je 0x6c1352a0
mov ecx, dword [esi + 0x40]
mov edi, edx
mov ebx, dword [esi + 0x44]
cmp eax, ecx
sbb edi, ebx
jae 0x6c135330
sub ecx, eax
sbb ebx, edx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], ebx
xor eax, eax
add esp, 0x25c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esi + 0x38]
mov edi, edx
mov ebx, dword [esi + 0x3c]
cmp eax, ecx
sbb edi, ebx
jae 0x6c135318
sub ecx, eax
sbb ebx, edx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], ebx
jmp 0x6c135293
lea ecx, [ecx + edx]
mov dword [esp], eax
mov eax, ebp
lea edx, [esp + 0x20]
mov dword [esp + 0xc], 0
lea edi, [esp + 0x48]
mov dword [esp + 8], edx
mov edx, esi
mov dword [esp + 4], edi
call fcn.6c133560
test eax, eax
je 0x6c13530b
lea eax, [esp + 0x24]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_GetFileAttributesExW]
sub esp, 0xc
test eax, eax
jne 0x6c135348
movzx eax, byte [ebx + 0x38]
jmp 0x6c135253
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
jmp 0x6c135293
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
jmp 0x6c135293
mov eax, dword [esp + 0x38]
or eax, dword [esp + 0x3c]
jne 0x6c1353a8
xor eax, eax
xor edx, edx
mov word [esp + 0x1e], ax
xor eax, eax
mov word [esp + 0x1c], dx
cmp word [ebx + 0x5c], ax
jne 0x6c13530b
movzx eax, word [esp + 0x1e]
cmp word [ebx + 0x5e], ax
jne 0x6c13530b
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_DeleteFileW]
sub esp, 4
test eax, eax
jne 0x6c13530b
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
cmp eax, 5
je 0x6c135295
cmp eax, 0x20
je 0x6c135295
jmp 0x6c13530b
lea eax, [esp + 0x1e]
mov dword [esp + 8], eax
lea eax, [esp + 0x1c]
mov dword [esp + 4], eax
lea eax, [esp + 0x38]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FileTimeToDosDateTime]
sub esp, 0xc
movzx eax, word [esp + 0x1c]
jmp 0x6c135362
Function at 0x6c13b940
Capabilities:
Read file on windows

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x38
mov eax, dword [ecx + 8]
mov edi, dword [ecx]
mov esi, dword [ecx + 4]
mov ebx, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x6c13b990
test byte [0x6c145288], 2
jne 0x6c13b9d8
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x57
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
mov dword [esp + 4], 8
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadReadPtr]
sub esp, 8
test eax, eax
jne 0x6c13b9c3
lea eax, [edi + 4]
mov dword [esp + 4], 0x824
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrA]
sub esp, 8
test eax, eax
je 0x6c13ba08
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 6
jmp 0x6c13b97f
mov dword [esp + 0xc], str.dwReserved___0_n
mov dword [esp + 8], str.ReadUrlCacheEntryStream
mov dword [esp + 4], 0x6c145288
mov dword [esp], 1
call fcn.6c133fb0
jmp 0x6c13b972
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov eax, dword [edi]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SetFilePointer]
sub esp, 0x10
cmp eax, 0xffffffff
je 0x6c13b97f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov eax, dword [ebx]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [edi]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReadFile]
sub esp, 0x14
jmp 0x6c13b981
Function at 0x6c13e900
Capabilities:
Resolve dns

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
test byte [0x6c145298], 8
jne 0x6c13ea40
xor eax, eax
mov ecx, 8
lea esi, [esp + 0x30]
mov edi, esi
rep stosd dword es:[edi], eax
lea edi, [esp + 0x2c]
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 0x34], 2
call sub.ws2_32.dll_GetAddrInfoW
sub esp, 0x10
test eax, eax
je 0x6c13e98e
test byte [0x6c145298], 8
jne 0x6c13eac0
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 0x34], 0x17
call sub.ws2_32.dll_GetAddrInfoW
sub esp, 0x10
test eax, eax
jne 0x6c13ea78
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x7c]
mov eax, dword [ebx + 0x10]
cmp dword [edx], eax
jae 0x6c13e9c0
test byte [0x6c145298], 4
jne 0x6c13eb10
mov dword [esp], ebx
call sub.ws2_32.dll_FreeAddrInfoW
sub esp, 4
add esp, 0x5c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 0x7c]
mov edx, dword [ebx + 0x18]
mov dword [ecx], eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ucrtbase.dll_memcpy
mov eax, dword [ebx + 4]
cmp eax, 2
je 0x6c13eb40
xor edx, edx
cmp eax, 0x17
je 0x6c13eaf8
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x6c13ea25
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xc], 0x41
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 8], ecx
call sub.ws2_32.dll_inet_ntop
sub esp, 0x10
mov ebx, dword [esp + 0x2c]
mov dword [esp], ebx
call sub.ws2_32.dll_FreeAddrInfoW
mov eax, 1
sub esp, 4
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, ebx
call fcn.6c13e360
mov dword [esp + 0xc], 0x6c14f97c
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x6c14fe90
mov dword [esp + 4], 0x6c145298
mov dword [esp], 3
call fcn.6c13e600
jmp 0x6c13e91c
test byte [0x6c145298], 8
je 0x6c13e9b5
mov eax, ebx
call fcn.6c13e360
mov dword [esp + 0xc], str.failed_to_get_address_of__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x6c14fe90
mov dword [esp + 4], 0x6c145298
mov dword [esp], 3
call fcn.6c13e600
jmp 0x6c13e9b5
mov eax, ebx
call fcn.6c13e360
mov dword [esp + 0xc], str.failed_to_get_IPv4_address_of__s__retrying_with_IPv6_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x6c14fe90
mov dword [esp + 4], 0x6c145298
mov dword [esp], 3
call fcn.6c13e600
jmp 0x6c13e963
mov edx, dword [esp + 0x78]
rol bp, 8
mov esi, dword [esp + 0x78]
add edx, 8
mov word [esi + 2], bp
jmp 0x6c13e9f4
mov dword [esp + 0xc], str.address_too_small_n
mov dword [esp + 8], 0x6c14fe90
mov dword [esp + 4], 0x6c145298
mov dword [esp], 2
call fcn.6c13e600
mov ebx, dword [esp + 0x2c]
jmp 0x6c13e9aa
mov edx, dword [esp + 0x78]
rol bp, 8
mov ecx, dword [esp + 0x78]
add edx, 4
mov word [ecx + 2], bp
jmp 0x6c13e9f4
Function at 0x6c142d00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
test edx, edx
je 0x6c142cf0
mov eax, dword [esp + 0xc]
not eax
cmp esi, 7
jbe 0x6c142cf8
lea ecx, [esi - 8]
shr ecx, 3
lea ebx, [edx + ecx*8 + 8]
lea esi, [esi]
nop
mov ecx, eax
xor al, byte [edx]
add edx, 8
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c150c60]
mov eax, ecx
xor cl, byte [edx - 7]
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6c150c60]
mov ecx, eax
xor al, byte [edx - 6]
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c150c60]
mov eax, ecx
xor cl, byte [edx - 5]
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6c150c60]
mov ecx, eax
xor al, byte [edx - 4]
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c150c60]
mov eax, ecx
xor cl, byte [edx - 3]
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6c150c60]
mov ecx, eax
xor al, byte [edx - 2]
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6c150c60]
mov eax, ecx
xor cl, byte [edx - 1]
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6c150c60]
cmp edx, ebx
jne 0x6c142c20
and esi, 7
test esi, esi
je 0x6c142ce3
add esi, ebx
lea esi, [esi]
nop
add ebx, 1
mov edx, eax
xor al, byte [ebx - 1]
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x6c150c60]
mov eax, edx
cmp ebx, esi
jne 0x6c142cc8
pop ebx
not eax
pop esi
ret
pop ebx
xor eax, eax
pop esi
ret
mov ebx, edx
jmp 0x6c142cbd
jmp 0x6c142bf0
Function at 0x1475750
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc6c000]
push edi
jmp 0x147576a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1475771
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1475760
mov eax, 1
add ebx, ebx
jne 0x1475783
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1475778
jne 0x1475794
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1475778
xor ecx, ecx
sub eax, 3
jb 0x14757a8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x147581a
mov ebp, eax
add ebx, ebx
jne 0x14757b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x14757c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x14757e4
inc ecx
add ebx, ebx
jne 0x14757d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x14757c5
jne 0x14757e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x14757c5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1475804
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x14757f5
jmp 0x1475766
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1475804
add edi, ecx
jmp 0x1475766
pop esi
mov edi, esi
mov ecx, 0x44
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1475822
cmp byte [edi], 1
jne 0x1475822
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1475827
lea edi, [esi + 0x1073000]
mov eax, dword [edi]
or eax, eax
je 0x1475896
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10900b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1090100]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1475854
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1090108]
or eax, eax
je 0x1475890
mov dword [ebx], eax
add ebx, 4
jmp 0x1475871
call dword [esi + 0x1090104]
mov ebp, dword [esi + 0x109010c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x14758ca
sub esp, 0xffffff80
jmp 0x40185c
Function at 0x402adc
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004040c8
test esi, esi
jne 0x402b12
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004041b8
jmp 0x402b30
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029f0
mov edi, eax
test esi, esi
je 0x402b30
cmp dword [ebx], 0
je 0x402b30
dec esi
jmp 0x402b19
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403200
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x477020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403298
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403278
xor eax, eax
push ebp
push 0x403271
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4032b4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403278
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x477020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x477020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403f4c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47904c], 0
je 0x403fad
cmp word [0x479220], 0xd7b2
jne 0x403f75
cmp dword [0x479228], 0
jbe 0x403f75
mov eax, 0x47921c
call dword [0x479238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47706c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403fd4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x477030], 0
jne 0x403fc9
push 0
push 0x477064
push 0x47706c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret