joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420510
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae9f7
mov eax, dword fs:[0]
push eax
mov eax, 0x2010
call fcn.004a63c0
mov eax, dword [0x4d500c]
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.00472940
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 0x4205d3
lea ecx, [ebp - 0x2010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4205b5
sub ecx, edx
lea eax, [ebp - 0x2010]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00404350
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.0044ae26
mov esp, ebp
pop ebp
ret

Function at 0x4205f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2008
call fcn.004a63c0
mov eax, dword [0x4d500c]
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.00472940
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 0x420660
sub ecx, edx
lea eax, [ebp - 0x2004]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00404350
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0044ae26
mov esp, ebp
pop ebp
ret
Function at 0x420690
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ade3d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4d500c]
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 edi, ecx
test edi, edi
je 0x4207c2
cmp word [edi], 0
je 0x4207c2
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push eax
push eax
sub esp, 0x18
mov dword [ebp - 4], eax
mov ecx, esp
lea ebx, [ebp - 0x28]
mov esi, edi
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
lea edx, [esi + 2]
mov dword [ecx + 0x14], 7
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x420710
sub esi, edx
sar esi, 1
push esi
push edi
call fcn.00404350
xor edx, edx
mov ecx, ebx
call fcn.0041a900
push 2
mov ecx, edi
call fcn.00428110
add esp, 0x24
test eax, eax
je 0x420746
mov ecx, eax
call fcn.004282e0
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
jb 0x420756
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x420785
cmp word [esi], 0
je 0x420785
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x420785
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov ecx, esi
test eax, eax
je 0x420780
push 1
call fcn.004335c0
add esp, 4
jmp 0x420785
call fcn.00433240
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4207bb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4207b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4207e0
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov eax, 1
jmp 0x4207c4
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 - 0x10]
xor ecx, ebp
call fcn.0044ae26
mov esp, ebp
pop ebp
ret
call fcn.0047aa50
int3
Function at 0x420aa0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.004a63c0
mov eax, dword [0x4d500c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4d65e0]
cmp eax, 0xffffff9c
jne 0x420b9e
push 0x1000
lea eax, [ebp - 0x2004]
mov dword [0x4d65e0], 0xffffffff
push 0
push eax
call fcn.00472940
push 0x1000
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.00472940
add esp, 0x18
lea eax, [ebp - 0x2004]
push 0xfff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp byte [ebp - 0x2004], 0
je 0x420bf8
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 [0x4d65e0], 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 0x420bac
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 0x420bac
mov dword [0x4d65e0], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044ae26
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4d65e0]
test eax, eax
jne 0x420b9b
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 [0x4d65e0], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044ae26
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [0x4d65e0]
xor ecx, ebp
call fcn.0044ae26
mov esp, ebp
pop ebp
ret
Function at 0x4218e0
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 0x4aeb8d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x4d500c]
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 0x4219e2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x421986
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4219e2
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041b7d0
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 0x4219cd
cmp eax, 0xffffffff
je 0x4219cd
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041b7d0
jmp 0x4219e2
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.0044ae26
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x421a30
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aebcd
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4d500c]
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.00404980
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 0x421b55
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x421b55
cmp dword [ebp - 0x1c], 0x44
jbe 0x421afe
xor ebx, ebx
jmp 0x421b5c
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x400
jbe 0x421b33
mov eax, dword [ebp - 0x24]
cmp ecx, eax
ja 0x421b26
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 0x421b33
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x34]
call fcn.0042de90
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 0x421b92
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421b88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421bb0
push edx
push ecx
call fcn.0044b3bd
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.0044ae26
mov esp, ebp
pop ebp
ret
call fcn.0047aa50
int3
Function at 0x421bc0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aec27
mov eax, dword fs:[0]
push eax
mov eax, 0x4028
call fcn.004a63c0
mov eax, dword [0x4d500c]
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 [0x4def2c]
cmp eax, dword [ecx + 4]
jle 0x421c6c
push 0x4def2c
call fcn.0044af51
add esp, 4
cmp dword [0x4def2c], 0xffffffff
jne 0x421c6c
push 0x4b3d40
mov dword [0x4def30], 0
mov dword [0x4def40], 0
mov dword [0x4def44], 0xf
call fcn.0044b3a8
add esp, 4
push 0x4def2c
call fcn.0044af07
add esp, 4
cmp dword [0x4def40], 0
jne 0x421dc0
push 0x2000
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.00472940
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 0x421dc0
push 0x2000
lea eax, [ebp - 0x4010]
push 0
push eax
call fcn.00472940
add esp, 8
lea edx, [ebp - 0x4010]
lea ecx, [ebp - 0x2010]
call fcn.00421a30
add esp, 4
test eax, eax
je 0x421dc0
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 0x421d72
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 0x421d50
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x4034]
call fcn.00404570
push dword [ebp - 0x4018]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x4034]
mov ecx, 0x4def30
push eax
call fcn.004041b0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x4020]
cmp edx, 0x10
jb 0x421dc0
mov ecx, dword [ebp - 0x4034]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x421db6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421de9
push edx
push ecx
call fcn.0044b3bd
add esp, 8
push 0x4def30
mov ecx, esi
call fcn.00404280
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.0044ae26
mov esp, ebp
pop ebp
ret
call fcn.0047aa50
int3
Function at 0x422060
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aecad
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4d500c]
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 ebx, edx
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], 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
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4220c5
sub esi, edx
sar esi, 1
push esi
push edi
call fcn.00404350
xor edx, edx
lea ecx, [ebp - 0x30]
call fcn.0041a900
add esp, 0x20
cmp dword [ebp - 0x20], 0
je 0x422114
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x422114
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x30]
cmovae ecx, dword [ebp - 0x30]
call fcn.00426b60
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42213c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42216a
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0xffffffff
push eax
push dword [ebp + 8]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
je 0x422164
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x18]
jmp 0x42216d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x4221a3
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422199
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4221c1
push edx
push ecx
call fcn.0044b3bd
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 - 0x14]
xor ecx, ebp
call fcn.0044ae26
mov esp, ebp
pop ebp
ret
call fcn.0047aa50
int3
Function at 0x4257a0
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push 0
push 0
push ebx
push 0x4c7708
push 0
mov esi, 0x32
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x4257eb
mov eax, esi
dec esi
test eax, eax
jle 0x4257f4
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push 0
push 0
push ebx
push 0x4c7708
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x4257c4
pop edi
pop esi
mov eax, 1
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x425bc0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4d500c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xorps xmm0, xmm0
mov edx, ecx
xor edi, edi
movq qword [ebp - 0x14], xmm0
push 0x100401
lea ecx, [ebp - 0x14]
mov dword [ebp - 0xc], edi
call fcn.004259c0
mov ebx, dword [ebp - 0x10]
add esp, 4
mov esi, dword [ebp - 0x14]
sub ebx, esi
sar ebx, 2
test ebx, ebx
je 0x425c57
mov eax, dword [esi]
mov edi, 1
mov dword [ebp - 0x18], eax
cmp ebx, edi
jle 0x425c29
nop
push 0
push dword [esi + edi*4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [esi + edi*4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, ebx
jl 0x425c10
mov ecx, dword [ebp - 0xc]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x425c4b
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425c9a
push ecx
push esi
call fcn.0044b3bd
mov edi, dword [ebp - 0x18]
jmp 0x425c84
test esi, esi
je 0x425c87
mov ecx, dword [ebp - 0xc]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x425c7d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425c9a
push ecx
push esi
call fcn.0044b3bd
add esp, 8
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ae26
mov esp, ebp
pop ebp
ret
call fcn.0047aa50
int3
Function at 0x425ca0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4d500c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x100401
xorps xmm0, xmm0
mov edx, ecx
push 1
push 0
lea ecx, [ebp - 0xc]
movlpd qword [ebp - 0xc], xmm0
call fcn.00432ee0
add esp, 0xc
cmp dword [ebp - 8], 0
jbe 0x425d45
mov esi, dword [ebp - 0xc]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x425d45
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, dword [esi + 0x14]
test edi, edi
je 0x425d03
push 0
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x425d29
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x425d25
cmp esi, dword [eax + 8]
jne 0x425d25
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x425d15
mov esi, eax
jmp 0x425d3f
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x425d3f
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x425d33
cmp byte [esi + 0xd], 0
je 0x425ce8
lea ecx, [ebp - 0xc]
call fcn.00409cc0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ae26
mov esp, ebp
pop ebp
ret
Function at 0x427e60
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ade3d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4d500c]
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 edi, edx
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], 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
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x427ec5
sub esi, edx
sar esi, 1
push esi
push edi
call fcn.00404350
xor edx, edx
lea ecx, [ebp - 0x28]
call fcn.0041a900
add esp, 0x20
cmp dword [ebp - 0x18], 0
je 0x427f14
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x427f14
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.00426b60
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x14]
mov esi, eax
cmp edx, 8
jb 0x427f56
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427f4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427f74
push edx
push ecx
call fcn.0044b3bd
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.0044ae26
mov esp, ebp
pop ebp
ret
call fcn.0047aa50
int3

Function at 0x42b960
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afa28
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4d500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
test esi, esi
je 0x42ba38
cmp word [esi], 0
je 0x42ba38
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42ba38
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.004218e0
push 0x78
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00472940
add esp, 0xc
lea ecx, [ebp - 0xa0]
call fcn.00441970
push ecx
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xa0]
call fcn.00441a90
lea ecx, [ebp - 0xa0]
call fcn.00422390
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x42ba31
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42ba27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ba55
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov eax, 1
jmp 0x42ba3a
xor eax, eax
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.0044ae26
mov esp, ebp
pop ebp
ret
call fcn.0047aa50
int3
Function at 0x42d1d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x4d500c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x800
mov esi, ecx
lea eax, [ebp - 0x804]
push 0
mov dword [ebp - 0x808], esi
push eax
mov dword [ebp - 0x808], esi
call fcn.00472940
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x3ff
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp word [ebp - 0x804], 0
je 0x42d24c
push 0x4c7cc4
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
jne 0x42d24c
push 0x4c7cc4
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
xor eax, eax
mov dword [esi], 0
lea ecx, [ebp - 0x804]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
lea edx, [ecx + 2]
mov word [esi], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d270
sub ecx, edx
lea eax, [ebp - 0x804]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00404350
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0044ae26
mov esp, ebp
pop ebp
ret