joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44fc30
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
push esi
push edi
mov byte [ebp - 0x404], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x403]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x80c], 0
mov dword [ebp - 0x808], 0
mov byte [ebp - 0x804], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x803]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 4], 0x400
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x50]
push ecx
push 0x54f140
lea edx, [ebp - 0x404]
push edx
call fcn.0051700e
add esp, 0xc
lea eax, [ebp - 0x80c]
push eax
push 0x20007
push 0
push 0x54f14c
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x44fd2d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x44fce8
xor edx, edx
test edx, edx
je 0x44fce8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x810], ecx
jmp 0x44fcf2
mov dword [ebp - 0x810], 0xffffff86
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x810]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x267
push 0xffffffffffffff86
mov ecx, dword [ebp + 8]
push ecx
call fcn.00419d30
add esp, 0x1c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
jmp 0x44fe4e
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x804]
push ecx
mov edx, dword [ebp - 0x808]
mov dword [ebp - 0x814], edx
mov eax, dword [ebp - 0x814]
push eax
mov ecx, dword [ebp - 0x80c]
push ecx
mov edx, dword [ebp - 0x808]
add edx, 1
mov dword [ebp - 0x808], edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x44fe3f
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x804], 0
lea ecx, [ebp - 0x404]
push ecx
call fcn.005197d0
add esp, 4
push eax
lea edx, [ebp - 0x404]
push edx
lea eax, [ebp - 0x804]
push eax
call fcn.00519b2e
add esp, 0xc
test eax, eax
jne 0x44fe33
mov ecx, dword [ebp + 0xc]
add ecx, 4
push ecx
call fcn.005197d0
add esp, 4
push eax
mov edx, dword [ebp + 0xc]
add edx, 4
push edx
lea eax, [ebp - 0x804]
push eax
call fcn.005197d0
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 0xc]
add ecx, 4
push ecx
call fcn.005197d0
add esp, 4
sub esi, eax
lea edx, [ebp + esi - 0x804]
push edx
call fcn.00519b2e
add esp, 0xc
test eax, eax
jne 0x44fe33
lea eax, [ebp - 0x804]
push eax
mov ecx, dword [ebp - 0x80c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.LM_BORROW
mov edx, dword [ebp - 0x80c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044fe54
add esp, 8
mov dword [ebp - 4], 0x400
jmp 0x44fd2d
mov edx, dword [ebp - 0x80c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4519d4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x10], 0xffffff9d
jne 0x451a29
mov dword [0x54f250], 0xffffffff
mov dword [ebp - 8], 0
jmp 0x4519fc
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jae 0x451a24
mov ecx, dword [ebp - 8]
shl ecx, 4
mov dword [ecx + 0x54f218], 0
mov edx, dword [ebp - 8]
shl edx, 4
mov dword [edx + 0x54f21c], 0
jmp 0x4519f3
jmp 0x451bd7
cmp dword [ebp + 0x10], 4
jb 0x451a45
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x30]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x451bd7
cmp dword [ebp + 0x10], 0
jl 0x451a51
cmp dword [ebp + 0x10], 4
jb 0x451a56
jmp 0x451bd7
cmp dword [0x54f250], 0
jge 0x451a68
cmp dword [0x54f250], 4
jae 0x451a7f
push 0
mov eax, dword [0x54f250]
shl eax, 4
mov ecx, dword [eax + 0x54f218]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp + 0x10]
mov dword [0x54f250], edx
mov eax, dword [0x54f250]
shl eax, 4
cmp dword [eax + 0x54f21c], 0
jne 0x451ac8
mov ecx, dword [0x54f250]
shl ecx, 4
mov edx, dword [ecx + 0x54f218]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00451bdb
add esp, 8
mov ecx, dword [0x54f250]
shl ecx, 4
mov dword [ecx + 0x54f21c], 1
push 0
push 0
push 0xaec
mov edx, dword [0x54f250]
shl edx, 4
mov eax, dword [edx + 0x54f218]
push eax
mov ecx, dword [0x54f250]
shl ecx, 4
call dword [ecx + 0x54f210]
push 5
mov edx, dword [0x54f250]
shl edx, 4
mov eax, dword [edx + 0x54f218]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 8], 0
jmp 0x451b1a
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 3
jae 0x451bd7
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x54f258]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x451bd2
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x54f25c]
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx + eax + 0x138]
and edx, 1
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*8 + 0x54f25c]
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax + edx + 0x138]
and ecx, 2
test ecx, ecx
je 0x451bd2
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x54f25c]
imul eax, eax, 0x32
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax + 0x13b]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*8 + 0x54f25c]
mov eax, dword [ebp + 0xc]
mov cl, byte [eax + edx + 0x138]
and cl, 0xfd
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x54f25c]
mov edx, dword [ebp + 0xc]
mov byte [edx + eax + 0x138], cl
jmp 0x451b11
mov esp, ebp
pop ebp
ret
Function at 0x45b833
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov dword [ebp - 0x404], 0
push 0x400
lea eax, [ebp - 0x400]
push eax
call sub.WSOCK32.dll_gethostname
test eax, eax
jne 0x45b870
lea ecx, [ebp - 0x400]
push ecx
call fcn.0045bc55
add esp, 4
mov dword [ebp - 0x404], eax
mov eax, dword [ebp - 0x404]
mov esp, ebp
pop ebp
ret

Function at 0x45bc55
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x40c], 0
push 1
call fcn.0045c79a
add esp, 4
test eax, eax
jne 0x45bc8b
mov eax, dword [ebp - 0x408]
jmp 0x45bd48
mov dword [ebp - 0x40c], 0
mov eax, dword [ebp + 8]
push eax
call sub.WSOCK32.dll_gethostbyname
mov dword [ebp - 0x404], eax
cmp dword [ebp - 0x404], 0
jne 0x45bcb8
mov eax, dword [ebp - 0x408]
jmp 0x45bd48
push 0x400
lea ecx, [ebp - 0x400]
push ecx
mov edx, dword [ebp - 0x404]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x404]
movsx eax, word [edx + 8]
push eax
call fcn.0045bec2
add esp, 0x10
test eax, eax
jne 0x45bcef
mov eax, dword [ebp - 0x408]
jmp 0x45bd48
lea ecx, [ebp - 0x400]
push ecx
mov edx, dword [ebp - 0x404]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x404]
movsx eax, word [edx + 8]
push eax
call fcn.0045c663
add esp, 0x10
mov dword [ebp - 0x408], eax
mov ecx, dword [ebp - 0x404]
movsx edx, word [ecx + 0xa]
push edx
mov eax, dword [ebp - 0x404]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x408]
push eax
call fcn.0045c754
add esp, 0xc
mov eax, dword [ebp - 0x408]
mov esp, ebp
pop ebp
ret
Function at 0x45c79a
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
cmp dword [0x565f90], 0
je 0x45c7b3
mov eax, 1
jmp 0x45c7f1
mov word [ebp - 0x194], 0x101
lea eax, [ebp - 0x190]
push eax
mov cx, word [ebp - 0x194]
push ecx
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x45c7e2
call sub.WSOCK32.dll_WSAGetLastError
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
jmp 0x45c7f1
mov dword [0x565f90], 1
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x45d4c7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x45d508
cmp dword [ebp + 0x10], 0
je 0x45d508
cmp dword [ebp + 0x14], 0
je 0x45d508
cmp dword [ebp + 0x18], 0
jne 0x45d50d
jmp 0x45d5ec
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045c893
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x45d5ec
cmp dword [ebp - 0xc], 0
je 0x45d5ec
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 0x14]
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]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x45d5ec
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00415ba0
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45d5ec
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x45d5ec
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 1
je 0x45d5be
mov edx, dword [ebp + 0x14]
cmp dword [edx], 2
jne 0x45d5d7
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0045cd57
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x45d5ec
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
cmp dword [ebp - 0x10], 0
je 0x45d605
mov eax, dword [ebp - 0x10]
push eax
call fcn.00415dce
add esp, 4
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x14], 0
je 0x45d61e
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00415dce
add esp, 4
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x45d625
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x45d666
cmp dword [ebp + 0x10], 0
je 0x45d666
cmp dword [ebp + 0x14], 0
je 0x45d666
cmp dword [ebp + 0x18], 0
jne 0x45d66b
jmp 0x45d74a
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045cb5a
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45d74a
cmp dword [ebp - 0xc], 0
je 0x45d74a
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x45d74a
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00415ba0
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x45d74a
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x45d74a
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 1
je 0x45d71c
mov edx, dword [ebp + 0x14]
cmp dword [edx], 2
jne 0x45d735
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0045cc03
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x45d74a
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
cmp dword [ebp - 0x14], 0
je 0x45d763
mov eax, dword [ebp - 0x14]
push eax
call fcn.00415dce
add esp, 4
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x10], 0
je 0x45d77c
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00415dce
add esp, 4
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x45d7e7
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x45d821
cmp dword [ebp + 0x10], 0
je 0x45d821
cmp dword [ebp + 0x18], 0
je 0x45d821
cmp dword [ebp + 0x1c], 0
jne 0x45d826
jmp 0x45d8b0
cmp dword [ebp + 0x14], 1
je 0x45d832
cmp dword [ebp + 0x14], 2
jne 0x45d891
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0045c893
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x45d851
jmp 0x45d8b0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0045c893
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45d870
jmp 0x45d8b0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], eax
jmp 0x45d8b0
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x10], 0
je 0x45d8c9
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00415dce
add esp, 4
mov dword [ebp - 0x10], 0
cmp dword [ebp - 8], 0
je 0x45d8e2
mov edx, dword [ebp - 8]
push edx
call fcn.00415dce
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x45d8e9
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x45d923
cmp dword [ebp + 0x10], 0
je 0x45d923
cmp dword [ebp + 0x18], 0
je 0x45d923
cmp dword [ebp + 0x1c], 0
jne 0x45d928
jmp 0x45d9ba
cmp dword [ebp + 0x14], 1
je 0x45d934
cmp dword [ebp + 0x14], 2
jne 0x45d99b
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0045cb5a
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x45d953
jmp 0x45d9ba
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0045cb5a
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45d972
jmp 0x45d9ba
mov eax, dword [ebp - 0xc]
shl eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], eax
jmp 0x45d9ba
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x10], 0
je 0x45d9d3
mov edx, dword [ebp - 0x10]
push edx
call fcn.00415dce
add esp, 4
mov dword [ebp - 0x10], 0
cmp dword [ebp - 8], 0
je 0x45d9ec
mov eax, dword [ebp - 8]
push eax
call fcn.00415dce
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x45da3f
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
je 0x45da79
cmp dword [ebp + 0xc], 0
jne 0x45da79
jmp 0x45db21
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
cmp dword [ebp - 0x10], 0
je 0x45db21
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00415ba0
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x45db21
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45db21
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0045cd57
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x45db21
cmp dword [ebp + 0x10], 0
je 0x45db1b
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x10]
jle 0x45daf5
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.00518980
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00518610
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
cmp dword [ebp - 0xc], 0
je 0x45db3a
mov edx, dword [ebp - 0xc]
push edx
call fcn.00415dce
add esp, 4
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
je 0x45db53
mov eax, dword [ebp - 0xc]
push eax
call fcn.00415dce
add esp, 4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x45db5a
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0x10], 0
je 0x45db94
cmp dword [ebp + 0xc], 0
jne 0x45db94
jmp 0x45dc3e
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp dword [ebp - 0x10], 0
je 0x45dc3e
mov edx, dword [ebp - 0x10]
shl edx, 1
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00415ba0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x45dc3e
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45dc3e
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0045cc03
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x45dc3e
cmp dword [ebp + 0x10], 0
je 0x45dc38
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x10]
jle 0x45dc12
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.00518980
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00518610
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 0
je 0x45dc57
mov edx, dword [ebp - 8]
push edx
call fcn.00415dce
add esp, 4
mov dword [ebp - 8], 0
cmp dword [ebp - 0xc], 0
je 0x45dc70
mov eax, dword [ebp - 0xc]
push eax
call fcn.00415dce
add esp, 4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x464e41
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov byte [ebp - 0x3c], 0x71
mov byte [ebp - 0x3b], 0xd5
mov byte [ebp - 0x3a], 0xac
mov byte [ebp - 0x39], 0xe3
mov byte [ebp - 0x38], 0xb3
mov byte [ebp - 0x37], 0x2b
mov byte [ebp - 0x36], 0x77
mov byte [ebp - 0x35], 0x6f
mov byte [ebp - 0x34], 0xcc
mov byte [ebp - 0x33], 0x37
mov byte [ebp - 0x32], 0x9f
mov byte [ebp - 0x31], 0x94
mov byte [ebp - 0x30], 0x8f
mov byte [ebp - 0x2f], 0x7f
mov byte [ebp - 0x2e], 0xa9
mov byte [ebp - 0x2d], 0xd6
mov byte [ebp - 0x2c], 0xec
mov byte [ebp - 0x2b], 0x9a
mov byte [ebp - 0x2a], 0x82
mov byte [ebp - 0x29], 0xcc
mov byte [ebp - 0x28], 0xa6
mov byte [ebp - 0x27], 0xef
mov byte [ebp - 0x26], 0x6e
mov byte [ebp - 0x25], 0x61
mov byte [ebp - 0x24], 0x77
mov byte [ebp - 0x23], 0xb8
mov byte [ebp - 0x22], 0x41
mov byte [ebp - 0x21], 0x25
mov byte [ebp - 0x20], 0x94
mov byte [ebp - 0x1f], 0xd7
mov byte [ebp - 0x1e], 0xe2
mov byte [ebp - 0x1d], 0xca
mov byte [ebp - 0x1c], 0x48
mov byte [ebp - 0x1b], 0x2a
mov byte [ebp - 0x1a], 0x73
mov byte [ebp - 0x19], 0x35
mov byte [ebp - 0x18], 0x33
mov byte [ebp - 0x17], 0x1e
mov byte [ebp - 0x16], 0x6a
mov byte [ebp - 0x15], 0xb8
mov byte [ebp - 0x14], 0x2d
mov byte [ebp - 0x13], 0x67
mov byte [ebp - 0x12], 0xb5
mov byte [ebp - 0x11], 0x8f
mov byte [ebp - 0x10], 0xce
mov byte [ebp - 0xf], 0x43
mov byte [ebp - 0xe], 0xff
mov byte [ebp - 0xd], 0x2b
mov byte [ebp - 0xc], 0xf9
mov byte [ebp - 0xb], 0x97
mov byte [ebp - 0xa], 6
mov byte [ebp - 9], 0xfe
mov byte [ebp - 8], 0xd2
mov byte [ebp - 7], 0x11
mov byte [ebp - 6], 0xec
mov byte [ebp - 5], 0x47
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x464f79
cmp dword [ebp + 0xc], 0
je 0x464f79
cmp dword [ebp + 0x10], 0
je 0x464f79
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0x38
jbe 0x464f51
mov dword [ebp - 0x40], 0x38
jmp 0x464f59
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00518610
add esp, 0xc
jmp 0x464f8f
cmp dword [ebp + 0x10], 0
je 0x464f88
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov dword [ebp - 4], 0xffffffd6
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret