joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007ff24
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1007ff6e
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1007ff15
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1007ff24
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x10485bc7
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1007ff75
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10066deb
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10080014
add edi, 4
add eax, 2
dec ecx
jne 0x1007ff5a
call 0x1007ffc1
loope 0x1007ffb7
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10080011
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10080022
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1007ffd5
cmp eax, ecx
ja 0x1007ffd5
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1008005f
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10080055
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100672ca
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x417e10
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc0
push esi
mov dword [esp + 4], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [0x4c6adc]
push ecx
call sub.IMM32.dll_ImmGetContext
test esi, esi
mov dword [0x4c6adc], eax
je 0x417e53
lea edx, [esp + 4]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
pop esi
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xe]
invalid

Function at 0x48b02c
Capabilities:
Encode data using xor

Disassembly:
sub dl, byte [edi + 0x36802849]
bound eax, qword [edx + 0x54af85d9]
invalid
invalid
scasd eax, dword es:[edi]
push esp

Function at 0x4bb3b5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c3390
cmp edx, dword [eax]
je 0x4bb3d7
add eax, 8
inc ecx
cmp eax, 0x4c3420
jl 0x4bb3c8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c3390]
jne 0x4bb505
mov eax, dword [0x4c7d1c]
cmp eax, 1
je 0x4bb4df
test eax, eax
jne 0x4bb408
cmp dword [0x4c32b8], 1
je 0x4bb4df
cmp edx, 0xfc
je 0x4bb505
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bb43f
lea eax, [ebp - 0x1a4]
push 0x4c0848
push eax
call fcn.004bbda0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bc230
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bb482
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bc230
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c0844
push edi
call fcn.004be100
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c0828
push eax
call fcn.004bbda0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bbdb0
lea eax, [ebp - 0xa0]
push 0x4c0824
push eax
call fcn.004bbdb0
push dword [esi + 0x4c3394]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bbdb0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c07fc
push eax
call fcn.004be074
add esp, 0x2c
pop edi
jmp 0x4bb505
lea eax, [ebp + 8]
lea esi, [esi + 0x4c3394]
push 0
push eax
push dword [esi]
call fcn.004bc230
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x41bc71
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor edx, edx
mov esi, edi
push 2
pop ebx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, ebx
cmp ax, dx
jne 0x41bc84
sub esi, ecx
xor ecx, ecx
sar esi, 1
lea eax, [esi + 1]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0050d510
mov ebx, eax
sub eax, edi
pop ecx
movzx ecx, word [edi]
mov word [eax + edi], cx
lea edi, [edi + 2]
test cx, cx
jne 0x41bcab
xor edi, edi
mov byte [ebp + 0xb], 1
test esi, esi
js 0x41bcfc
push 0x5c
pop eax
cmp word [ebx + edi*2], ax
jne 0x41bcf1
xor eax, eax
push ebx
mov word [ebx + edi*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41bcea
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41bcf8
push 0x5c
pop eax
mov word [ebx + edi*2], ax
inc edi
cmp edi, esi
jle 0x41bcc7
jmp 0x41bcfc
mov byte [ebp + 0xb], 0
push ebx
call fcn.0050ce93
mov al, byte [ebp + 0xb]
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41bd0b
Capabilities:
Get disk information

Disassembly:
push 0x3c
mov eax, 0x622b75
call fcn.0050d9f6
mov edi, dword [ebp + 8]
xor ebx, ebx
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x40], ax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
test eax, eax
je 0x41bdf2
movzx eax, word [eax]
lea ecx, [ebp - 0x40]
push eax
call fcn.0041bc4a
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x41bdf2
lea esi, [eax + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0050d510
push esi
mov ebx, eax
push 0
push ebx
call fcn.00526600
add esp, 0x10
push ebx
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x41bdeb
xor eax, eax
mov esi, ebx
mov word [ebp - 0x42], ax
movzx eax, word [ebx]
cmp dword [ebp - 0x2c], 8
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 2
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0052bbad
add esp, 0xc
test eax, eax
je 0x41bde0
movzx eax, word [esi]
add esi, 2
test ax, ax
jne 0x41bdcb
movzx eax, word [esi]
test ax, ax
je 0x41bdeb
jmp 0x41bda9
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
call fcn.0041bc4a
push ebx
call fcn.0050ce93
pop ecx
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00402ab0
lea ecx, [ebp - 0x40]
call fcn.00402a10
lea ecx, [ebp - 0x28]
call fcn.00402a10
mov eax, edi
call fcn.0050d9a0
ret
Function at 0x41be15
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6b6538]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push 0x208
xor edi, edi
mov dword [ebp - 0x210], esi
push edi
push eax
call fcn.00526600
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
add esp, 0xc
or ecx, 0x8000
cmp byte [ebp + 0x10], 0
cmove ecx, dword [ebp + 0xc]
push eax
push edi
push edi
push ecx
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, esi
test eax, eax
je 0x41be75
push edi
jmp 0x41be7c
lea eax, [ebp - 0x20c]
push eax
call fcn.00402af0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0050ce82
leave
ret

Function at 0x41c8a2
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax], 0
and dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret 4

Function at 0x41cb23
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x6b6538]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41cb52
push 2
pop eax
jmp 0x41cbd7
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.0041c9db
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.00526600
add esp, 0x14
mov dword [ebp - 0x58], edi
test ebx, ebx
mov dword [ebp - 0x48], esi
mov ecx, str.open
mov dword [ebp - 0x54], 0x40
mov eax, 0x62b7f8
cmove eax, ecx
cmp dword [ebp - 8], 8
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
and dword [ebp - 0x40], 0
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x20], 0
mov esi, eax
je 0x41cbcd
cmp dword [ebp + 0x10], 0
je 0x41cbcd
push dword [ebp + 0x14]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x1c]
call fcn.00402a10
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050ce82
leave
ret
Function at 0x41df80
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
push ebx
push edi
je 0x41e030
cmp dword [ebp + 0xc], 0
je 0x41e030
push 0
push 0x80
push 3
push 0
push 5
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41dfc5
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41e033
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov dword [ebp - 8], edi
cmp edi, 0xffffffff
je 0x41dfbd
jb 0x41dfe1
push 8
pop eax
jmp 0x41e033
push esi
mov esi, eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41dfed
mov dword [eax], edi
inc esi
push esi
call fcn.0050d510
mov ecx, dword [ebp + 0xc]
push esi
xor esi, esi
push esi
push eax
mov dword [ecx], eax
call fcn.00526600
add esp, 0x10
mov dword [ebp + 8], esi
lea eax, [ebp + 8]
push esi
push eax
mov eax, dword [ebp + 0xc]
push edi
push dword [eax]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop esi
test eax, eax
je 0x41dfbd
cmp dword [ebp + 8], edi
jne 0x41e030
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x41e033
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret

Function at 0x41e037
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
push ebx
xor ebx, ebx
push edi
mov edi, ebx
cmp dword [eax + 0x10], ebx
je 0x41e148
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x10], ebx
je 0x41e147
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x41e066
mov eax, dword [esi]
lea ecx, [ebp - 0xc]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
test eax, eax
je 0x41e147
push 0x6c291c
push eax
call fcn.0050d737
mov dword [ebp - 4], eax
pop ecx
pop ecx
test eax, eax
je 0x41e147
cmp dword [esi + 0x14], 0x10
jb 0x41e09b
mov esi, dword [esi]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push esi
call sub.VERSION.dll_GetFileVersionInfoA
mov esi, dword [ebp - 4]
test eax, eax
je 0x41e135
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41e135
mov eax, dword [ebp - 0x10]
push 0x6c291c
push 0x80
movzx ecx, word [eax]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
mov dword [ebp - 8], ecx
call fcn.0050d737
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x41e135
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
jb 0x41e0fe
mov eax, dword [eax]
push eax
push dword [ebp - 8]
push str.StringFileInfo_08lx_s
push 0x80
push edi
call fcn.0041ac38
add esp, 0x14
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41e133
push dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
call fcn.00409430
mov bl, 1
push esi
call fcn.0050ce93
pop ecx
test edi, edi
je 0x41e147
push edi
call fcn.0050ce93
pop ecx
pop esi
pop edi
mov al, bl
pop ebx
leave
ret
Function at 0x41e14e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
test eax, eax
je 0x41e1b1
xor edi, edi
cmp word [eax], di
je 0x41e1b1
push edi
push 0x80
push 2
push edi
push edi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41e187
pop edi
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41e1a6
pop edi
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x41e1b4
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret

Function at 0x41ec5d
Capabilities:
Check mutex on windows

Disassembly:
push 0x1c
mov eax, 0x6230c7
call fcn.0050d9c2
mov esi, ecx
lea ecx, [ebp - 0x28]
call fcn.00423963
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0042397c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0xc
call fcn.00423978
push dword [ebp + 8]
and dword [ebp - 0x10], 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
lea ecx, [ebp - 0x28]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 4], eax
call fcn.00423973
call fcn.0050d98b
ret 4
Function at 0x4235a0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x868
mov eax, 0x62373c
call fcn.0050d9f6
mov esi, ecx
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x828]
mov edx, dword [ebp + 0x18]
test edx, edx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x870], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x86c], edi
mov dword [ebp - 0x86c], eax
mov eax, 0x6a18f4
cmovne eax, edx
push eax
call fcn.00402af0
xor ecx, ecx
add esi, 4
mov dword [ebp - 4], ecx
mov dword [ebp - 0x85c], ecx
mov dword [ebp - 0x868], ecx
mov dword [ebp - 0x864], ecx
mov dword [ebp - 0x860], ecx
cmp dword [esi + 0x10], ecx
ja 0x42362f
lea eax, [ebp - 0x858]
push eax
call fcn.0042077c
pop ecx
push eax
mov ecx, esi
call fcn.00402a70
lea ecx, [ebp - 0x858]
call fcn.00402a10
xor ecx, ecx
cmp dword [esi + 0x14], 8
jb 0x423637
mov esi, dword [esi]
lea eax, [ebp - 0x85c]
push eax
push 0x20119
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push reloc.WS2_32.dll_closesocket
call esi
test eax, eax
je 0x423677
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x828]
cmovae ecx, dword [ebp - 0x828]
push ecx
mov ecx, edi
call fcn.00402af0
jmp 0x4237fe
lea eax, [ebp - 0x868]
push eax
push 0x20119
push 0
push 0x62bb88
push dword [ebp - 0x85c]
call esi
test eax, eax
je 0x4236b9
push dword [ebp - 0x85c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
jmp 0x42366b
lea eax, [ebp - 0x864]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x868]
call esi
test eax, eax
je 0x4236ec
push dword [ebp - 0x868]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x85c]
call esi
jmp 0x4236a2
lea eax, [ebp - 0x860]
xor ebx, ebx
push eax
push 0x20119
push ebx
push dword [ebp - 0x870]
push dword [ebp - 0x864]
call esi
test eax, eax
je 0x423723
push dword [ebp - 0x860]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x864]
jmp 0x4236e0
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.00526600
add esp, 0xc
mov dword [ebp - 0x874], 0x400
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x86c]
push dword [ebp - 0x860]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x860]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x864]
call esi
push dword [ebp - 0x868]
call esi
push dword [ebp - 0x85c]
call esi
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x423793
sub ecx, edx
sar ecx, 1
je 0x4236a2
xor eax, eax
mov dword [ebp - 0x830], ebx
mov word [ebp - 0x840], ax
lea ecx, [ebp - 0x840]
lea eax, [ebp - 0x810]
mov dword [ebp - 0x82c], 7
push eax
call fcn.004029b0
cmp dword [ebp - 0x82c], 8
lea eax, [ebp - 0x840]
mov ecx, edi
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x840]
push eax
call fcn.00402af0
lea ecx, [ebp - 0x840]
call fcn.00402a10
lea ecx, [ebp - 0x828]
call fcn.00402a10
mov eax, edi
call fcn.0050d9a0
ret 0x14
Function at 0x4ff330
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90c
mov eax, dword [0x6b6538]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x104]
push esi
push edi
push 0x80
push 0
push eax
mov dword [ebp - 0x908], ebx
call fcn.00526600
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.00526600
mov esi, dword [ebx + 0x134]
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x90c], edi
mov eax, dword [esi + 0x1eb8]
sub eax, dword [esi + 0x1eb4]
add eax, 2
push eax
lea eax, [esi + 0x1cb4]
push eax
push 0x3c
push ebx
call fcn.004fe8a0
mov eax, dword [esi + 0x1eb4]
add esp, 0x28
mov cl, byte [eax]
inc eax
mov dword [esi + 0x1eb4], eax
cmp cl, 0x18
je 0x4ff518
cmp cl, 0x23
je 0x4ff4f2
cmp cl, 0x27
jne 0x4ff5a6
push 0
push 0x27
push 0xfa
push 0xff
push str._c_c_c_c
lea eax, [ebp - 0x904]
push 0x800
push eax
call fcn.004dc810
mov esi, dword [esi + 0x1cb0]
add esp, 0x1c
mov edi, 4
mov eax, 0x800
test esi, esi
je 0x4ff491
nop
mov edx, dword [esi]
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ff417
sub ecx, ebx
lea ebx, [edi + 1]
add ebx, ecx
cmp ebx, 0x7fa
jae 0x4ff47f
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x104]
push eax
push str._127_____127s
push edx
call fcn.00425682
add esp, 0x10
test eax, eax
je 0x4ff47f
lea eax, [ebp - 0x84]
push eax
push 1
lea eax, [ebp - 0x104]
push eax
push 0
mov eax, 0x800
sub eax, edi
push str._c_s_c_s
push eax
lea eax, [ebp - 0x904]
add eax, edi
push eax
call fcn.004dc810
add esp, 0x1c
mov edi, ebx
mov esi, dword [esi + 4]
test esi, esi
jne 0x4ff410
mov ebx, dword [ebp - 0x908]
mov eax, 0x800
push 0xf0
push 0xff
sub eax, edi
push str._c_c
push eax
lea eax, [ebp - 0x904]
add eax, edi
push eax
call fcn.004dc810
add esp, 0x14
lea eax, [edi + 2]
push 0
push eax
lea eax, [ebp - 0x904]
push eax
mov eax, dword [ebp - 0x90c]
push dword [eax + 0x148]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x4ff4ec
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.004d8f20
add esp, 0xc
push edi
jmp 0x4ff594
lea edx, [esi + 0x1c28]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ff500
push 0xf0
push 0xff
push edx
push 0
push 0x23
jmp 0x4ff539
lea edx, [esi + 0x1c08]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ff523
push 0xf0
push 0xff
push edx
push 0
push 0x18
push 0xfa
push 0xff
push str._c_c_c_c_s_c_c
sub ecx, esi
lea eax, [ebp - 0x904]
push 0x800
push eax
lea esi, [ecx + 6]
call fcn.004dc810
add esp, 0x28
lea eax, [ebp - 0x904]
push 0
push esi
push eax
push dword [edi + 0x148]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x4ff590
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.004d8f20
add esp, 0xc
lea eax, [esi - 2]
push eax
lea eax, [ebp - 0x902]
push eax
push 0x3e
push ebx
call fcn.004fe8a0
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050ce82
mov esp, ebp
pop ebp
ret