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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x18
mov ecx, dword [0x4a3b18]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4a3a50]
cmp eax, dword [ecx + 4]
jg 0x40dcec
mov edx, dword [0x4a204c]
mov ecx, dword [0x4a2038]
push esi
cmp edx, 8
jb 0x40dbdc
test ecx, ecx
je 0x40dc07
cmp edx, 8
mov eax, 0x4a2038
cmovae eax, ecx
cmp word [eax], 0
je 0x40dc07
cmp edx, 8
mov eax, 0x4a2038
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40dcd7
lea eax, [ebp - 0x18]
push eax
call fcn.004106f0
mov esi, eax
add esp, 4
cmp esi, 0x4a2038
je 0x40dca1
mov edx, dword [0x4a204c]
cmp edx, 8
jb 0x40dc61
mov ecx, dword [0x4a2038]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dc57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dd22
push edx
push ecx
call fcn.0041e1ec
add esp, 8
mov dword [0x4a2048], 0
xor eax, eax
mov dword [0x4a204c], 7
mov word [0x4a2038], ax
movups xmm0, xmmword [esi]
movups xmmword [0x4a2038], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x4a2048], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 4]
cmp edx, 8
jb 0x40dcd7
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dccd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dd22
push edx
push ecx
call fcn.0041e1ec
add esp, 8
mov ecx, dword [ebp + 8]
push 0x4a2038
call fcn.00401530
mov eax, dword [ebp + 8]
pop esi
mov esp, ebp
pop ebp
ret
push 0x4a3a50
call fcn.0041e5b3
add esp, 4
cmp dword [0x4a3a50], 0xffffffff
jne 0x40dbc6
push 0x485b20
call fcn.0041e48f
push 0x4a3a50
call fcn.0041e569
add esp, 8
jmp 0x40dbc6
call fcn.0044c29f
int3
Function at 0x40dd30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x18
mov ecx, dword [0x4a3b18]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4a3a5c]
cmp eax, dword [ecx + 4]
jg 0x40de7c
mov edx, dword [0x4a2094]
mov ecx, dword [0x4a2080]
push esi
cmp edx, 8
jb 0x40dd6c
test ecx, ecx
je 0x40dd97
cmp edx, 8
mov eax, 0x4a2080
cmovae eax, ecx
cmp word [eax], 0
je 0x40dd97
cmp edx, 8
mov eax, 0x4a2080
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40de67
lea eax, [ebp - 0x18]
push eax
call fcn.00410b90
mov esi, eax
add esp, 4
cmp esi, 0x4a2080
je 0x40de31
mov edx, dword [0x4a2094]
cmp edx, 8
jb 0x40ddf1
mov ecx, dword [0x4a2080]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dde7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40deb2
push edx
push ecx
call fcn.0041e1ec
add esp, 8
mov dword [0x4a2090], 0
xor eax, eax
mov dword [0x4a2094], 7
mov word [0x4a2080], ax
movups xmm0, xmmword [esi]
movups xmmword [0x4a2080], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x4a2090], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 4]
cmp edx, 8
jb 0x40de67
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40de5d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40deb2
push edx
push ecx
call fcn.0041e1ec
add esp, 8
mov ecx, dword [ebp + 8]
push 0x4a2080
call fcn.00401530
mov eax, dword [ebp + 8]
pop esi
mov esp, ebp
pop ebp
ret
push 0x4a3a5c
call fcn.0041e5b3
add esp, 4
cmp dword [0x4a3a5c], 0xffffffff
jne 0x40dd56
push 0x485b80
call fcn.0041e48f
push 0x4a3a5c
call fcn.0041e569
add esp, 8
jmp 0x40dd56
call fcn.0044c29f
int3
Function at 0x40dec0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x18
mov ecx, dword [0x4a3b18]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4a3a58]
cmp eax, dword [ecx + 4]
jg 0x40e00c
mov edx, dword [0x4a207c]
mov ecx, dword [0x4a2068]
push esi
cmp edx, 8
jb 0x40defc
test ecx, ecx
je 0x40df27
cmp edx, 8
mov eax, 0x4a2068
cmovae eax, ecx
cmp word [eax], 0
je 0x40df27
cmp edx, 8
mov eax, 0x4a2068
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40dff7
lea eax, [ebp - 0x18]
push eax
call fcn.00410d80
mov esi, eax
add esp, 4
cmp esi, 0x4a2068
je 0x40dfc1
mov edx, dword [0x4a207c]
cmp edx, 8
jb 0x40df81
mov ecx, dword [0x4a2068]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40df77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e042
push edx
push ecx
call fcn.0041e1ec
add esp, 8
mov dword [0x4a2078], 0
xor eax, eax
mov dword [0x4a207c], 7
mov word [0x4a2068], ax
movups xmm0, xmmword [esi]
movups xmmword [0x4a2068], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x4a2078], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 4]
cmp edx, 8
jb 0x40dff7
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dfed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e042
push edx
push ecx
call fcn.0041e1ec
add esp, 8
mov ecx, dword [ebp + 8]
push 0x4a2068
call fcn.00401530
mov eax, dword [ebp + 8]
pop esi
mov esp, ebp
pop ebp
ret
push 0x4a3a58
call fcn.0041e5b3
add esp, 4
cmp dword [0x4a3a58], 0xffffffff
jne 0x40dee6
push 0x485be0
call fcn.0041e48f
push 0x4a3a58
call fcn.0041e569
add esp, 8
jmp 0x40dee6
call fcn.0044c29f
int3

Function at 0x40ed90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040d880
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40edb2
test ecx, ecx
je 0x40eddf
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x40eddf
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 0x40eddf
mov bl, 1
jmp 0x40ede1
xor bl, bl
cmp edx, 8
jb 0x40ee11
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ee07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ee18
push edx
push ecx
call fcn.0041e1ec
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0044c29f
int3
Function at 0x40ee20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040dba0
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40ee42
test ecx, ecx
je 0x40ee6f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x40ee6f
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 0x40ee6f
mov bl, 1
jmp 0x40ee71
xor bl, bl
cmp edx, 8
jb 0x40eea1
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ee97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eea8
push edx
push ecx
call fcn.0041e1ec
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0044c29f
int3

Function at 0x412fe0
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 0x412ff3
mov ecx, dword [esi]
test ecx, ecx
je 0x41301a
mov ecx, esi
cmp eax, 8
jb 0x413000
mov ecx, dword [esi]
cmp word [ecx], 0
je 0x41301a
mov ecx, esi
cmp eax, 8
jb 0x41300f
mov ecx, dword [esi]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x413056
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x413024
mov eax, dword [esi]
push 0
push 0
push 1
push eax
call fcn.00436bc0
add esp, 0x10
cmp eax, 0xffffffff
je 0x413056
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x14], 8
jb 0x413047
mov esi, dword [esi]
push esi
call fcn.00437260
test eax, eax
je 0x413056
mov al, 1
pop esi
pop ebp
ret
xor al, al
pop esi
pop ebp
ret

Function at 0x413060
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.00410fe0
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x413082
test ecx, ecx
je 0x4130af
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x4130af
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 0x4130af
mov bl, 1
jmp 0x4130b1
xor bl, bl
cmp edx, 8
jb 0x4130e1
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4130d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4130e8
push edx
push ecx
call fcn.0041e1ec
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0044c29f
int3
Function at 0x4130f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.004114d0
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x413112
test ecx, ecx
je 0x41313f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x41313f
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 0x41313f
mov bl, 1
jmp 0x413141
xor bl, bl
cmp edx, 8
jb 0x413171
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413167
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413178
push edx
push ecx
call fcn.0041e1ec
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0044c29f
int3

Function at 0x413180
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.00411710
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4131a2
test ecx, ecx
je 0x4131cf
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x4131cf
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 0x4131cf
mov bl, 1
jmp 0x4131d1
xor bl, bl
cmp edx, 8
jb 0x413201
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4131f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413208
push edx
push ecx
call fcn.0041e1ec
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0044c29f
int3

Function at 0x413210
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.00411950
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x413232
test ecx, ecx
je 0x41325f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x41325f
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 0x41325f
mov bl, 1
jmp 0x413261
xor bl, bl
cmp edx, 8
jb 0x413291
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413287
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413298
push edx
push ecx
call fcn.0041e1ec
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0044c29f
int3
Function at 0x4132a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.00411b90
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4132c2
test ecx, ecx
je 0x4132ef
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x4132ef
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 0x4132ef
mov bl, 1
jmp 0x4132f1
xor bl, bl
cmp edx, 8
jb 0x413321
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413317
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413328
push edx
push ecx
call fcn.0041e1ec
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0044c29f
int3

Function at 0x413330
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.00412010
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x413352
test ecx, ecx
je 0x41337f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x41337f
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 0x41337f
mov bl, 1
jmp 0x413381
xor bl, bl
cmp edx, 8
jb 0x4133b1
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4133a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133b8
push edx
push ecx
call fcn.0041e1ec
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0044c29f
int3

Function at 0x4133c0
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 0x4133d5
mov ecx, dword [esi]
test ecx, ecx
je 0x413447
mov ecx, esi
cmp eax, 8
jb 0x4133e2
mov ecx, dword [esi]
cmp word [ecx], 0
je 0x413447
mov ecx, esi
cmp eax, 8
jb 0x4133f1
mov ecx, dword [esi]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413447
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x10], 0
je 0x413447
mov ebx, 5
nop word [eax + eax]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x41341a
mov eax, dword [edi]
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x413424
mov ecx, dword [esi]
push 1
push eax
push ecx
call fcn.004363c0
test eax, eax
jne 0x413440
test ebx, ebx
jle 0x413447
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
dec ebx
jmp 0x413410
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 0x413a50
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x413a7a
lea eax, [esi + 0xc]
push eax
push 0
push esi
push 0x413a20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
jne 0x413a7a
xor al, al
pop esi
ret
mov al, 1
pop esi
ret

Function at 0x413a80
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x413ab8
push 0x927c0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x413aa8
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 0x415b40
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
jne 0x415b50
xor al, al
pop ebp
ret
cmp dword [eax + 0x14], 8
jb 0x415b58
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 0x415b83
test esi, esi
je 0x415b7e
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 0x41ab40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482d95
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.00411dd0
add esp, 4
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x41ab7e
test ecx, ecx
je 0x41abf1
cmp edx, 8
lea eax, [ebp - 0x24]
cmovae eax, ecx
cmp word [eax], 0
je 0x41abf1
cmp edx, 8
lea eax, [ebp - 0x24]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41abeb
push esi
push 0
lea ecx, [ebp - 0x3c]
call fcn.00465630
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.004418e0
push esi
call fcn.0041ab00
add esp, 0x10
lea ecx, [ebp - 0x3c]
mov bl, al
call fcn.00465aa0
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
pop esi
jmp 0x41abf3
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
xor bl, bl
cmp edx, 8
jb 0x41ac23
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ac19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ac34
push edx
push ecx
call fcn.0041e1ec
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.0044c29f
int3
Function at 0x41baf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482dfd
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.00411dd0
add esp, 4
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x41bb32
test ecx, ecx
je 0x41bcf0
cmp edx, 8
lea eax, [ebp - 0x40]
cmovae eax, ecx
cmp word [eax], 0
je 0x41bcf0
cmp edx, 8
lea eax, [ebp - 0x40]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41bcea
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.00437d20
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.0041aa20
add esp, 0x14
test al, al
je 0x41bc74
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x41bbd5
lea eax, [ebp - 0x58]
cmp ecx, eax
je 0x41bbd5
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push eax
call fcn.0040a900
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x41bbf0
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x41bbf0
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push eax
call fcn.0040a900
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x41bc24
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41bc1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bd33
push edx
push ecx
call fcn.0041e1ec
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 0x41bc6a
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41bc60
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bd33
push edx
push ecx
call fcn.0041e1ec
add esp, 8
mov edx, dword [ebp - 0x2c]
mov bl, 1
mov ecx, dword [ebp - 0x40]
jmp 0x41bcf2
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x41bca8
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41bc9e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bd33
push edx
push ecx
call fcn.0041e1ec
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 0x41bcea
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41bce0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bd33
push edx
push ecx
call fcn.0041e1ec
add esp, 8
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x2c]
xor bl, bl
cmp edx, 8
jb 0x41bd22
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41bd18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bd38
push edx
push ecx
call fcn.0041e1ec
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.0044c29f
call fcn.0044c29f
int3
Function at 0x41fab0
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.00449870
add esp, 0xc
mov dword [ebp - 0x58], 0x44
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov edx, dword [ebp - 0x2c]
or edx, 1
mov dword [ebp - 0x2c], edx
mov ax, word [ebp + 0x10]
mov word [ebp - 0x28], ax
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41fb30
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
xor eax, eax
jmp 0x41fb65
cmp dword [ebp - 0x10], 0
je 0x41fb40
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0
je 0x41fb60
cmp dword [ebp + 0x14], 0
je 0x41fb56
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
jmp 0x41fb60
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x41fb70
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 0x41fba1
cmp dword [ebp + 0xc], 0
je 0x41fba1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
je 0x41fba1
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41fba8
xor eax, eax
jmp 0x41fc92
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 0x41fbd1
xor eax, eax
jmp 0x41fc92
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 0x41fc8f
push 0x44
push 0
lea ecx, [ebp - 0x60]
push ecx
call fcn.00449870
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 0x41fc8f
mov dword [ebp - 0xc], 1
cmp dword [ebp + 0x14], 0
je 0x41fc6f
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 0x41fc7f
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0
je 0x41fc8f
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