joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6cb149f0
Capabilities:
Set socket configuration

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push ebx
sub esp, 0x24
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x10], 4
test edx, edx
lea edx, [ebp + 0x10]
mov dword [esp + 4], 0xffff
sete al
mov dword [esp + 0xc], edx
xor ebx, ebx
add eax, 0x1005
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_setsockopt]
sub esp, 0x14
cmp eax, 0xffffffff
je 0x6cb14a41
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ebx, eax
test byte [0x6cb2c098], 4
je 0x6cb14a3a
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.setsockopt_failed___u__n
mov dword [esp + 0x10], 0x25a
mov dword [esp + 0xc], str.netconn_set_timeout
mov dword [esp + 8], 0x6cb2d4dd
mov dword [esp + 4], 0x6cb2c098
mov dword [esp], 2
call sym._ros_dbg_log
jmp 0x6cb14a3a

Function at 0x6cb14a90
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x14]
push ebx
sub esp, 0x24
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.ws2_32.dll_ioctlsocket]
mov dword [ebp - 0x14], 1
mov eax, dword [ebx + 8]
mov dword [esp + 8], edi
mov dword [esp + 4], 0x8004667e
mov dword [esp], eax
call esi
mov eax, dword [ebx + 8]
lea edx, [ebp - 0x15]
mov ecx, 1
sub esp, 0xc
mov dword [esp], 2
call sym._sock_recv
mov dword [ebp - 0x1c], eax
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 8]
mov dword [esp + 8], edi
mov dword [esp + 4], 0x8004667e
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
cmp edx, 1
je 0x6cb14b20
cmp edx, 0xffffffff
sete al
xor edx, edx
cmp dword [ebp - 0x20], 0x2733
sete dl
and edx, eax
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x6cb14b30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x28
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
test ebx, ebx
je 0x6cb14be4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], sym._resolve_proc_4
mov dword [esp + 4], 0
mov dword [esp], 0
mov word [ebp - 0x10], dx
mov dword [ebp - 0xc], ecx
call sym._CreateThread_24
sub esp, 0x18
mov esi, eax
test eax, eax
je 0x6cb14bdb
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
test eax, eax
je 0x6cb14bf3
mov dword [ebp - 0x18], 0x2ee2
mov dword [esp], esi
call sym._CloseHandle_4
mov edx, dword [ebp - 0x18]
sub esp, 4
mov eax, 1
test edx, edx
jne 0x6cb14bd0
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov dword [esp], edx
call sym._SetLastError_4
sub esp, 4
lea esp, [ebp - 8]
xor eax, eax
pop ebx
pop esi
pop ebp
ret
movzx edx, dx
call sym._resolve_hostname
mov edx, eax
mov dword [ebp - 0x18], eax
jmp 0x6cb14bba
lea eax, [ebp - 0x18]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._GetExitCodeThread_8
sub esp, 8
jmp 0x6cb14bac
Function at 0x6cb15a70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x24
mov ebx, dword [eax + 8]
mov eax, dword [ebx + 0x20c8]
lea edi, [ebx + 0x20d4]
test eax, eax
je 0x6cb15af0
mov dword [esp], edi
call sym._EnterCriticalSection_4
sub esp, 4
test byte [0x6cb2c118], 8
jne 0x6cb15bc0
lea eax, [ebx + 0x20cc]
mov dword [esi], eax
mov eax, dword [ebx + 0x20d0]
mov dword [esi + 4], eax
mov dword [eax], esi
mov dword [ebx + 0x20d0], esi
mov dword [esp], edi
mov edi, 1
call sym._LeaveCriticalSection_4
mov eax, dword [ebx + 0x20c0]
sub esp, 4
mov dword [esp], eax
call sym._SetEvent_4
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], 0
xor edi, edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateEventW_16
sub esp, 0x10
mov dword [ebx + 0x20c0], eax
test eax, eax
je 0x6cb15ae0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateEventW_16
sub esp, 0x10
mov dword [ebx + 0x20c4], eax
test eax, eax
je 0x6cb15c00
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], sym._task_proc_4
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateThread_24
sub esp, 0x18
mov dword [ebx + 0x20c8], eax
test eax, eax
je 0x6cb15c20
lea edi, [ebx + 0x20d4]
mov dword [esp], edi
call sym._InitializeCriticalSection_4
mov eax, dword [ebx + 0x20d4]
sub esp, 4
mov dword [eax + 0x18], str._srv_buildbot_worker_data_Build_GCCLin_x86_Release_build_dll_win32_winhttp_request.c:_request.task_cs
jmp 0x6cb15a8e
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], str.queueing_task__p_n
mov dword [esp + 0x10], 0x121
mov dword [esp + 0xc], str.queue_task
mov dword [esp + 8], 0x6cb2d8a1
mov dword [esp + 4], 0x6cb2c118
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x6cb15aa6
mov eax, dword [ebx + 0x20c0]
mov dword [esp], eax
call sym._CloseHandle_4
mov dword [ebx + 0x20c0], 0
sub esp, 4
jmp 0x6cb15ae0
mov eax, dword [ebx + 0x20c0]
mov dword [esp], eax
call sym._CloseHandle_4
mov eax, dword [ebx + 0x20c4]
mov dword [ebx + 0x20c0], 0
sub esp, 4
mov dword [esp], eax
call sym._CloseHandle_4
mov dword [ebx + 0x20c4], 0
sub esp, 4
jmp 0x6cb15ae0
Function at 0x6cb1ab00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x34
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
test byte [0x6cb2c118], 8
jne 0x6cb1ac00
lea esi, [ebx + 8]
mov dword [esp], esi
call sym._EnterCriticalSection_4
mov eax, dword [ebx + 0x20]
sub esp, 4
cmp eax, 1
jbe 0x6cb1acab
cmp eax, 2
jne 0x6cb1abe0
lea edi, [ebx + 0x30]
mov dword [esp], edi
call sym._VariantClear_4
lea eax, [ebp - 0x20]
sub esp, 4
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._VariantCopyInd_8
sub esp, 8
mov edi, eax
test eax, eax
jne 0x6cb1abc6
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], sym._send_and_receive_proc_4
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateThread_24
sub esp, 0x18
mov dword [ebx + 0x44], eax
test eax, eax
je 0x6cb1ac80
mov eax, dword [ebx + 0x88]
test eax, eax
je 0x6cb1ac50
mov dword [esp], esi
call sym._LeaveCriticalSection_4
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
mov dword [esp], esi
xor edi, edi
call sym._LeaveCriticalSection_4
mov eax, edi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
lea eax, [ebp - 0x20]
call sym._wine_dbgstr_variant
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], str._p___s_n
mov dword [esp + 0x10], 0x103c
mov dword [esp + 0xc], str.winhttp_request_Send
mov dword [esp + 8], 0x6cb2d8a1
mov dword [esp + 4], 0x6cb2c118
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x6cb1ab31
mov edx, 0xffffffff
mov eax, ebx
call sym._request_wait
test eax, eax
je 0x6cb1abc6
mov edx, 0xffffffff
mov eax, ebx
call sym._request_wait
movzx edi, ax
or edi, 0x80070000
jmp 0x6cb1abc6
mov dword [esp], esi
call sym._LeaveCriticalSection_4
sub esp, 4
call sym._GetLastError_0
test eax, eax
je 0x6cb1abd1
call sym._GetLastError_0
movzx edi, ax
or edi, 0x80070000
jmp 0x6cb1abd1
mov dword [esp], esi
mov edi, 0x80072f44
call sym._LeaveCriticalSection_4
sub esp, 4
jmp 0x6cb1abd1
Function at 0x6cb22ac0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x14]
mov esi, eax
push ebx
sub esp, 0x1c
mov dword [ebp - 0x14], 0
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._GetComputerNameExA_12
sub esp, 0xc
call sym._GetLastError_0
cmp eax, 0xea
jne 0x6cb22b50
mov ebx, dword [ebp - 0x14]
call sym._GetProcessHeap_0
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
mov dword [esp], eax
call sym._HeapAlloc_12
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x6cb22b50
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], esi
call sym._GetComputerNameExA_12
sub esp, 0xc
test eax, eax
jne 0x6cb22b52
call sym._GetProcessHeap_0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._HeapFree_12
sub esp, 0xc
xor ebx, ebx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x6cb29640
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._FindResourceW_12
sub esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [esp + 4], eax
mov dword [esp], esi
call sym._LoadResource_8
mov edx, dword [ebp - 0x14]
sub esp, 8
mov edi, eax
mov dword [esp + 4], edx
mov dword [esp], esi
call sym._SizeofResource_8
sub esp, 8
test edi, edi
je 0x6cb297a7
mov ecx, eax
mov eax, dword [ebx]
test eax, eax
je 0x6cb297b3
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
mov dword [ebp - 0x18], ecx
call sym._MultiByteToWideChar_24
lea edx, [eax + 1]
sub esp, 0x18
lea eax, [edx + edx]
mov dword [ebp - 0x14], edx
mov esi, eax
mov dword [ebp - 0x1c], eax
call sym._GetProcessHeap_0
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._HeapAlloc_12
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub esp, 0xc
test eax, eax
mov esi, eax
je 0x6cb297a0
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call sym._MultiByteToWideChar_24
mov eax, dword [ebp - 0x1c]
xor edx, edx
sub esp, 0x18
mov word [esi + eax - 2], dx
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
test ecx, ecx
mov ecx, dword [eax]
mov dword [esp + 4], esi
mov dword [esp], eax
jne 0x6cb29790
call dword [ecx + 0x28]
mov dword [ebx + 8], eax
sub esp, 8
call sym._GetProcessHeap_0
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._HeapFree_12
mov eax, dword [ebx + 8]
sub esp, 0xc
lea esp, [ebp - 0xc]
not eax
pop ebx
pop esi
shr eax, 0x1f
pop edi
pop ebp
ret 0x10
call dword [ecx + 0x24]
sub esp, 8
mov dword [ebx + 8], eax
jmp 0x6cb2975a
mov dword [ebx + 8], 0x8007000e
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov edx, ebx
mov eax, esi
mov dword [ebp - 0x14], ecx
call sym._create_registrar
mov ecx, dword [ebp - 0x14]
test eax, eax
jne 0x6cb296a2
xor eax, eax
jmp 0x6cb297a9

Function at 0x6cb2a9a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea esi, [ebp + 0xc]
sub esp, 0x10
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], 0x6cb30afc
call sym._fwrite
mov eax, dword [ebp + 8]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll_vfprintf]
call sym._abort
lea esi, [esi]
Function at 0x41f900
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49c3db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0049087a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41f982
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048e1dd
mov eax, dword [eax]
push 0x5a1234
push eax
call fcn.00475684
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00490b05
test bl, bl
je 0x41f982
push 0x5a1234
lea ecx, [esp + 0xc]
call fcn.00490e95
push 0x5a4dac
lea ecx, [esp + 0xc]
call fcn.00490e95
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41f9be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00490b05
jmp 0x41fa89
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41fa42
lea edx, [esp + 0x7c]
push 0x5a4da8
push edx
call fcn.00475684
add esp, 8
test eax, eax
je 0x41fa42
lea eax, [esp + 0x7c]
push 0x5a4da4
push eax
call fcn.00475684
add esp, 8
test eax, eax
je 0x41fa42
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41f9d2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00490b05
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x420280
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4202e2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4202f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49c45b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5b2c20]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x420428
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x420356
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00490b05
xor eax, eax
jmp 0x42049f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00490c42
push esi
lea ecx, [esp + 0xc]
call fcn.00490ed1
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x5a4de4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42047d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00420280
test eax, eax
jne 0x42047d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00420280
test eax, eax
jne 0x42047d
lea eax, [esp + 0x14]
push 0x5a4dc0
push eax
call fcn.00476790
mov esi, eax
add esp, 8
test esi, esi
jne 0x42045c
lea ecx, [esp + 0x14]
push 0x5a4dbc
push ecx
call fcn.00476710
mov esi, eax
add esp, 8
test esi, esi
jne 0x42045c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42045f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00490bf2
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42036e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00490b05
xor eax, eax
jmp 0x42049f
mov byte [esi], 0
push 0x5a4db8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00490b05
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x430e80
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x430eee
cmp si, 0x69
ja 0x430eee
add esi, 0xffd0
cmp si, 0x11
je 0x430ebe
push 0x11
call edi
test ax, ax
jge 0x430ebe
or esi, 0x2000
cmp si, 0x10
je 0x430ed3
push 0x10
call edi
test ax, ax
jge 0x430ed3
or esi, 0x4000
cmp si, 0x12
je 0x430ee8
push 0x12
call edi
test ax, ax
jge 0x430ee8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x430efb
mov esi, 0xbd
jmp 0x430eaf
cmp si, 0x6e
jne 0x430f08
mov esi, 0xbe
jmp 0x430eaf
cmp si, 0x6f
jne 0x430ea9
mov esi, 0xbf
jmp 0x430eaf

Function at 0x4325f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5c34a0]
xor edx, edx
cmp eax, edx
jne 0x432616
xor eax, eax
mov byte [eax + 0x5c33a0], al
inc eax
cmp eax, 0x100
jl 0x4325fe
mov dword [0x5c34a0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5c33a0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4326a7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x43267a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x432648
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x432720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x432773
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x43275a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4391b0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x439348
cmp ebp, ebx
jle 0x439348
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x43920e
dec eax
or eax, 0xfffffff8
inc eax
je 0x439215
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x439224
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x43922b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00490846
add esp, 4
cmp eax, ebx
je 0x43924c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.00490846
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x43933e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x439325
mov al, byte [edx]
cmp al, 0xc0
jbe 0x439311
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x439306
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x439314
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x439314
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x4392b0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x4392a1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x43c390
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49d968
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x43c3c9
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.00498223
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.0049826f
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.0043c450
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004982ac
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24