joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417650
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f825
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.0040ef90
add esp, 4
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x41768e
test ecx, ecx
je 0x417701
cmp edx, 8
lea eax, [ebp - 0x24]
cmovae eax, ecx
cmp word [eax], 0
je 0x417701
cmp edx, 8
lea eax, [ebp - 0x24]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4176fb
push esi
push 0
lea ecx, [ebp - 0x3c]
call fcn.00462250
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x3c]
test eax, eax
mov byte [ebp - 4], 1
push 1
cmovne esi, eax
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push esi
push eax
call fcn.0043e0e0
push esi
call fcn.00417610
add esp, 0x10
lea ecx, [ebp - 0x3c]
mov bl, al
call fcn.004626c0
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
pop esi
jmp 0x417703
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
xor bl, bl
cmp edx, 8
jb 0x417733
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417729
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417744
push edx
push ecx
call fcn.0041a2f9
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00448ebf
int3
Function at 0x4184c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f88d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.0040ef90
add esp, 4
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x418502
test ecx, ecx
je 0x4186c0
cmp edx, 8
lea eax, [ebp - 0x40]
cmovae eax, ecx
cmp word [eax], 0
je 0x4186c0
cmp edx, 8
lea eax, [ebp - 0x40]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4186ba
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00434060
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00417530
add esp, 0x14
test al, al
je 0x418644
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4185a5
lea eax, [ebp - 0x58]
cmp ecx, eax
je 0x4185a5
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push eax
call fcn.00402b90
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4185c0
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x4185c0
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push eax
call fcn.00402b90
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4185f4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4185ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418703
push edx
push ecx
call fcn.0041a2f9
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x41863a
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418630
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418703
push edx
push ecx
call fcn.0041a2f9
add esp, 8
mov edx, dword [ebp - 0x2c]
mov bl, 1
mov ecx, dword [ebp - 0x40]
jmp 0x4186c2
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x418678
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41866e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418703
push edx
push ecx
call fcn.0041a2f9
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x4186ba
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4186b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418703
push edx
push ecx
call fcn.0041a2f9
add esp, 8
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x2c]
xor bl, bl
cmp edx, 8
jb 0x4186f2
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4186e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418708
push edx
push ecx
call fcn.0041a2f9
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00448ebf
call fcn.00448ebf
int3
Function at 0x41bbc0
Capabilities:
Check if file exists
Create process on windows
Impersonate user

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
je 0x41bbf1
cmp dword [ebp + 0xc], 0
je 0x41bbf1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
je 0x41bbf1
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41bbf8
xor eax, eax
jmp 0x41bce2
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 2
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x41bc21
xor eax, eax
jmp 0x41bce2
lea edx, [ebp - 8]
push edx
push 1
push 1
push 0
push 0x2000000
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x41bcdf
push 0x44
push 0
lea ecx, [ebp - 0x60]
push ecx
call fcn.00446490
add esp, 0xc
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x58], str.winsta0default
mov dword [ebp - 0x34], 1
mov dx, word [ebp + 0x18]
mov word [ebp - 0x30], dx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x60]
push edx
push 0
push 0
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
test eax, eax
je 0x41bcdf
mov dword [ebp - 0xc], 1
cmp dword [ebp + 0x14], 0
je 0x41bcbf
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x18], 0
je 0x41bccf
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0
je 0x41bcdf
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41bdd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
push 0x44
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.00446490
add esp, 0xc
mov dword [ebp - 0x58], 0x44
mov ecx, dword [ebp - 0x2c]
or ecx, 1
mov dword [ebp - 0x2c], ecx
mov dx, word [ebp + 0x10]
mov word [ebp - 0x28], dx
mov dword [ebp - 0x50], str.WinSta0default
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x58]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41be4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
xor eax, eax
jmp 0x41be82
cmp dword [ebp - 0x10], 0
je 0x41be5d
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0
je 0x41be7d
cmp dword [ebp + 0x14], 0
je 0x41be73
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
jmp 0x41be7d
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x41dba0
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
push 0x41bb80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41dc05
push 0xea60
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41dbf4
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x41dc07
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x41ecd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47fa8d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1024
call fcn.0041a310
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x30]
call fcn.0041b8d0
mov dword [ebp - 4], 0
push 0x1000
push 0
lea eax, [ebp - 0x1030]
push eax
call fcn.00446490
add esp, 0xc
push 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x1030]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41ed62
lea eax, [ebp - 0x1030]
push eax
call fcn.00451945
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x1030]
push eax
lea ecx, [ebp - 0x30]
call fcn.00402e50
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041dfc0
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0041d970
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x41f0c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push 0x800
push 0
lea eax, [ebp - 0x808]
push eax
call fcn.00446490
add esp, 0xc
push 0x3ff
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x808]
test ecx, ecx
je 0x41f12d
push 0x489640
lea edx, [ebp - 0x808]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
jne 0x41f12d
push 0x489648
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x808]
push ecx
call fcn.00451945
add esp, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x808]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402e50
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x41f160
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push 0x800
push 0
lea eax, [ebp - 0x808]
push eax
call fcn.00446490
add esp, 0xc
push 0x3ff
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [ebp - 0x808]
push edx
call fcn.00451945
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x808]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402e50
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x421ee0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
call fcn.00421f70
add esp, 4
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
jmp 0x421f12
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jge 0x421f66
mov eax, dword [ebp - 4]
and eax, 0x800000ff
jns 0x421f2b
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + eax]
add edx, dword [ebp - 0xc]
and edx, 0x800000ff
jns 0x421f45
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
xor eax, ecx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov byte [ecx], al
jmp 0x421f09
mov eax, dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x425ec0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jne 0x425ed3
xor eax, eax
jmp 0x425fa6
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x1ffff
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x425f99
cmp dword [ebp - 4], 0
je 0x425f90
push 0
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.00425fb0
mov ecx, dword [ebp + 0x14]
call fcn.0041f310
mov dword [ebp - 0x14], eax
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0x1ffff
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x425f84
cmp dword [ebp + 0x18], 0
je 0x425f6d
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 4]
mov dword [edx], eax
cmp dword [ebp + 0x1c], 0
je 0x425f7b
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov dword [ebp - 0xc], 1
jmp 0x425f8e
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x425f97
mov dword [ebp - 0xc], 1
jmp 0x425fa3
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x429240
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov byte [ebp - 0x14], 0x70
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x63
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 0xb], 0x6e
mov byte [ebp - 0xa], 0
lea eax, [ebp - 0x14]
push eax
call fcn.00451c20
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.00410500
push 0xb
push 0
lea ecx, [ebp - 0x14]
push ecx
call fcn.00446490
add esp, 0xc
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x430470
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480a8d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
lea ecx, [ebp - 0x78]
call fcn.0041b8d0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x78]
push ecx
call fcn.0042f7b0
add esp, 8
lea edx, [ebp - 0x78]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x14], 8
jb 0x4304c8
mov dword [ebp - 0x20], 1
jmp 0x4304cf
mov dword [ebp - 0x20], 0
mov dl, byte [ebp - 0x20]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x4304eb
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0
je 0x4305b3
lea eax, [ebp - 0x78]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x14], 8
jb 0x43051f
mov dword [ebp - 0x28], 1
jmp 0x430526
mov dword [ebp - 0x28], 0
mov al, byte [ebp - 0x28]
mov byte [ebp - 0xe], al
movzx ecx, byte [ebp - 0xe]
test ecx, ecx
je 0x430542
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
movzx edx, word [ecx]
test edx, edx
je 0x4305b3
lea eax, [ebp - 0x78]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x14], 8
jb 0x430576
mov dword [ebp - 0x30], 1
jmp 0x43057d
mov dword [ebp - 0x30], 0
mov al, byte [ebp - 0x30]
mov byte [ebp - 0xf], al
movzx ecx, byte [ebp - 0xf]
test ecx, ecx
je 0x430599
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4305d6
lea edx, [ebp - 0x78]
push edx
call fcn.00430270
add esp, 4
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.0041d970
mov eax, dword [ebp - 0x5c]
jmp 0x4305ef
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.0041d970
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x435dc0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x183c
call fcn.0041a310
mov dword [ebp - 0x14], 0
mov eax, dword [0x4a4ad0]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x4a505c]
cmp eax, dword [edx + 4]
jle 0x435e2a
push 0x4a505c
call fcn.0041a6c3
add esp, 4
cmp dword [0x4a505c], 0xffffffff
jne 0x435e2a
mov ecx, 0x4a5044
call fcn.00420a20
push 0x482730
call fcn.0041a59f
add esp, 4
push 0x4a505c
call fcn.0041a679
add esp, 4
mov ecx, dword [0x4a5054]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x435e42
mov dword [ebp - 8], 1
jmp 0x435e49
mov dword [ebp - 8], 0
mov dl, byte [ebp - 8]
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
test eax, eax
je 0x435f13
push 0x1000
push 0
lea ecx, [ebp - 0x183c]
push ecx
call fcn.00446490
add esp, 0xc
mov dword [ebp - 0x1c], 0x800
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x183c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x435eee
push 0x800
push 0
lea ecx, [ebp - 0x83c]
push ecx
call fcn.00446490
add esp, 0xc
lea edx, [ebp - 0x83c]
mov dword [ebp - 0xc], edx
push 0x44
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 0x183c]
push ecx
call fcn.00436d80
add esp, 0xc
test eax, eax
je 0x435eee
mov edx, dword [ebp - 0xc]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.00423170
add esp, 8
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, 0x4a5044
call fcn.00413db0
lea ecx, [ebp - 0x3c]
call fcn.0041d880
mov edx, dword [0x4a5054]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jne 0x435f06
mov dword [ebp - 0x10], 1
jmp 0x435f0d
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
mov byte [ebp - 2], al
push 0x4a5044
mov ecx, dword [ebp + 8]
call fcn.00413a00
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x436b70
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov dword [ebp - 0xc], 0x10
mov dword [ebp - 4], 0
jmp 0x436bb6
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jge 0x436c0c
movzx ecx, word [ebp - 0x44]
mov edx, dword [ebp - 4]
cmp ecx, dword [edx*8 + 0x4a31d0]
jne 0x436c0a
cmp dword [ebp + 8], 0
je 0x436c06
mov eax, dword [ebp - 4]
mov ecx, dword [eax*8 + 0x4a31d4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00451c20
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp + 8]
call fcn.00410500
mov al, 1
jmp 0x436c46
jmp 0x436bad
cmp dword [ebp + 8], 0
je 0x436c44
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax*8 + 0x4a31cc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00451c20
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.00410500
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x436c50
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov dword [ebp - 8], 0xffffffff
cmp dword [0x4a3250], 0
je 0x436ced
push 0x400
push 0
lea eax, [ebp - 0x408]
push eax
call fcn.00446490
add esp, 0xc
push 0x3ff
lea ecx, [ebp - 0x408]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edx, 1
imul eax, edx, 0
movsx ecx, byte [ebp + eax - 0x408]
test ecx, ecx
je 0x436ced
push str.SysWOW64
lea edx, [ebp - 0x408]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x436cd6
mov dword [ebp - 4], 1
jmp 0x436cdd
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov dword [0x4a3250], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x439640
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
jne 0x439662
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jbe 0x439662
mov eax, 1
jmp 0x439732
mov dword [ebp - 0x10], 0x10
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
mov dword [ebp - 0x18], 3
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xffffffff
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x4396ad
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call fcn.0044f09c
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x439700
mov ecx, dword [ebp - 4]
add ecx, 8
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x6f
jne 0x4396f8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call fcn.0044eee5
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
jmp 0x439700
cmp dword [ebp - 8], 0
jne 0x439700
jmp 0x439715
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x18]
jl 0x43968f
cmp dword [ebp - 8], 0
jne 0x439730
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [edx + 0xc], ecx
mov eax, 1
jmp 0x439732
xor eax, eax
mov esp, ebp
pop ebp
ret 4