joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005f70
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
jmp 0x10005fa3
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
test eax, eax
je 0x100060a9
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
mov eax, dword [edx*4 + 0x1003e060]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x100060a4
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 3
ja case.default.0x10005fde
mov edx, dword [ebp - 0x1c]
jmp dword [edx*4 + 0x100060bc]
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp case.default.0x10005fde
mov ecx, dword [ebp - 0x18]
shl ecx, 2
mov edx, dword [ebp - 0x14]
and edx, 0x30
sar edx, 4
or ecx, edx
mov byte [ebp - 0xd], cl
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x10]
jge 0x10006023
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0xc]
mov dl, byte [ebp - 0xd]
mov byte [ecx], dl
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp case.default.0x10005fde
mov edx, dword [ebp - 0x18]
and edx, 0xf
shl edx, 4
mov eax, dword [ebp - 0x14]
and eax, 0x3c
sar eax, 2
or edx, eax
mov byte [ebp - 0xd], dl
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0x10]
jge 0x10006061
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
mov byte [edx], al
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp case.default.0x10005fde
mov eax, dword [ebp - 0x18]
and eax, 3
shl eax, 6
or eax, dword [ebp - 0x14]
mov byte [ebp - 0xd], al
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0x10]
jge 0x10006097
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
mov byte [edx], al
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
jmp 0x10005f9a
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0xc]
mov byte [eax], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x10005fe5
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
jmp 0x10005fa3
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
test eax, eax
je 0x100060a9
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
mov eax, dword [edx*4 + 0x1003e060]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x100060a4
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 3
ja case.default.0x10005fde
mov edx, dword [ebp - 0x1c]
jmp dword [edx*4 + 0x100060bc]
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp case.default.0x10005fde
mov ecx, dword [ebp - 0x18]
shl ecx, 2
mov edx, dword [ebp - 0x14]
and edx, 0x30
sar edx, 4
or ecx, edx
mov byte [ebp - 0xd], cl
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x10]
jge 0x10006023
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0xc]
mov dl, byte [ebp - 0xd]
mov byte [ecx], dl
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp case.default.0x10005fde
mov edx, dword [ebp - 0x18]
and edx, 0xf
shl edx, 4
mov eax, dword [ebp - 0x14]
and eax, 0x3c
sar eax, 2
or edx, eax
mov byte [ebp - 0xd], dl
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0x10]
jge 0x10006061
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
mov byte [edx], al
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp case.default.0x10005fde
mov eax, dword [ebp - 0x18]
and eax, 3
shl eax, 6
or eax, dword [ebp - 0x14]
mov byte [ebp - 0xd], al
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0x10]
jge 0x10006097
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
mov byte [edx], al
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
jmp 0x10005f9a
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0xc]
mov byte [eax], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x10010f60
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10011072
push 0
push str.TrayNotifyWnd
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10011072
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
jmp 0x10010fc0
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 5
jge 0x1001106e
push 0
push str.SysPager
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10010fed
jmp 0x1001106e
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x10010ffd
jmp 0x10010fb7
push 0
push 0x10036fa8
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1001101b
jmp 0x10010fb7
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1001102b
jmp 0x10010fb7
cmp dword [0x100e0004], 4
jne 0x1001104b
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push str.hToolbar:_08x__d_
push 0
call fcn.1001a870
add esp, 0x10
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10010be0
add esp, 8
movzx edx, al
test edx, edx
je 0x10011069
mov al, 1
jmp 0x100110ea
jmp 0x10010fb7
xor al, al
jmp 0x100110ea
push 0
push str.NotifyIconOverflowWindow
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1001108c
xor al, al
jmp 0x100110ea
push 0
push str.ToolbarWindow32
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100110ac
xor al, al
jmp 0x100110ea
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x100110be
xor al, al
jmp 0x100110ea
cmp dword [0x100e0004], 4
jne 0x100110da
mov edx, dword [ebp - 4]
push edx
push str.hToolbar2:_08x
push 0
call fcn.1001a870
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10010be0
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x10012840
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x1003e830]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
push 0x124
push 0
lea eax, [ebp - 0x12c]
push eax
call fcn.1001d590
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0xffffffff
jne 0x100128a6
xor eax, eax
jmp 0x10012945
mov dword [ebp - 0x130], 0x128
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x134]
push edx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10012935
mov eax, dword [ebp - 0x128]
push eax
push 0
push 0x43a
call dword [0x10108314]
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
jne 0x100128f3
jmp 0x1001291e
mov ecx, dword [ebp - 0x13c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x1001291e
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x134]
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x100128ce
mov ecx, dword [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1001d57b
mov esp, ebp
pop ebp
ret
Function at 0x10014910
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x1003e830]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x130], 0
push 0x124
push 0
lea eax, [ebp - 0x12c]
push eax
call fcn.1001d590
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0xffffffff
jne 0x1001496c
xor eax, eax
jmp 0x10014a5e
mov dword [ebp - 0x130], 0x128
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x134]
push edx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10014a41
mov dword [ebp - 0x13c], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x100149fd
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x128], eax
je 0x100149fd
mov edx, dword [ebp - 0x128]
push edx
push 0
push 0x401
call dword [0x10108314]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
je 0x100149fd
push 0
mov eax, dword [ebp - 0x140]
push eax
call dword [0x101358bc]
mov ecx, dword [ebp - 0x140]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x130], 0x128
cmp dword [ebp - 0x13c], 0x2710
jle 0x10014a15
jmp 0x10014a3f
mov edx, dword [ebp - 0x13c]
add edx, 1
mov dword [ebp - 0x13c], edx
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1001499b
jmp 0x10014a4b
mov dword [ebp - 0x138], 0
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001d57b
mov esp, ebp
pop ebp
ret
Function at 0x100169f0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2898
call fcn.1001da70
mov eax, dword [0x1003e830]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2898], 0x2880
lea eax, [ebp - 0x2898]
push eax
lea ecx, [ebp - 0x2888]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x2894], eax
cmp dword [ebp - 0x2894], 0
je 0x10016a3a
xor al, al
jmp 0x10016b77
lea edx, [ebp - 0x2888]
mov dword [ebp - 0x288c], edx
cmp dword [ebp - 0x288c], 0
jne 0x10016a56
xor al, al
jmp 0x10016b77
mov dword [ebp - 0x2890], 0
mov eax, dword [ebp - 0x288c]
movzx ecx, byte [eax + 0x194]
mov edx, dword [ebp - 0x288c]
movzx eax, byte [edx + 0x195]
and ecx, eax
mov edx, dword [ebp - 0x288c]
movzx eax, byte [edx + 0x196]
and ecx, eax
mov edx, dword [ebp - 0x288c]
movzx eax, byte [edx + 0x197]
and ecx, eax
mov edx, dword [ebp - 0x288c]
movzx eax, byte [edx + 0x198]
and ecx, eax
mov edx, dword [ebp - 0x288c]
movzx eax, byte [edx + 0x199]
and ecx, eax
cmp ecx, 0xff
jne 0x10016ac2
jmp 0x10016b40
mov ecx, dword [ebp - 0x288c]
movzx edx, byte [ecx + 0x194]
mov eax, dword [ebp - 0x288c]
movzx ecx, byte [eax + 0x195]
or edx, ecx
mov eax, dword [ebp - 0x288c]
movzx ecx, byte [eax + 0x196]
or edx, ecx
mov eax, dword [ebp - 0x288c]
movzx ecx, byte [eax + 0x197]
or edx, ecx
mov eax, dword [ebp - 0x288c]
movzx ecx, byte [eax + 0x198]
or edx, ecx
mov eax, dword [ebp - 0x288c]
movzx ecx, byte [eax + 0x199]
or edx, ecx
jne 0x10016b1e
jmp 0x10016b40
push 6
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x288c]
add eax, 0x194
push eax
call fcn.1001e60a
add esp, 0xc
test eax, eax
jne 0x10016b40
mov al, 1
jmp 0x10016b77
mov ecx, dword [ebp - 0x288c]
mov edx, dword [ecx]
mov dword [ebp - 0x288c], edx
cmp dword [ebp - 0x2890], 0x10
jle 0x10016b59
jmp 0x10016b75
mov eax, dword [ebp - 0x2890]
add eax, 1
mov dword [ebp - 0x2890], eax
cmp dword [ebp - 0x288c], 0
jne 0x10016a60
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001d57b
mov esp, ebp
pop ebp
ret

Function at 0x10016b90
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2898
call fcn.1001da70
mov eax, dword [0x1003e830]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2898], 0x2880
lea eax, [ebp - 0x2898]
push eax
lea ecx, [ebp - 0x2888]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x2894], eax
cmp dword [ebp - 0x2894], 0
je 0x10016bd7
xor al, al
jmp 0x10016c4e
lea edx, [ebp - 0x2888]
mov dword [ebp - 0x288c], edx
cmp dword [ebp - 0x288c], 0
jne 0x10016bf0
xor al, al
jmp 0x10016c4e
mov dword [ebp - 0x2890], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x288c]
add ecx, 0x1b0
push ecx
call fcn.10003d60
add esp, 8
test eax, eax
jne 0x10016c1b
mov al, 1
jmp 0x10016c4e
mov edx, dword [ebp - 0x288c]
mov eax, dword [edx]
mov dword [ebp - 0x288c], eax
cmp dword [ebp - 0x2890], 0x10
jle 0x10016c34
jmp 0x10016c4c
mov ecx, dword [ebp - 0x2890]
add ecx, 1
mov dword [ebp - 0x2890], ecx
cmp dword [ebp - 0x288c], 0
jne 0x10016bfa
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001d57b
mov esp, ebp
pop ebp
ret
Function at 0x10018f70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x1003e830]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x208], 0
push 0x1ff
push 0
lea eax, [ebp - 0x207]
push eax
call fcn.1001d590
add esp, 0xc
mov byte [ebp - 0x418], 0
push 0x1ff
push 0
lea ecx, [ebp - 0x417]
push ecx
call fcn.1001d590
add esp, 0xc
push 0x100df1a0
push str._sLogDump
lea edx, [ebp - 0x208]
push edx
call fcn.1001d9ee
add esp, 0xc
push 0
lea eax, [ebp - 0x208]
push eax
call fcn.10021228
add esp, 8
test eax, eax
je 0x10018ffa
push 0
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x100df7a0
push str._s.dmp
lea edx, [ebp - 0x418]
push edx
call fcn.1001d9ee
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x208]
push ecx
call fcn.1001e060
add esp, 8
push str.DBGHELP.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x214], eax
push str.MiniDumpWriteDump
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x438], eax
cmp dword [ebp - 0x438], 0
jne 0x10019062
xor eax, eax
jmp 0x1001918f
call fcn.1000b7a0
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x208]
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 0
jne 0x1001908e
mov dword [ebp - 0x43c], 0
jmp 0x10019102
mov ecx, dword [ebp - 0x434]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0x3fffffff
jle 0x100190bc
mov dword [ebp - 0x440], 0
jmp 0x100190f6
mov eax, dword [ebp - 0x20c]
shl eax, 1
call fcn.1001e390
mov dword [ebp - 0x444], esp
mov edx, dword [ebp - 0x430]
push edx
mov eax, dword [ebp - 0x20c]
push eax
mov ecx, dword [ebp - 0x434]
push ecx
mov edx, dword [ebp - 0x444]
push edx
call fcn.1000b7b0
mov dword [ebp - 0x440], eax
mov eax, dword [ebp - 0x440]
mov dword [ebp - 0x43c], eax
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
mov ecx, dword [ebp - 0x43c]
push ecx
call dword [0x1013e7c4]
mov dword [ebp - 0x41c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x42c], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], 0
push 0
push 0
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x42c]
and eax, ecx
push eax
push 0
mov edx, dword [ebp - 0x41c]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x438]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
lea esp, [ebp - 0x444]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001d57b
mov esp, ebp
pop ebp
ret
Function at 0x1001c110
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 4
mov dword [ebp - 8], 4
push 1
push 0x10039458
call fcn.1001b070
add esp, 8
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x1001c167
push 0
push 0x1003946c
call fcn.1001b070
add esp, 8
mov eax, dword [ebp + 0x14]
jmp 0x1001c2b2
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1001c1a8
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0x10039480
call fcn.1001b070
add esp, 8
mov eax, dword [ebp + 0x14]
jmp 0x1001c2b2
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0x10039494
call fcn.1001b070
add esp, 8
push str.tc_ssl
mov edx, dword [ebp + 0x10]
push edx
call fcn.10003d90
add esp, 8
test eax, eax
je 0x1001c2af
movzx eax, byte [0x100e5251]
test eax, eax
je 0x1001c2af
push 0x100394b0
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x1001c226
push 0x100394c4
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x1001c226
push 0x100394dc
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x1001c2af
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x18], 0
jmp 0x1001c23c
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.1001d4f0
add esp, 4
cmp dword [ebp - 0x18], eax
jae 0x1001c26a
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x18]
movsx ecx, byte [eax]
push ecx
call fcn.100219bf
add esp, 4
movsx edx, byte [ebp - 0x11]
add edx, eax
mov byte [ebp - 0x11], dl
jmp 0x1001c233
movsx eax, byte [ebp - 0x11]
and eax, 0x8000001f
jns 0x1001c27a
dec eax
or eax, 0xffffffe0
inc eax
mov byte [ebp - 0x11], al
movsx eax, byte [ebp - 0x11]
xor edx, edx
mov ecx, 0x20
div ecx
mov esi, dword [ebp - 4]
mov ecx, edx
shl esi, cl
movsx eax, byte [ebp - 0x11]
xor edx, edx
mov ecx, 0x20
div ecx
mov ecx, 0x20
sub ecx, edx
mov edx, dword [ebp - 4]
shr edx, cl
or esi, edx
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001c430
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
cmp dword [0x100ded84], 0
je 0x1001c447
xor eax, eax
jmp 0x1001c5af
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
movzx ecx, byte [0x100e5251]
test ecx, ecx
je 0x1001c523
push 0x10039540
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x1001c499
push 0x10039554
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x1001c499
push 0x1003956c
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x1001c523
mov byte [ebp - 9], 0
mov dword [ebp - 0x10], 0
jmp 0x1001c4af
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.1001d4f0
add esp, 4
cmp dword [ebp - 0x10], eax
jae 0x1001c4dd
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 0x10]
movsx edx, byte [ecx]
push edx
call fcn.100219bf
add esp, 4
movsx ecx, byte [ebp - 9]
add ecx, eax
mov byte [ebp - 9], cl
jmp 0x1001c4a6
movsx edx, byte [ebp - 9]
and edx, 0x8000001f
jns 0x1001c4ee
dec edx
or edx, 0xffffffe0
inc edx
mov byte [ebp - 9], dl
movsx eax, byte [ebp - 9]
xor edx, edx
mov ecx, 0x20
div ecx
mov esi, dword [ebp - 8]
mov ecx, edx
shr esi, cl
movsx eax, byte [ebp - 9]
xor edx, edx
mov ecx, 0x20
div ecx
mov ecx, 0x20
sub ecx, edx
mov edx, dword [ebp - 8]
shl edx, cl
or esi, edx
mov dword [ebp - 8], esi
push 1
push 0x10039578
call fcn.1001b070
add esp, 8
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x1001c55a
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x1001c594
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0x1003958c
call fcn.1001b070
add esp, 8
or eax, 0xffffffff
jmp 0x1001c5af
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0x100395a0
call fcn.1001b070
add esp, 8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001cac0
Capabilities:
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x31b0
call fcn.1001da70
mov eax, dword [0x1003e830]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x100e0004], 0x888
jne 0x1001cafa
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.in_Send8Str__s___s_
push 0
call fcn.1001a870
add esp, 0x10
movzx edx, byte [0x101df8b0]
test edx, edx
je 0x1001cb16
mov eax, dword [ebp + 0x10]
push eax
call fcn.1001c5c0
add esp, 4
jmp 0x1001cc76
lea ecx, [ebp - 0x198]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1001cb3f
mov edx, dword [ebp + 0x10]
push edx
push str.WSAStartup_err___s_
push 0
call fcn.1001a870
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
call fcn.10003ce0
add esp, 4
mov dword [ebp - 4], eax
mov byte [ebp - 0x2fb0], 0
push 0x2dff
push 0
lea ecx, [ebp - 0x2faf]
push ecx
call fcn.1001d590
add esp, 0xc
mov edx, dword [ebp + 0x10]
push edx
push 0x100396c4
lea eax, [ebp - 0x2fb0]
push eax
call fcn.1001d9ee
add esp, 0xc
mov byte [ebp - 0x1b1], 0
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0xffffffff
jne 0x1001cbbd
mov ecx, dword [ebp + 0x10]
push ecx
push str.socket_err___s_
push 0
call fcn.1001a870
add esp, 0xc
jmp 0x1001cc76
push 0x10
push 0
lea edx, [ebp - 0x1a8]
push edx
call fcn.10003ea0
add esp, 0xc
mov eax, 2
mov word [ebp - 0x1a8], ax
push 0x1f99
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1a6], ax
push str.127.0.0.1
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x1a4], eax
push 0x10
lea ecx, [ebp - 0x1a8]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
call fcn.1001d4f0
add esp, 4
add eax, 1
push eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x1ac]
push ecx
call dword [0x10136630]
cmp eax, 0xffffffff
jne 0x1001cc5b
lea edx, [ebp - 0x31b0]
push edx
call fcn.1001ad10
add esp, 4
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x31b0]
push ecx
push str.sendto_err_:__s___s_
push 0
call fcn.1001a870
add esp, 0x10
jmp 0x1001cc76
cmp dword [0x100e0004], 0x888
jne 0x1001cc76
push str.in_Send8Str_OK_send
push 0
call fcn.1001a870
add esp, 8
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1001d57b
mov esp, ebp
pop ebp
ret