joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e0d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.0040668c
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00438f04
test ebx, ebx
jne 0x43e123
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0043e00c
mov ebx, eax
test ebx, ebx
je 0x43e20e
cmp esi, ebx
je 0x43e14c
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x43e161
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x43e199
add eax, 0xffffff5f
sub eax, 2
jb 0x43e1b1
dec eax
sub eax, 2
jb 0x43e1c5
dec eax
sub eax, 2
jb 0x43e1bb
jmp 0x43e1cf
add eax, 0xfffffdff
sub eax, 2
jb 0x43e1b1
dec eax
sub eax, 2
jb 0x43e1c5
dec eax
sub eax, 2
jb 0x43e1bb
jmp 0x43e1cf
mov byte [esp + 0x120], 0
jmp 0x43e1d7
mov byte [esp + 0x120], 2
jmp 0x43e1d7
mov byte [esp + 0x120], 1
jmp 0x43e1d7
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0044bacc
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0043a68c
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x43e210
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x43ee7c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x240], 0
je 0x43ee98
cmp dword [esi + 4], 0
je 0x43eec5
test byte [ebx + 0x55], 1
jne 0x43eeb7
mov eax, ebx
call fcn.0043d264
test eax, eax
jne 0x43eeb7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43efd5
mov edx, esi
mov eax, ebx
call fcn.0043e884
jmp 0x43efd5
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43efce
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00440ed4
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0043a68c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043ee7c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00440ed4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43efd5
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446258
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x525d44]
cmp byte [eax + 0xc], 0
je 0x4463c5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4463be
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x529544], 0
jne 0x4462ac
push 0x4463cc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4463d4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x529544], eax
cmp dword [0x460604], 0
jne 0x4463a7
push 0x4463e4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x460604], eax
cmp dword [0x460604], 0
je 0x4463a7
push 0x4463f0
mov eax, dword [0x460604]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x529548], eax
push 0x446400
mov eax, dword [0x460604]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x52954c], eax
push 0x446414
mov eax, dword [0x460604]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x529550], eax
push 0x44642c
mov eax, dword [0x460604]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x529554], eax
push 0x446444
mov eax, dword [0x460604]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x529558], eax
push 0x446458
mov eax, dword [0x460604]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x52955c], eax
push 0x446470
mov eax, dword [0x460604]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x529560], eax
push 0x446488
mov eax, dword [0x460604]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x529564], eax
push 0x4464a4
mov eax, dword [0x460604]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x529568], eax
push 0x4464b0
mov eax, dword [0x460604]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x52956c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4463c5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44ba34
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44ba88]
test si, 4
je 0x44ba49
or bl, 1
test si, 8
je 0x44ba53
or bl, 4
test si, 1
je 0x44ba5d
or bl, 8
test si, 2
je 0x44ba67
or bl, 0x10
test si, 0x10
je 0x44ba71
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ba80
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44ba8c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44bac8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44baa6
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44bab5
or bl, 4
test esi, 0x20000000
je 0x44bac0
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45317c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45318e
add esp, 0xfffffff0
call fcn.00403cb8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a2dc
mov eax, dword [0x525a1c]
mov dword [eax + 4], ebx
mov dword [eax], 0x453520
mov eax, dword [0x525a28]
mov dword [eax + 4], ebx
mov dword [eax], 0x45352c
mov eax, ebx
call fcn.00453538
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4120d8]
call fcn.0040397c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4120d8]
call fcn.0040397c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4120d8]
call fcn.0040397c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4120d8]
call fcn.0040397c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4120d8]
call fcn.0040397c
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44efd0
push eax
push 0
push 0
mov eax, dword [0x525b6c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ddd8]
call fcn.0041f2f8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ddd8]
call fcn.0041f2f8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ddd8]
call fcn.0041f2f8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00453968
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453838
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453838
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453838
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4532cb
call fcn.00403d10
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45361c
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 0x4537c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4537a8
mov dl, 1
mov eax, dword [0x4124fc]
call fcn.0040397c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004047c0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x453797
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.004465b4
test al, al
je 0x45378a
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, 0x4537d8
lea eax, [ebp - 0x254]
call fcn.004094a4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45378a
xor eax, eax
push ebp
push 0x453783
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 0x453810
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45376c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a30
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 0x45376c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45378a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45368d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.004161dc
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 0x4537ce
lea eax, [ebp - 0x260]
call fcn.004047c0
ret

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

Disassembly:
push ecx
mov eax, dword [0x52957c]
cmp byte [eax + 0xad], 0
jne 0x4541b1
cmp dword [0x529594], 0
jne 0x454172
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4540fc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x529594], eax
cmp dword [0x529590], 0
jne 0x45418d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x529590], eax
cmp dword [0x529598], 0
jne 0x4541b1
push esp
push 0
push 0
push 0x4540a0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x529598], eax
pop edx
ret
Function at 0x454384
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45439b
add esp, 0xfffffff0
call fcn.00403cb8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a2dc
mov eax, dword [0x525b54]
cmp word [eax + 2], 0
jne 0x4543c3
mov eax, dword [0x525b54]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00455e34
mov eax, dword [0x525bfc]
cmp word [eax + 2], 0
jne 0x4543dd
mov eax, dword [0x525bfc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00456040
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4120d8]
call fcn.0040397c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4120d8]
call fcn.0040397c
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4120d8]
call fcn.0040397c
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41e5b4]
call fcn.004243fc
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x454594
mov eax, dword [0x525a80]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004247d0
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x456710
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x525a80]
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.0040cc48
test eax, eax
je 0x4544e4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408e5c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cc7c
test eax, eax
je 0x4544f8
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404a30
mov byte [ebx + 0xd4], 0
push ebx
push 0x455994
call fcn.0041b458
mov dword [ebx + 0xc8], eax
mov eax, dword [0x52598c]
cmp byte [eax], 0
jne 0x454549
mov eax, ebx
call fcn.004546d8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004568ec
mov eax, ebx
call fcn.0045744c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x454589
call fcn.00403d10
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454958
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x52957c]
cmp dword [eax + 0x30], 0
je 0x454a02
cmp dword [ebx + 0x94], 0
jne 0x4549fc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4548e8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4549fc
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 0x4549c2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4549fc
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.00414484
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4549d1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45571c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x455751
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.004048b0
jmp 0x45575e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404814
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x456ad0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x456b3e
mov eax, esi
call fcn.00441274
test al, al
je 0x456b3e
mov eax, dword [ebx + 0x84]
call fcn.00440ed4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x456b3e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x456b32
push 0
mov eax, dword [ebx + 0x84]
call fcn.00440ed4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004392f4
jmp 0x456b3e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045690c
pop esi
pop ebx
ret
Function at 0x100294f
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push dword [0x1004024]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100298d
push dword [0x1004028]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret

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

Disassembly:
mov eax, ebx
add eax, dword [ebx + 0x3c]
add edx, dword [eax + 0x78]
push 0xffffffffffffffff
add esi, dword [edx + 0x20]
jmp 0x100ab74
mov edx, ebx
mov esi, ebx
jmp 0x1006000
ret
pop ecx
lodsd eax, dword [esi]
inc ecx
cmp ecx, dword [edx + 0x18]
lea edi, [eax + ebx]
jmp 0x100acc7
jne 0x100ab75
lea edi, [ebx]
lea esi, [ebx]
jmp 0x100ad1d
je 0x100ab19
push 0
pop eax
imul eax, eax, 0xf
jmp 0x100ad0e
cmp byte [edi], 1
pop eax
ja 0x100acd0
xor eax, 0xf1f55d5a
sbb eax, dword [esp + 4]
jmp 0x100abcf
pop esi
add esi, dword [edi + eax*4]
ret 4
push eax
movzx eax, byte [edi]
sub dword [esp], eax
lea edi, [edi + 1]
jmp 0x100acd8
add edi, dword [edx + 0x1c]
add esi, dword [edx + 0x24]
lea esi, [esi + ecx*2]
push ebx
movzx eax, word [esi]
jmp 0x100ad00
Function at 0x1000151b
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, ecx
call fcn.10001393
lea eax, [esi + 0x50]
xor ebx, ebx
push eax
push 4
push esi
push 0x10001507
push ebx
push ebx
mov dword [esi], 0x1000e248
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x4c], eax
mov byte [esi + 0x56], 1
mov byte [esi + 0x55], bl
mov byte [esi + 0x54], bl
mov byte [esi + 0x57], bl
mov eax, esi
pop esi
pop ebx
ret

Function at 0x1000180a
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ecx]
push ebx
push 1
mov dword [ebp - 8], ecx
call dword [eax + 8]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push connect
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x10001899
push esi
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
je 0x1000188e
lea eax, [esi + 2]
push eax
call fcn.100062c6
mov edi, eax
pop ecx
cmp edi, ebx
je 0x1000188e
lea eax, [ebp - 4]
push ebx
push eax
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000188e
cmp esi, dword [ebp - 4]
jne 0x1000188e
mov ecx, dword [ebp - 8]
lea eax, [edi + esi]
push edi
mov byte [eax], bl
mov byte [eax + 1], bl
call fcn.1000189e
push edi
call fcn.100061dd
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10001f67
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0xc]
push esi
push eax
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
push 0x20019
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x10001fb0
push 4
pop eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push dword [ebp + 0x14]
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
pop esi
leave
ret 0x10
Function at 0x1000210c
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov esi, ecx
call fcn.100020a5
xor edi, edi
mov dword [ebp - 4], eax
mov dword [esi + 0x10c0], edi
mov word [esi + 0x10c4], di
mov word [esi + 0x11c4], di
mov word [esi + 0x12c4], di
call fcn.1000220e
mov ecx, esi
call fcn.10001f1c
cmp dword [ebp - 4], edi
je 0x10002201
push 6
push 1
push 2
call sub.WS2_32.dll_socket
cmp eax, edi
mov dword [esi + 0x5c], eax
jbe 0x100021fd
mov ax, word [esi + 0x60]
mov edi, 0x100007f
push eax
mov word [ebp - 0x18], 2
mov dword [ebp - 0x14], edi
call sub.WS2_32.dll_htons
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x18]
push 0x10
push eax
push dword [esi + 0x5c]
call sub.WS2_32.dll_bind
cmp eax, 0xffffffff
je 0x100021e7
cmp dword [esi + 0x60], 0
jne 0x100021c0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x10
push eax
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x5c]
call sub.WS2_32.dll_getsockname
push dword [ebp - 0x16]
call sub.WS2_32.dll_htons
movzx eax, ax
mov dword [esi + 0x60], eax
push dword [ebp - 4]
mov word [ebp - 0x18], 2
mov dword [ebp - 0x14], edi
call sub.WS2_32.dll_htons
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x18]
push 0x10
push eax
push dword [esi + 0x5c]
call sub.WS2_32.dll_connect
test eax, eax
je 0x100021f0
mov ecx, esi
call fcn.10001f1c
jmp 0x10002201
mov ecx, esi
mov byte [esi + 0x6c], 1
call fcn.100015a4
jmp 0x10002201
or dword [esi + 0x5c], 0xffffffff
xor eax, eax
cmp dword [esi + 0x5c], 0xffffffff
pop edi
pop esi
setne al
leave
ret

Function at 0x1000220e
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 2
call sub.WS2_32.dll_WSAStartup
add esp, 0x190
ret

Function at 0x10002269
Capabilities:
Check for time delay via gettickcount
Send data
Send data on socket

Disassembly:
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x5c], 0xffffffff
je 0x100022fc
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
call edi
mov ebx, eax
cmp byte [esi + 0x6c], 0
je 0x100022ad
cmp dword [esi + 0x68], 0
jne 0x100022ad
cmp byte [esp + 0x18], 0
je 0x100022ad
call edi
sub eax, ebx
cmp eax, 0x7d0
jae 0x100022ad
push str._SSO__Wait_for_send_request
call fcn.10001783
pop ecx
jmp 0x10002282
cmp byte [esi + 0x6c], 0
pop ebx
je 0x100022fc
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x100022fc
push 0
push edi
push dword [esp + 0x14]
push dword [esi + 0x5c]
call sub.WS2_32.dll_send
test eax, eax
jle 0x100022d7
add dword [esp + 0xc], eax
sub edi, eax
jmp 0x100022b8
je 0x100022fc
call sub.WS2_32.dll_WSAGetLastError
sub eax, 0x2736
je 0x100022fc
sub eax, 0xc
je 0x100022fc
dec eax
dec eax
je 0x100022fc
dec eax
dec eax
je 0x100022fc
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100022b8
pop edi
pop esi
ret 0xc