joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430d70
Capabilities:
Initialize winsock library

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43e772
push eax
mov al, byte [0x44c3dd]
mov dword fs:[0], esp
sub esp, 0x1a0
test al, al
je 0x430f84
mov eax, dword [esp + 0x1b0]
mov byte [0x44c3dd], 0
test eax, eax
mov byte [0x44c3dc], 1
je 0x430dbc
push eax
mov ecx, 0x45b638
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x1b4]
test eax, eax
je 0x430dcc
mov dword [0x45b63c], eax
lea ecx, [esp]
call fcn.0043d02a
mov eax, dword [esp + 0x1b8]
mov dword [esp + 0x1a8], 0
test eax, eax
je 0x430dee
push eax
jmp 0x430df3
push 0x44c3f8
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
call fcn.0043d02a
lea eax, [esp + 4]
push 0x1e
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x1b0], 1
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ac], 2
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 4]
mov byte [esp + 0x1a8], 1
call sub.MFC42.DLL_CString::CString
push str.__NCB_080529_1120
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 8]
call fcn.0043d02a
lea ecx, [esp + 4]
push 0x11
push ecx
lea ecx, [esp + 8]
mov byte [esp + 0x1b0], 3
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x1ac], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 4]
mov byte [esp + 0x1a8], 3
call sub.MFC42.DLL_CString::CString
push 0x44c3e0
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_2
lea edx, [esp + 8]
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 8]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
mov ecx, 0x45b634
mov byte [esp + 0x1ac], 5
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 4]
mov byte [esp + 0x1a8], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x1a8], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x1a8], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp]
mov dword [esp + 0x1a8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x45b63c]
test eax, eax
je 0x430f63
mov edx, dword [0x45b638]
mov eax, dword [edx - 8]
test eax, eax
je 0x430f63
lea eax, [esp + 0x10]
push eax
push 4
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x430f3c
mov byte [0x44c3dc], 0
call fcn.00434eb0
mov cl, byte [0x44c3dc]
test cl, cl
jne 0x430f90
or eax, 0xffffffff
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
add esp, 0x1ac
ret
mov byte [0x44c3dc], 0
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
add esp, 0x1ac
ret
mov al, byte [0x44c3dc]
neg al
sbb eax, eax
neg eax
dec eax
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
add esp, 0x1ac
ret
Function at 0x435a70
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
mov dword [esi], 0x440f94
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0xc]
push 0xc8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x435aa3
mov edx, dword [esi + 0xc]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esi + 8]
push ecx
call edi
mov edx, dword [esi + 4]
push edx
call edi
add esi, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
pop edi
pop esi
ret

Function at 0x435cb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43ea98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
or eax, 0xffffffff
push esi
mov dword [esp + 0x14], eax
push edi
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x30]
mov edi, ecx
mov byte [esp + 0x10], al
mov byte [esp + 0x11], 0
mov byte [esp + 0x1c], al
mov byte [esp + 0x1d], 0
call dword [sym.imp.MSVCRT.dll__getpid]
mov word [esp + 0x1e], ax
call dword [sym.imp.MSVCRT.dll_rand]
lea esi, [edi + 0x14]
mov dword [esp + 0x18], eax
test esi, esi
mov dword [esp + 8], 0x440fb0
mov dword [esp + 0xc], esi
je 0x435d1f
lea ecx, [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0xc]
lea ecx, [edi + 4]
lea edx, [esp + 0x10]
mov dword [esp + 0x28], 0
push edx
push 1
push eax
call fcn.004360b0
test esi, esi
je 0x435d48
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x20]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x43ab30
Capabilities:
Get disk information

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push eax
xor ebp, ebp
call fcn.0043ad10
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x43ab58
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
pop ebx
pop ecx
ret
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx]
lea eax, [edx*4 + 4]
push eax
call sub.MSVCRT.dll_malloc
mov esi, dword [esp + 0x20]
mov edi, eax
add esp, 4
test edi, edi
mov dword [esi], edi
jne 0x43ab82
pop edi
pop esi
mov dword [ebx], eax
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [ebx]
xor eax, eax
push 0x8000
lea ecx, [ecx*4 + 4]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call sub.MSVCRT.dll_malloc
add esp, 4
mov ebx, eax
mov ecx, 0x2000
xor eax, eax
mov edi, ebx
push 0x8000
push ebx
push eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
jne 0x43abe5
mov eax, dword [esp + 0x20]
push ebx
mov dword [eax], 0
call sub.MSVCRT.dll_free
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x18]
lea ecx, [eax + 0x8000]
cmp eax, ecx
jae 0x43aceb
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43ace7
mov edx, dword [esp + 0x10]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push edx
call fcn.0043db20
add esp, 0xc
test eax, eax
jne 0x43acc6
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
add ecx, 8
push ecx
call sub.MSVCRT.dll_malloc
mov ecx, dword [esi]
mov edi, ebx
add esp, 4
mov dword [ecx + ebp*4], eax
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi]
repne scasb al, byte es:[edi]
mov edi, dword [edx + ebp*4]
not ecx
add ecx, 3
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esi]
mov edi, ebx
not ecx
mov edx, dword [eax + ebp*4]
add ecx, 3
mov dword [edx], ecx
mov eax, dword [esi]
mov edx, dword [str.._]
mov ecx, dword [eax + ebp*4]
add ecx, 4
mov dword [ecx], edx
mov al, byte [0x458114]
mov byte [ecx + 4], al
mov ecx, dword [esi]
xor eax, eax
mov edx, dword [ecx + ebp*4]
or ecx, 0xffffffff
add edx, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
inc ebp
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x18]
not ecx
dec ecx
add eax, 0x8000
lea ebx, [ebx + ecx + 1]
cmp ebx, eax
jb 0x43abf7
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push eax
mov dword [ecx], ebp
call sub.MSVCRT.dll_free
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x43bc00
Capabilities:
Get hostname

Disassembly:
mov eax, dword [ecx + 0x10]
push esi
lea esi, [ecx + 0x10]
push edi
test eax, eax
jne 0x43bc29
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
inc eax
pop edi
neg eax
sbb eax, eax
pop esi
neg eax
dec eax
ret 8
call fcn.0043bf30
push eax
push 4
push esi
call fcn.0043cc80
add esp, 0xc
test eax, eax
je 0x43bcb6
mov esi, dword [eax]
test esi, esi
je 0x43bcb6
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x10]
not ecx
dec ecx
cmp ecx, eax
jb 0x43bc90
test eax, eax
jbe 0x43bc7a
mov edx, dword [esp + 0xc]
lea ecx, [eax - 1]
push ebx
mov ebx, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
pop ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [edx + eax - 1], 0
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], 0x27
pop edi
mov eax, 0xfffffffe
pop esi
ret 8
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
ret 8
pop edi
or eax, 0xffffffff
pop esi
ret 8

Function at 0x43c2d0
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x43c2ff
push esi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], esi
or eax, 0xffffffff
pop esi
ret

Function at 0x43c330
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x43c35f
push esi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], esi
or eax, 0xffffffff
pop esi
ret

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

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x43c3d4
push esi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], esi
or eax, 0xffffffff
pop esi
ret

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

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x43c414
push esi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], esi
or eax, 0xffffffff
pop esi
ret
Function at 0x43c420
Capabilities:
Set socket configuration

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
cmp ecx, 0xffff
jne 0x43c444
cmp eax, 4
jne 0x43c438
xor eax, eax
ret
cmp eax, 0x400
jne 0x43c444
mov eax, 4
mov edx, dword [esp + 0x14]
push esi
push edi
push edx
mov edx, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x18]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43c48b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, dword [sym.imp.MSVCRT.dll__errno]
mov esi, eax
call edi
mov dword [eax], esi
or esi, 0xffffffff
call edi
cmp dword [eax], 0x273d
jne 0x43c48b
call edi
mov dword [eax], 0x59
mov eax, esi
pop edi
pop esi
ret

Function at 0x43cc60
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
ret

Function at 0x43cce0
Capabilities:
Get socket status

Disassembly:
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x43ccec
xor eax, eax
jmp 0x43ccf1
call fcn.0043b190
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_select]
ret
Function at 0x53e46d
Capabilities:
Encode data using xor

Disassembly:
add ebx, 0x890cba11
mov ebx, 0
jmp 0x53e485

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
test eax, 0x80000000
je 0x53e71c
mov edx, eax
and edx, 0x7fffffff
mov dword [ebp - 0xc], edx
jmp 0x53e721
xor edx, edx
mov dword [ebp - 0xc], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
and dword [ebp - 4], 0
mov eax, dword [ebx + 0x3c]
push edi
mov esi, dword [eax + ebx + 0x78]
lea eax, [eax + ebx + 0x18]
add esi, ebx
mov eax, dword [eax + 0x64]
mov edi, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x24]
add edi, ebx
add ecx, ebx
add eax, ebx
test edx, edx
mov dword [ebp - 0x10], eax
je 0x53e761
mov eax, dword [esi + 0x10]
imul eax, eax, 0x3fffffff
add eax, edx
jmp 0x53e79f
and dword [ebp + 8], 0
cmp dword [esi + 0x18], 0
jbe 0x53e7a7
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
push dword [ebp + 0xc]
mov eax, dword [eax]
add eax, ebx
push eax
call fcn.0053e7cd
pop ecx
test eax, eax
pop ecx
jne 0x53e795
inc dword [ebp + 8]
add dword [ebp - 8], 4
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x18]
jb 0x53e76e
jmp 0x53e7a7
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
movzx eax, word [eax + ecx*2]
mov edi, dword [edi + eax*4]
add edi, ebx
mov dword [ebp - 4], edi
cmp dword [ebp + 0x10], 0
je 0x53e7c5
cmp dword [ebp - 4], esi
jbe 0x53e7c5
mov eax, dword [ebp - 0x14]
add eax, esi
cmp dword [ebp - 4], eax
jae 0x53e7c5
push dword [ebp - 0xc]
push ebx
call dword [ebp + 0x10]
jmp 0x53e7c8
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x53e7f7
Capabilities:
Encode data using xor

Disassembly:
push ecx
push eax
push esi
push edi
mov ecx, edi
sub ecx, eax
mov esi, eax
mov edi, esi
lodsb al, byte [esi]
xor al, 0x4c
stosb byte es:[edi], al
loop 0x53e803
pop edi
pop esi
pop eax
pop ecx
ret

Function at 0x53e80e
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
pushal
push ebp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
Function at 0xc2e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00c2e1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xc2e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc2e06a
add dl, dl
jne 0xc2e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc2e0dc
xor eax, eax
add dl, dl
jne 0xc2e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc2e17d
add dl, dl
jne 0xc2e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc2e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc2e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc2e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xc2e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xc2e075
mov eax, 1
add dl, dl
jne 0xc2e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc2e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc2e0e1
sub eax, ebx
mov ebx, 1
jne 0xc2e128
mov ecx, 1
add dl, dl
jne 0xc2e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc2e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc2e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc2e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xc2e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc2e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc2e136
cmp eax, 0x7d00
jae 0xc2e16d
cmp eax, 0x500
jb 0xc2e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc2e075
cmp eax, 0x7f
ja 0xc2e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc2e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xc2e19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xc2e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10113272
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ebx, eax
lahf
jmp 0x101269b0
lea eax, [ebp*8 - 0x472762b9]
push esp
lea eax, [ebp - 8]
push ecx
mov dword [esp + 8], eax
movzx ax, cl
pushfd
pop eax
setle ah
push dword [ebp - 4]
pop dword [esp + 4]
cwde
bswap ax
not ah
mov dword [esp], ebx
mov ah, bl
mov ah, al
cwde
movzx ax, dl
push 0xb
not ax
call fcn.1012a990

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

Disassembly:
mov esi, dword [eax + 0x3c]
inc dl
add esi, eax
bt bp, di
mov byte [esp], cl
setae dl
mov edx, dword [esi + 0x78]
push dword [esp]
test edx, edx
push 0x6e9a1f99
lea esp, [esp + 0xc]
je fcn.1021b20c
dec cl
rcl ecx, 4
lea ecx, [eax - 0xe6ac5b6]
push ebx
add edx, eax
sar ch, cl
adc cl, al
setg cl
mov ecx, dword [esi + 0x7c]
pushfd
stc
cmc
mov byte [esp + 4], 0x70
add ecx, edx
test bp, di
bt cx, sp
jmp 0x1021b067
cmc
mov dword [ebp - 0x10], ecx
sar cx, 8
neg cl
mov ecx, dword [ebp + 0xc]
pushal
test bl, 0xf9
cmp ecx, 0xffff
pushfd
jmp 0x10226e89

Function at 0x1012a990
Capabilities:
Encode data using xor

Disassembly:
lea eax, [0x10125dcc]
push dword [esp]
call fcn.10128532
movsb byte es:[edi], byte [esi]
cmp bh, byte [edi]
xor dh, dh
fstp xword [esi + 0x63]
clc
mov word [ebp + 0x587a66cc], gs
scasd eax, dword es:[edi]
push ss
sub eax, 0xe3ceacd8
jnp 0x1012a9d3
lodsb al, byte [esi]
into
jecxz 0x1012aa30
sbb eax, 0x47f2e10c
or al, 0xe1
inc edi
shl byte [edi + 0x55], 1
mov ebp, 0x914ecb9e
mov ecx, 0xa3e1b16e
push ebx
cmp dh, byte [ecx + 0x6e]
aaa
pop eax
das
jecxz 0x1012a9b1
into
salc
mov esi, gs
in al, 0xca
pop esi
add eax, 0x8343147f
insb byte es:[edi], dx
mov bl, 0xa4
push ebx
cmp ch, byte [ebp + 0x44ff35d5]
and eax, 0xbbcfb7e1
sub ebx, dword [edi]
cmp eax, 0xe74607fb
rol ch, cl
jecxz 0x1012aa49
sub dh, byte [edx + 0x60160532]
xchg edi, eax
insb byte es:[edi], dx
dec eax
sub dword [edi + 0x25], edx
mov al, byte [0xa9ea11d4]
movsb byte es:[edi], byte [esi]
mov byte [0x2d2ca86a], al
aas
cmp al, 0xd0
out 0x9b, al
add al, 0xcd
bound esp, qword [eax - 0x2767c627]
pop eax
jbe 0x1012aa55
mov esi, 0x91ff8eed
hlt
sar byte [ebx + 0x5c], cl
mov word [esi - 0x43], ss
push edx
bound eax, qword [ebx - 0x4464c991]
movd mm0, esp
pop ebx
cli
or eax, 0x59c6aba1
mov ecx, 0xcf6d0d18
sti
insd dword es:[edi], dx
sbb byte [0x6dfbcf6d], cl
je 0x1012aa8c
rsm
jo 0x1012aa48
adc ch, byte [ebx + 0x70]
sbb byte [eax - 0x32], ch
adc al, 0x70
sbb dword [eax + 0xd], ebp
pop es
dec esp
invalid
invalid
Function at 0x10227045
Capabilities:
Check http status code

Disassembly:
and eax, eax
retf
test sp, cx
cmp byte [edi], 0x23
push ebx
lea esp, [esp + 8]
jne 0x1022669e
add al, 0x13
and ax, 0xf50b
sub edx, edx
shrd ax, sp, cl
pushal
mov eax, edx
sub al, bl
add edi, 1
not al
adc al, bl
mov al, byte [edi]
cmp sp, dx
pushfd
test al, al
call fcn.10226916
shl byte [eax - 0x24038f22], 0x7e
mov eax, dword [0xeef8a36]
test al, 0xbf
fisub word [edi]
daa
mov esi, 0xc2a2b5e1
push ss
jbe 0x1012a1ec
test al, 0x83
mov ah, al
mov bh, 0x1a
and edx, dword [edi + 0x6b]
mov al, 0xea
jge 0x1012a25d
and byte [ecx], 0x5f
sbb esp, dword [esp + ebp*2]
dec eax
test eax, 0x50ae303c
push 0x1b
dec edi
dec ecx
inc esi
in eax, 0xff
lds ebx, [edx + 0x2e]
les ecx, [ebx]
xchg esp, eax
invalid
mov ebx, eax
jmp 0x1012a217
Function at 0x10081230
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x10]
mov ecx, edi
push 0
mov dword [esi], 0x10009694
lea eax, [esi + 0x30]
mov dword [esi + 0x24], eax
lea eax, [esi + 0x88]
mov dword [esi + 0x20], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0x40
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0x40
mov dword [esi + 4], edi
mov dword [esi + 8], 0
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x70], 0
mov eax, dword [edi]
call dword [eax + 0x3c]
mov ecx, eax
call fcn.10089330
push 0x63c
mov eax, dword [eax + 8]
movzx ebx, byte [eax + 5]
and ebx, 1
call fcn.10118b22
add esp, 4
test eax, eax
je 0x100812ca
mov ecx, eax
call fcn.100810d0
jmp 0x100812cc
xor eax, eax
mov dword [esi + 0xc], eax
test eax, eax
jne 0x100812eb
mov ecx, dword [esp + 0x14]
push 1
push 0xfffffc0d
call fcn.10062a50
pop edi
mov eax, esi
pop esi
pop ebx
ret 8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
push dword [esp + 0x14]
mov ecx, dword [esi + 0xc]
push 0x40000
push ebx
push dword [eax + 0xc]
call fcn.1007c0b0
mov eax, dword [esi + 0xc]
pop edi
inc dword [eax]
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x18]
mov dword [esi + 0x10], eax
mov eax, esi
pop esi
pop ebx
ret 8
Function at 0x10082dd0
Capabilities:
Get hostname

Disassembly:
mov eax, dword [esp + 8]
push esi
mov dword [esp + 0xc], eax
mov esi, ecx
lea eax, [esp + 0xc]
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x10082df9
push dword [esp + 0x10]
mov ecx, esi
call fcn.100829a0
pop esi
ret 0xc

Function at 0x10082e60
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x1c]
mov ecx, reloc.mswstr10.dll_Ordinal_2
push esi
push edi
xor edi, edi
mov esi, 1
mov eax, dword [ebp]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
test eax, eax
cmove eax, ecx
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x10082eb3
cmp byte [ecx], 0
je 0x10082eb3
lea edx, [esp + 0x24]
push edx
push 0x20019
push edi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x10082efe
lea edi, [eax + 1]
mov eax, dword [esp + 0x24]
jmp 0x10082eb7
mov dword [esp + 0x24], eax
test eax, eax
je 0x10082ef3
push ebx
mov ebx, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push ebp
push ebx
push ecx
push 0
push dword [esp + 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [ebp]
cmp eax, dword [esp + 0x10]
jae 0x10082eee
cmp dword [esp + 0x18], 1
jne 0x10082eee
test esi, esi
jne 0x10082eee
mov byte [eax + ebx], 0
mov eax, dword [esp + 0x28]
pop ebx
test edi, edi
je 0x10082efe
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop edi
pop esi
sete al
pop ebp
pop ecx
ret 0x14