joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d0d4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44d27f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44d260
mov dl, 1
mov eax, dword [0x41306c]
call fcn.00403500
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404308
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44d24f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043ac84
test al, al
je 0x44d242
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44d290
lea eax, [ebp - 0x254]
call fcn.004092b0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44d242
xor eax, eax
push ebp
push 0x44d23b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44d2c8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44d224
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404570
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44d224
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404570
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d242
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44d145
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00417b98
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d286
lea eax, [ebp - 0x260]
call fcn.00404308
ret

Function at 0x44dbb4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x47dc08]
cmp byte [eax + 0xa5], 0
jne 0x44dc25
cmp dword [0x47dc20], 0
jne 0x44dbe6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44db70
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47dc20], eax
cmp dword [0x47dc1c], 0
jne 0x44dc01
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x47dc1c], eax
cmp dword [0x47dc24], 0
jne 0x44dc25
push esp
push 0
push 0
push 0x44db14
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x47dc24], eax
pop edx
ret
Function at 0x44dd1c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44dd33
add esp, 0xfffffff0
call fcn.0040387c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041da6c
mov eax, dword [0x47c018]
cmp word [eax + 2], 0
jne 0x44dd5b
mov eax, dword [0x47c018]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044f350
mov eax, dword [0x47c100]
cmp word [eax + 2], 0
jne 0x44dd75
mov eax, dword [0x47c100]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044f548
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412a08]
call fcn.00403500
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412a08]
call fcn.00403500
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41fc14]
call fcn.00425c08
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44defc
mov eax, dword [0x47bee8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00425fd8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44fab8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x47bee8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040bda4
test eax, eax
je 0x44de6a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408c0c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bdcc
test eax, eax
je 0x44de7e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404570
mov eax, dword [0x47bd44]
cmp byte [eax], 0
jne 0x44deb2
mov eax, ebx
call fcn.0044e024
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044fc94
mov eax, ebx
call fcn.004505d4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44def2
call fcn.004038d4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e298
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47dc08]
cmp dword [eax + 0x30], 0
je 0x44e342
cmp dword [ebx + 0x94], 0
jne 0x44e33c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44e228
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44e33c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44e302
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44e33c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004152c8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44e311
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44ee20
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44ee55
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004043f8
jmp 0x44ee62
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040435c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44fe70
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44feb1
mov eax, esi
call fcn.004363bc
test al, al
je 0x44feb1
mov eax, dword [ebx + 0x84]
call fcn.004360b8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44feb1
push 0
mov eax, dword [ebx + 0x84]
call fcn.004360b8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45a774
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45a84c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47dce0], 0
jne 0x45a830
lea eax, [ebp - 4]
mov edx, 0x45a864
call fcn.004043a0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004047b8
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x45a830
mov eax, ebx
call fcn.00402728
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45a829
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x45a813
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x45a874
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45a813
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x47dce0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a830
mov eax, dword [ebp - 0xc]
call fcn.00402748
ret
mov ebx, dword [0x47dce0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a853
lea eax, [ebp - 4]
call fcn.00404308
ret
Function at 0x46e984
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
push 0
push 0
push 0
call sub.gdi32.dll_SetMiterLimit
nop
mov ebx, 0x9e5647a
nop
nop
dec ebx
jne 0x46e999
mov eax, 0x1c081725
call fcn.00402728
mov esi, eax
test esi, esi
jne 0x46e9b5
jmp 0x46ea3f
mov dword [0x47dd44], 0x13933
push 0
push 0
push 0
call sub.gdi32.dll_SetMiterLimit
mov eax, esi
call fcn.00402748
nop
nop
mov ebx, 0x8e2b
push 0
push 0
push 0
call sub.gdi32.dll_SetMiterLimit
dec ebx
jne 0x46e9d8
mov eax, 0x5d57
call fcn.00402728
mov esi, eax
push esp
push 0x40
push 0x5d57
push esi
call sub.kernel32.dll_VirtualProtect
nop
nop
xor eax, eax
mov dword [0x47dd4c], eax
nop
nop
xor ebx, ebx
nop
mov dl, 0x8b
mov eax, ebx
mov edi, esi
add edi, eax
mov eax, dword [0x47dd4c]
mov al, byte [eax + 0x470278]
nop
nop
xor al, dl
mov byte [edi], al
add dword [0x47dd4c], 2
nop
inc ebx
cmp ebx, 0x5d57
jne 0x46ea0d
mov eax, esi
call fcn.0046e94c
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x406953
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push 2
mov edi, eax
call fcn.00406aca
xor esi, esi
cmp edi, esi
mov dword [ebp - 8], esi
je 0x4069c8
push ebx
lea eax, [edi - 0x834]
xor ebx, ebx
cmp eax, 0x383
mov dword [ebp - 4], 0x1300
ja 0x40699f
push 2
push esi
push str.netmsg.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
cmp ebx, esi
je 0x40699f
mov dword [ebp - 4], 0x1b00
push esi
push esi
push esi
push esi
push edi
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x4069bc
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], 1
cmp ebx, esi
je 0x4069c7
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebx
push 0x40a504
push esi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov edi, eax
cmp edi, esi
je 0x4069f8
push esi
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp - 8]
push esi
push dword [ebp + 8]
push esi
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop edi
pop esi
leave
ret 4

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4c003752
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x68b53ce0
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x431002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
jmp fcn.00401219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x10008d40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push eax
push ebx
cmp ecx, 0
je 0x10008e2a
and ebp, 0xfffffff8
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
je 0x10008dbd
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call sym.libcrypto_1_1.dll_BF_encrypt
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x10008d83
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x10008ef3
call 0x10008dcf
pop edx
lea ecx, [edx + 0x171]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x10008e8a
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call sym.libcrypto_1_1.dll_BF_decrypt
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x10008e3b
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x10008ef3
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call sym.libcrypto_1_1.dll_BF_decrypt
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x10008eee
jmp 0x10008ef3
mov ecx, dword [esp + 0x3c]
add esp, 0x18
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10010640
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
push ecx
mov eax, dword [esp + 0x34]
push eax
push ebx
cmp ecx, 0
je 0x1001071b
and ebp, 0xfffffff8
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
je 0x100106b6
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call sym.libcrypto_1_1.dll_DES_encrypt1
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x10010684
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x100107d4
call 0x100106c8
pop edx
lea ecx, [edx + 0x138]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
je 0x10010773
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call sym.libcrypto_1_1.dll_DES_encrypt1
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x1001072c
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x100107d4
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call sym.libcrypto_1_1.dll_DES_encrypt1
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x100107cf
jmp 0x100107d4
mov ecx, dword [esp + 0x40]
add esp, 0x1c
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10010840
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
push ebx
cmp ecx, 0
je 0x10010924
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x100108bf
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call sym.libcrypto_1_1.dll_DES_encrypt3
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x1001088d
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x100109dd
call 0x100108d1
pop edx
lea ecx, [edx + 0x12f]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
je 0x1001097c
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call sym.libcrypto_1_1.dll_DES_decrypt3
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x10010935
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x100109dd
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call sym.libcrypto_1_1.dll_DES_decrypt3
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x100109d8
jmp 0x100109dd
mov ecx, dword [esp + 0x4c]
add esp, 0x20
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10060640
Capabilities:
Resolve dns

Disassembly:
mov eax, 0x20
call fcn.1011d0a0
push esi
push edi
mov edi, dword [esp + 0x38]
xor esi, esi
mov eax, edi
sub eax, esi
je 0x10060688
sub eax, 2
je 0x10060688
sub eax, 0x15
je 0x10060688
push 0x289
push str.crypto_bio_b_addr.c
push 0x83
push 0x87
push 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
pop edi
xor eax, eax
pop esi
add esp, 0x20
ret
call sym.libcrypto_1_1.dll_BIO_sock_init
cmp eax, 1
jne 0x10060680
cmp dword [esp + 0x34], 1
xorps xmm0, xmm0
mov eax, dword [esp + 0x3c]
movups xmmword [esp + 8], xmm0
mov dword [esp + 0xc], edi
movups xmmword [esp + 0x18], xmm0
mov dword [esp + 0x10], eax
jne 0x100606b7
or dword [esp + 8], 1
push dword [esp + 0x40]
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x38]
push dword [esp + 0x38]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov edi, eax
test edi, edi
je 0x10060705
push 0x2b5
push str.crypto_bio_b_addr.c
push 2
push 0x87
push 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
push edi
call fcn.10060b00
push eax
push 1
call sym.libcrypto_1_1.dll_ERR_add_error_data
add esp, 0x20
pop edi
mov eax, esi
pop esi
add esp, 0x20
ret
mov esi, 1
pop edi
mov eax, esi
pop esi
add esp, 0x20
ret

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

Disassembly:
cmp dword [esp + 8], 0
je 0x10062ab8
push 0x174
push str.crypto_bio_b_sock.c
push 0x8c
jmp 0x10062b34
lea eax, [esp + 8]
mov dword [esp + 8], 0x1c
push eax
mov eax, dword [esp + 0x10]
push dword [eax]
call sym.libcrypto_1_1.dll_X509_REVOKED_get0_serialNumber
add esp, 4
push eax
push dword [esp + 0xc]
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x10062b1e
push 0x169
push str.crypto_bio_b_sock.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x10
push 2
call sym.libcrypto_1_1.dll_ERR_put_error
push 0x16a
push str.crypto_bio_b_sock.c
push 0x84
push 0x8d
push 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x28
xor eax, eax
ret
cmp dword [esp + 8], 0x1c
jbe 0x10062b46
push 0x16e
push str.crypto_bio_b_sock.c
push 0x85
push 0x8d
push 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
xor eax, eax
ret
mov eax, 1
ret

Function at 0x10062bd0
Capabilities:
Set socket configuration

Disassembly:
push esi
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov esi, eax
test esi, esi
jns 0x10062c08
push 0xcc
push str.crypto_bio_b_sock.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 5
push 2
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
mov eax, esi
pop esi
ret

Function at 0x10062c10
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 8]
push esi
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push 0x8004667e
push dword [esp + 0x10]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov esi, eax
test esi, esi
jns 0x10062c50
push 0xcc
push str.crypto_bio_b_sock.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 5
push 2
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
xor eax, eax
test esi, esi
pop esi
sete al
ret