joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416470
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6dcd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4cd00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
test ebx, ebx
je 0x4165ab
cmp word [ebx], 0
je 0x4165ab
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4165ab
test edi, edi
je 0x4165ab
cmp word [edi], 0
je 0x4165ab
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push eax
push eax
sub esp, 0x18
mov dword [ebp - 4], eax
mov ecx, esp
mov esi, edi
mov dword [ecx], eax
lea edx, [esi + 2]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x416510
sub esi, edx
sar esi, 1
push esi
push edi
call fcn.0040afa0
xor edx, edx
lea ecx, [ebp - 0x2c]
call fcn.00417220
add esp, 0x20
cmp dword [ebp - 0x1c], 0
je 0x416565
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416565
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x18]
mov esi, eax
cmp edx, 8
jb 0x4165a7
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41659d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4165cb
push edx
push ecx
call fcn.0044434d
add esp, 8
mov eax, esi
jmp 0x4165ad
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00443db6
mov esp, ebp
pop ebp
ret 4
call fcn.00447297
int3
Function at 0x4165e0
Capabilities:
Check if file exists
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6e15
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4cd00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
test edi, edi
je 0x4167ab
cmp word [edi], 0
je 0x4167ab
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call ebx
test eax, eax
je 0x4167ab
test esi, esi
je 0x4167ab
cmp word [esi], 0
je 0x4167ab
push esi
call ebx
test eax, eax
je 0x416811
mov ecx, esi
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416670
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040afa0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4166a3
test ecx, ecx
je 0x41673b
cmp edx, 8
lea eax, [ebp - 0x2c]
cmovae eax, ecx
cmp word [eax], 0
je 0x41673b
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
push 7
push str..jhtemp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.0040afa0
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0040b370
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x416735
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41672b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41681d
push edx
push ecx
call fcn.0044434d
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
cmp edx, 8
lea eax, [ebp - 0x2c]
push 1
cmovae eax, ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x416768
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 1
cmovae eax, dword [ebp - 0x2c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp word [esi], 0
je 0x4167cb
push esi
call ebx
test eax, eax
je 0x4167cb
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4167ab
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4167a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41681d
push edx
push ecx
call fcn.0044434d
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00443db6
mov esp, ebp
pop ebp
ret 4
push 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x18]
mov esi, eax
cmp edx, 8
jb 0x41680d
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416803
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41681d
push edx
push ecx
call fcn.0044434d
add esp, 8
mov eax, esi
jmp 0x4167ad
push 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x4167ad
call fcn.00447297
int3
Function at 0x417c70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword fs:[0x2c]
push ebx
push esi
push edi
mov esi, dword [eax]
mov edi, ecx
mov eax, dword [0x4d6ec0]
mov ebx, edx
mov dword [ebp - 4], edi
cmp eax, dword [esi + 4]
jle 0x417cc6
push 0x4d6ec0
call fcn.00443ee1
add esp, 4
cmp dword [0x4d6ec0], 0xffffffff
jne 0x417cc6
push str.xmbpcbrowser_sinx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x4d6ec0
mov dword [0x4d6ec4], eax
call fcn.00443e97
add esp, 4
cmp dword [0x4d6e78], 0
jne 0x417d7b
xor eax, eax
nop word [eax + eax]
mov byte [eax + 0x4d6d78], al
inc eax
cmp eax, 0x100
jl 0x417ce0
mov esi, dword [0x4d6ec4]
xor ecx, ecx
mov eax, ecx
cdq
idiv esi
mov al, byte [edx + str.xmbpcbrowser_sinx]
mov byte [ecx + 0x4d6c78], al
inc ecx
cmp ecx, 0x100
jl 0x417cf6
xor edi, edi
xor esi, esi
nop dword [eax]
nop dword [eax + eax]
mov dl, byte [esi + 0x4d6d78]
movzx eax, byte [esi + 0x4d6c78]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x417d44
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x4d6d78]
xor al, dl
mov byte [esi + 0x4d6d78], al
xor byte [edi + 0x4d6d78], al
movzx eax, byte [edi + 0x4d6d78]
xor byte [esi + 0x4d6d78], al
inc esi
cmp esi, 0x100
jl 0x417d20
mov edi, dword [ebp - 4]
mov dword [0x4d6e78], 1
xor esi, esi
xor edx, edx
test ebx, ebx
jle 0x417daf
movzx eax, dl
movzx eax, byte [eax + 0x4d6d78]
add esi, eax
and esi, 0x800000ff
jns 0x417d9f
dec esi
or esi, 0xffffff00
inc esi
mov al, byte [esi + 0x4d6d78]
lea ecx, [edx + edi]
xor byte [ecx], al
inc edx
cmp edx, ebx
jl 0x417d83
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4191a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a724e
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4cd00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 1
lea edx, [ecx + 2]
mov dword [ebp - 0x28], 0x720050
mov dword [ebp - 0x24], 0x660065
mov dword [ebp - 0x20], 0x720065
mov dword [ebp - 0x1c], 0x6e0065
mov dword [ebp - 0x18], 0x650063
mov dword [ebp - 0x14], 0x73
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419230
sub ecx, edx
lea eax, [ebp - 0x28]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040afa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443db6
mov esp, ebp
pop ebp
ret
Function at 0x41adc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a74de
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4cd00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], esi
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x38], 1
lea edx, [ecx + 2]
mov dword [ebp - 0x34], 0x480053
mov dword [ebp - 0x30], 0x4c0045
mov dword [ebp - 0x2c], 0x44004c
mov dword [ebp - 0x28], 0x4c004c
mov dword [ebp - 0x24], 0x44005f
mov dword [ebp - 0x20], 0x660065
mov dword [ebp - 0x1c], 0x690056
mov dword [ebp - 0x18], 0x770065
mov word [ebp - 0x14], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ae60
sub ecx, edx
lea eax, [ebp - 0x34]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040afa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443db6
mov esp, ebp
pop ebp
ret

Function at 0x41af60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a752e
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4cd00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], 1
lea edx, [ecx + 2]
mov dword [ebp - 0x2c], 0x690044
mov dword [ebp - 0x28], 0x650072
mov dword [ebp - 0x24], 0x740063
mov dword [ebp - 0x20], 0x490055
mov dword [ebp - 0x1c], 0x570048
mov dword [ebp - 0x18], 0x44004e
mov word [ebp - 0x14], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41aff0
sub ecx, edx
lea eax, [ebp - 0x2c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040afa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443db6
mov esp, ebp
pop ebp
ret
Function at 0x41b830
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a75ed
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4cd00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], edx
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], eax
call fcn.0041bf90
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a760
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x41b8c7
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b8bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ba04
push edx
push ecx
call fcn.0044434d
add esp, 8
cmp dword [ebp - 0x18], 8
lea ebx, [ebp - 0x2c]
push 0
cmovae ebx, dword [ebp - 0x2c]
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x41b9ae
add esi, 0x20
push esi
call fcn.0044f172
mov edi, eax
add esp, 4
test edi, edi
je 0x41b9ae
push edi
push esi
push 0
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x41b9a5
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], 0
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x14], 0
push eax
push 0x4bd6c0
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x41b9a5
mov eax, dword [ebp - 0x30]
movzx esi, word [eax + 0xa]
movzx edx, word [eax + 8]
movzx ecx, word [eax + 0xe]
movzx eax, word [eax + 0xc]
push eax
push ecx
push edx
push esi
lea eax, [ebp - 0x4c]
push str._d._d._d._d
push eax
call fcn.00417000
mov ecx, dword [ebp - 0x34]
add esp, 0x18
push eax
call fcn.0040abe0
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x41b995
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b98b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ba09
push edx
push ecx
call fcn.0044434d
add esp, 8
push edi
call fcn.004470c0
add esp, 4
mov esi, 1
jmp 0x41b9b0
push edi
call fcn.004470c0
add esp, 4
xor esi, esi
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x41b9e6
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b9dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ba0e
push edx
push ecx
call fcn.0044434d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443db6
mov esp, ebp
pop ebp
ret
call fcn.00447297
call fcn.00447297
call fcn.00447297
int3
Function at 0x41be10
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a76e7
mov eax, dword fs:[0]
push eax
mov eax, 0x2010
call fcn.0049ed70
mov eax, dword [0x4cd00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x2018], edi
mov dword [ebp - 0x201c], edi
xor eax, eax
mov dword [ebp - 0x2014], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
push 0x2000
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x2010]
mov dword [ebp - 0x2014], 1
push eax
call fcn.00445940
add esp, 0xc
lea eax, [ebp - 0x2010]
push 0
push esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41bed3
lea ecx, [ebp - 0x2010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41beb5
sub ecx, edx
lea eax, [ebp - 0x2010]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040afa0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443db6
mov esp, ebp
pop ebp
ret

Function at 0x41bef0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2008
call fcn.0049ed70
mov eax, dword [0x4cd00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x2000
mov esi, ecx
lea eax, [ebp - 0x2004]
push 0
mov dword [ebp - 0x2008], esi
push eax
mov dword [ebp - 0x2008], esi
call fcn.00445940
add esp, 0xc
lea eax, [ebp - 0x2004]
push eax
push 0xfff
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [esi], 0
lea ecx, [ebp - 0x2004]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
lea edx, [ecx + 2]
mov word [esi], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41bf60
sub ecx, edx
lea eax, [ebp - 0x2004]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040afa0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00443db6
mov esp, ebp
pop ebp
ret
Function at 0x41c150
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.0049ed70
mov eax, dword [0x4cd00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4ce704]
cmp eax, 0xffffff9c
jne 0x41c24e
push 0x1000
lea eax, [ebp - 0x2004]
mov dword [0x4ce704], 0xffffffff
push 0
push eax
call fcn.00445940
push 0x1000
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.00445940
add esp, 0x18
lea eax, [ebp - 0x2004]
push 0xfff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp byte [ebp - 0x2004], 0
je 0x41c2a8
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x2004]
push edi
push eax
lea eax, [ebp - 0x1004]
mov dword [0x4ce704], 0
push eax
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x1004]
push str.System
push eax
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
lea eax, [ebp - 0x1004]
push eax
call ebx
test eax, eax
je 0x41c25c
lea eax, [ebp - 0x2004]
push eax
lea eax, [ebp - 0x1004]
push eax
call esi
push str.System32
lea eax, [ebp - 0x1004]
push eax
call edi
lea eax, [ebp - 0x1004]
push eax
call ebx
test eax, eax
je 0x41c25c
mov dword [0x4ce704], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00443db6
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4ce704]
test eax, eax
jne 0x41c24b
lea eax, [ebp - 0x2004]
push eax
lea eax, [ebp - 0x1004]
push eax
call esi
push str.SysWOW64
lea eax, [ebp - 0x1004]
push eax
call edi
lea eax, [ebp - 0x1004]
push eax
call ebx
dec eax
neg eax
pop edi
sbb eax, eax
inc eax
pop esi
mov dword [0x4ce704], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00443db6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [0x4ce704]
xor ecx, ebp
call fcn.00443db6
mov esp, ebp
pop ebp
ret
Function at 0x41cf90
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a783d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x4cd00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push edx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41d092
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x41d036
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41d092
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00417f40
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x30]
push 0
push ecx
push dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x41d07d
cmp eax, 0xffffffff
je 0x41d07d
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00417f40
jmp 0x41d092
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
cmovae eax, dword [ebp - 0x2c]
mov byte [eax], 0
movups xmm0, xmmword [ebp - 0x2c]
mov dword [esi], 0
mov eax, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00443db6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x41d0e0
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a787d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4cd00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x3c], esi
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x34], 0
push 0x408
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
call fcn.0040b510
mov edx, eax
mov dword [ebp - 0x24], 0x400
xor eax, eax
mov dword [ebp - 0x20], 0x407
mov ecx, 0x200
mov edi, edx
rep stosd dword es:[edi], eax
mov word [edx + 0x800], ax
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x38]
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
mov edi, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x400
push ecx
cmovae eax, edx
mov dword [ebp - 0x1c], 0x44
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push ebx
push 0
call edi
mov esi, eax
test esi, esi
jne 0x41d205
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41d205
cmp dword [ebp - 0x1c], 0x44
jbe 0x41d1ae
xor ebx, ebx
jmp 0x41d20c
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x400
jbe 0x41d1e3
mov eax, dword [ebp - 0x24]
cmp ecx, eax
ja 0x41d1d6
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], ecx
cmovae eax, dword [ebp - 0x34]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x41d1e3
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x34]
call fcn.00427a50
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x3c]
push ebx
push 0
call edi
mov esi, eax
xor ebx, ebx
test esi, esi
setne bl
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x41d242
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d238
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d260
push edx
push ecx
call fcn.0044434d
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00443db6
mov esp, ebp
pop ebp
ret
call fcn.00447297
int3
Function at 0x41d270
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a78d7
mov eax, dword fs:[0]
push eax
mov eax, 0x4028
call fcn.0049ed70
mov eax, dword [0x4cd00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x4014], esi
mov dword [ebp - 0x4014], esi
mov dword [ebp - 0x401c], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4d6ec8]
cmp eax, dword [ecx + 4]
jle 0x41d31c
push 0x4d6ec8
call fcn.00443ee1
add esp, 4
cmp dword [0x4d6ec8], 0xffffffff
jne 0x41d31c
push 0x4accb0
mov dword [0x4d6ecc], 0
mov dword [0x4d6edc], 0
mov dword [0x4d6ee0], 0xf
call fcn.00444338
add esp, 4
push 0x4d6ec8
call fcn.00443e97
add esp, 4
cmp dword [0x4d6edc], 0
jne 0x41d470
push 0x2000
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.00445940
add esp, 0xc
mov dword [ebp - 0x4014], 0x1000
lea eax, [ebp - 0x4014]
push eax
lea eax, [ebp - 0x2010]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x41d470
push 0x2000
lea eax, [ebp - 0x4010]
push 0
push eax
call fcn.00445940
add esp, 8
lea edx, [ebp - 0x4010]
lea ecx, [ebp - 0x2010]
call fcn.0041d0e0
add esp, 4
test eax, eax
je 0x41d470
mov dword [ebp - 4], 0
lea eax, [ebp - 0x4018]
push eax
lea eax, [ebp - 0x4010]
mov dword [ebp - 0x4034], 0
push eax
mov dword [ebp - 0x4024], 0
mov dword [ebp - 0x4020], 0xf
mov byte [ebp - 0x4034], 0
mov dword [ebp - 0x401c], 2
mov dword [ebp - 0x4018], 0
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidA]
test eax, eax
je 0x41d422
mov edx, dword [ebp - 0x4018]
mov ecx, edx
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d400
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x4034]
call fcn.0040a9e0
push dword [ebp - 0x4018]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x4034]
mov ecx, 0x4d6ecc
push eax
call fcn.0040abe0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x4020]
cmp edx, 0x10
jb 0x41d470
mov ecx, dword [ebp - 0x4034]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41d466
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d499
push edx
push ecx
call fcn.0044434d
add esp, 8
push 0x4d6ecc
mov ecx, esi
call fcn.0040acf0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443db6
mov esp, ebp
pop ebp
ret
call fcn.00447297
int3