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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0041b4b0
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x41d7b2
test ecx, ecx
je 0x41d7df
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x41d7df
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
test eax, eax
je 0x41d7df
mov bl, 1
jmp 0x41d7e1
xor bl, bl
cmp edx, 8
jb 0x41d811
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d807
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d818
push edx
push ecx
call fcn.00429ebb
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004679af
int3

Function at 0x41d820
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0041c040
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x41d842
test ecx, ecx
je 0x41d86f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x41d86f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
test eax, eax
je 0x41d86f
mov bl, 1
jmp 0x41d871
xor bl, bl
cmp edx, 8
jb 0x41d8a1
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d897
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d8a8
push edx
push ecx
call fcn.00429ebb
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004679af
int3

Function at 0x41d8b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x41d8c5
mov ecx, dword [esi]
test ecx, ecx
je 0x41d937
mov ecx, esi
cmp eax, 8
jb 0x41d8d2
mov ecx, dword [esi]
cmp word [ecx], 0
je 0x41d937
mov ecx, esi
cmp eax, 8
jb 0x41d8e1
mov ecx, dword [esi]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d937
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x10], 0
je 0x41d937
mov ebx, 5
nop word [eax + eax]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x41d90a
mov eax, dword [edi]
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x41d914
mov ecx, dword [esi]
push 1
push eax
push ecx
call fcn.004517f0
test eax, eax
jne 0x41d930
test ebx, ebx
jle 0x41d937
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
dec ebx
jmp 0x41d900
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret

Function at 0x41dc90
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x41dcba
lea eax, [esi + 0xc]
push eax
push 0
push esi
push 0x41dc60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
jne 0x41dcba
xor al, al
pop esi
ret
mov al, 1
pop esi
ret
Function at 0x41dcc0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x41dcf8
push 0x927c0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41dce8
push 1
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
xor eax, eax
pop esi
ret
Function at 0x420450
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
jne 0x420460
xor al, al
pop ebp
ret
cmp dword [eax + 0x14], 8
jb 0x420468
mov eax, dword [eax]
push esi
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x420493
test esi, esi
je 0x42048e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
xor al, al
pop esi
pop ebp
ret
Function at 0x4208a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x4208b3
mov ecx, dword [esi]
test ecx, ecx
je 0x42092a
mov ecx, esi
cmp eax, 8
jb 0x4208c0
mov ecx, dword [esi]
cmp word [ecx], 0
je 0x42092a
mov ecx, esi
cmp eax, 8
jb 0x4208cf
mov ecx, dword [esi]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42092a
cmp byte [ebp + 0x10], 0
mov eax, dword [esi + 0x14]
mov dword [ebp + 8], 0
je 0x42090b
cmp eax, 8
jb 0x4208f1
mov esi, dword [esi]
push 0
push 0
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0045b0f0
mov eax, dword [ebp + 8]
add esp, 0x14
pop esi
pop ebp
ret
cmp eax, 8
jb 0x420912
mov esi, dword [esi]
push 0
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0045ae00
mov eax, dword [ebp + 8]
add esp, 0x10
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x425a10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e925
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.0041abb0
add esp, 4
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x425a4e
test ecx, ecx
je 0x425ac1
cmp edx, 8
lea eax, [ebp - 0x24]
cmovae eax, ecx
cmp word [eax], 0
je 0x425ac1
cmp edx, 8
lea eax, [ebp - 0x24]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425abb
push esi
push 0
lea ecx, [ebp - 0x3c]
call fcn.00480d60
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.004506d0
push esi
call fcn.004259d0
add esp, 0x10
lea ecx, [ebp - 0x3c]
mov bl, al
call fcn.004811d0
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
pop esi
jmp 0x425ac3
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
xor bl, bl
cmp edx, 8
jb 0x425af3
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x425ae9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425b04
push edx
push ecx
call fcn.00429ebb
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.004679af
int3
Function at 0x426960
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e98d
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.0041abb0
add esp, 4
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x4269a2
test ecx, ecx
je 0x426b60
cmp edx, 8
lea eax, [ebp - 0x40]
cmovae eax, ecx
cmp word [eax], 0
je 0x426b60
cmp edx, 8
lea eax, [ebp - 0x40]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x426b5a
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.00437130
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.004258f0
add esp, 0x14
test al, al
je 0x426ae4
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x426a45
lea eax, [ebp - 0x58]
cmp ecx, eax
je 0x426a45
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push eax
call fcn.00410b20
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x426a60
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x426a60
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push eax
call fcn.00410b20
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x426a94
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x426a8a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426ba3
push edx
push ecx
call fcn.00429ebb
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 0x426ada
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x426ad0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426ba3
push edx
push ecx
call fcn.00429ebb
add esp, 8
mov edx, dword [ebp - 0x2c]
mov bl, 1
mov ecx, dword [ebp - 0x40]
jmp 0x426b62
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x426b18
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x426b0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426ba3
push edx
push ecx
call fcn.00429ebb
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 0x426b5a
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x426b50
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426ba3
push edx
push ecx
call fcn.00429ebb
add esp, 8
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x2c]
xor bl, bl
cmp edx, 8
jb 0x426b92
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426b88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426ba8
push edx
push ecx
call fcn.00429ebb
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.004679af
call fcn.004679af
int3
Function at 0x42d770
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.0042d800
add esp, 4
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
jmp 0x42d7a2
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jge 0x42d7f6
mov eax, dword [ebp - 4]
and eax, 0x800000ff
jns 0x42d7bb
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 0x42d7d5
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 0x42d799
mov eax, dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x42f8b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push esi
push edi
mov dword [ebp - 8], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x42f94a
push 0x22c
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.00464f70
add esp, 0xc
mov dword [ebp - 0x234], 0x22c
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42f940
mov eax, dword [ebp - 0x22c]
cmp eax, dword [ebp + 8]
jne 0x42f92c
mov dword [ebp - 8], 1
mov ecx, 0x8b
lea esi, [ebp - 0x234]
mov edi, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
jmp 0x42f940
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42f908
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4329a0
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 0x4329d1
cmp dword [ebp + 0xc], 0
je 0x4329d1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
je 0x4329d1
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4329d8
xor eax, eax
jmp 0x432ac2
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 0x432a01
xor eax, eax
jmp 0x432ac2
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 0x432abf
push 0x44
push 0
lea ecx, [ebp - 0x60]
push ecx
call fcn.00464f70
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 0x432abf
mov dword [ebp - 0xc], 1
cmp dword [ebp + 0x14], 0
je 0x432a9f
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 0x432aaf
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0
je 0x432abf
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 0x432bb0
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.00464f70
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 0x432c2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
xor eax, eax
jmp 0x432c62
cmp dword [ebp - 0x10], 0
je 0x432c3d
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0
je 0x432c5d
cmp dword [ebp + 0x14], 0
je 0x432c53
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
jmp 0x432c5d
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 0x434530
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 0x432960
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x434595
push 0xea60
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x434584
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 0x434597
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x436120
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.004709e0
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.004078d0
push 0xb
push 0
lea ecx, [ebp - 0x14]
push ecx
call fcn.00464f70
add esp, 0xc
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x437cd0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x183c
call fcn.00429f00
mov dword [ebp - 0x14], 0
mov eax, dword [0x4ccc44]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x4cd1c8]
cmp eax, dword [edx + 4]
jle 0x437d3a
push 0x4cd1c8
call fcn.0042a28b
add esp, 4
cmp dword [0x4cd1c8], 0xffffffff
jne 0x437d3a
mov ecx, 0x4cd1b0
call fcn.0042c0f0
push 0x4a23f0
call fcn.0042a167
add esp, 4
push 0x4cd1c8
call fcn.0042a241
add esp, 4
mov ecx, dword [0x4cd1c0]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x437d52
mov dword [ebp - 8], 1
jmp 0x437d59
mov dword [ebp - 8], 0
mov dl, byte [ebp - 8]
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
test eax, eax
je 0x437e23
push 0x1000
push 0
lea ecx, [ebp - 0x183c]
push ecx
call fcn.00464f70
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 0x437dfe
push 0x800
push 0
lea ecx, [ebp - 0x83c]
push ecx
call fcn.00464f70
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.00438d40
add esp, 0xc
test eax, eax
je 0x437dfe
mov edx, dword [ebp - 0xc]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.0042ea00
add esp, 8
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, 0x4cd1b0
call fcn.00404a00
lea ecx, [ebp - 0x3c]
call fcn.00430f80
mov edx, dword [0x4cd1c0]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jne 0x437e16
mov dword [ebp - 0x10], 1
jmp 0x437e1d
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
mov byte [ebp - 2], al
push 0x4cd1b0
mov ecx, dword [ebp + 8]
call fcn.004040e0
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 0x438a80
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 0x438ac6
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jge 0x438b1c
movzx ecx, word [ebp - 0x44]
mov edx, dword [ebp - 4]
cmp ecx, dword [edx*8 + 0x4cb1d0]
jne 0x438b1a
cmp dword [ebp + 8], 0
je 0x438b16
mov eax, dword [ebp - 4]
mov ecx, dword [eax*8 + 0x4cb1d4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004709e0
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.004078d0
mov al, 1
jmp 0x438b56
jmp 0x438abd
cmp dword [ebp + 8], 0
je 0x438b54
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax*8 + 0x4cb1cc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.004709e0
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.004078d0
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x438b60
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov dword [ebp - 4], 0xffffffff
cmp dword [0x4cb250], 0
je 0x438cb8
push 0x800
push 0
lea eax, [ebp - 0x80c]
push eax
call fcn.00464f70
add esp, 0xc
push 0x3ff
lea ecx, [ebp - 0x80c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x438c01
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x80c]
test ecx, ecx
je 0x438c01
push str.SysWOW64
lea edx, [ebp - 0x80c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x438bea
mov dword [ebp - 8], 1
jmp 0x438bf1
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [0x4cb250], 0
cmp dword [ebp - 4], 1
je 0x438cb8
cmp dword [0x4cd1cc], 0
jne 0x438c24
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4cd1cc], eax
cmp dword [0x4cd1cc], 0
je 0x438cb8
cmp dword [0x4cd1d0], 0
jne 0x438c51
push str.GetSystemWow64DirectoryW
mov edx, dword [0x4cd1cc]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cd1d0], eax
cmp dword [0x4cd1d0], 0
je 0x438cb8
push 0x800
push 0
lea eax, [ebp - 0x80c]
push eax
call fcn.00464f70
add esp, 0xc
push 0x3ff
lea ecx, [ebp - 0x80c]
push ecx
call dword [0x4cd1d0]
test eax, eax
je 0x438cb8
lea edx, [ebp - 0x80c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x438ca1
mov dword [ebp - 0xc], 1
jmp 0x438ca8
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [0x4cb250], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x441eb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fd7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
lea ecx, [ebp - 0x78]
call fcn.0042c1c0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x78]
push ecx
call fcn.004411f0
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 0x441f08
mov dword [ebp - 0x20], 1
jmp 0x441f0f
mov dword [ebp - 0x20], 0
mov dl, byte [ebp - 0x20]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x441f2b
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 0x441ff3
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 0x441f5f
mov dword [ebp - 0x28], 1
jmp 0x441f66
mov dword [ebp - 0x28], 0
mov al, byte [ebp - 0x28]
mov byte [ebp - 0xe], al
movzx ecx, byte [ebp - 0xe]
test ecx, ecx
je 0x441f82
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 0x441ff3
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 0x441fb6
mov dword [ebp - 0x30], 1
jmp 0x441fbd
mov dword [ebp - 0x30], 0
mov al, byte [ebp - 0x30]
mov byte [ebp - 0xf], al
movzx ecx, byte [ebp - 0xf]
test ecx, ecx
je 0x441fd9
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 0x442016
lea edx, [ebp - 0x78]
push edx
call fcn.00441cb0
add esp, 4
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00431070
mov eax, dword [ebp - 0x5c]
jmp 0x44202f
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00431070
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret