joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4096e0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f0b5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
mov byte [ebp - 0xd], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, dword [ebp + 8]
mov ecx, eax
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x409715
mov eax, dword [esi]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov ecx, eax
test ecx, ecx
je 0x4098d3
mov eax, dword [esi + 0x10]
lea ecx, [ecx + eax*2]
movzx eax, word [ecx]
mov dword [ebp + 8], ecx
cmp eax, 0x20
je 0x40975d
cmp eax, 9
je 0x40975d
cmp eax, 0xd
je 0x40975d
cmp eax, 0xa
je 0x40975d
test ax, ax
je 0x40975d
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push ebx
xor esi, esi
mov byte [ebp - 0xd], 1
xor ebx, ebx
mov dword [ebp - 0x1c], 0
push edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
test edi, edi
je 0x4098d1
movzx eax, word [ecx]
cmp eax, 0x20
je 0x409799
cmp eax, 9
je 0x409799
cmp eax, 0xd
je 0x409799
cmp eax, 0xa
jne 0x40979e
add ecx, 2
jmp 0x409782
lea eax, [ebp + 8]
mov dword [ebp + 8], ecx
push eax
push ecx
lea eax, [ebp - 0x34]
push eax
call fcn.004095b0
add esp, 0xc
cmp dword [ebp - 0x24], 0
mov byte [ebp - 4], 1
je 0x40982d
lea eax, [ebp - 0x34]
push eax
cmp esi, ebx
je 0x4097d3
mov ecx, esi
call fcn.00401440
add esi, 0x18
mov dword [ebp - 0x18], esi
jmp 0x4097e2
push esi
lea ecx, [ebp - 0x1c]
call fcn.00401170
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x409820
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409816
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4098e5
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x409782
jmp 0x40986b
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x40986b
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409861
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4098e5
push edx
push ecx
call fcn.0041b0e9
add esp, 8
lea eax, [ebp - 0x1c]
cmp edi, eax
mov edi, dword [ebp - 0x1c]
je 0x409882
push dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
push edi
call fcn.00409380
test edi, edi
je 0x4098d1
lea eax, [ebp - 0x1c]
push eax
push esi
push edi
call fcn.00401100
sub ebx, edi
mov eax, 0x2aaaaaab
imul ebx
add esp, 0xc
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4098c7
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4098ea
push ecx
push edi
call fcn.0041b0e9
add esp, 8
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.004491bf
call fcn.004491bf
int3
Function at 0x40c870
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x18
mov ecx, dword [0x4a0ae0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4a0a1c]
cmp eax, dword [ecx + 4]
jg 0x40c9bc
mov edx, dword [0x49f034]
mov ecx, dword [0x49f020]
push esi
cmp edx, 8
jb 0x40c8ac
test ecx, ecx
je 0x40c8d7
cmp edx, 8
mov eax, 0x49f020
cmovae eax, ecx
cmp word [eax], 0
je 0x40c8d7
cmp edx, 8
mov eax, 0x49f020
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40c9a7
lea eax, [ebp - 0x18]
push eax
call fcn.0040f220
mov esi, eax
add esp, 4
cmp esi, 0x49f020
je 0x40c971
mov edx, dword [0x49f034]
cmp edx, 8
jb 0x40c931
mov ecx, dword [0x49f020]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c927
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c9f2
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov dword [0x49f030], 0
xor eax, eax
mov dword [0x49f034], 7
mov word [0x49f020], ax
movups xmm0, xmmword [esi]
movups xmmword [0x49f020], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x49f030], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 4]
cmp edx, 8
jb 0x40c9a7
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c99d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c9f2
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov ecx, dword [ebp + 8]
push 0x49f020
call fcn.00401440
mov eax, dword [ebp + 8]
pop esi
mov esp, ebp
pop ebp
ret
push 0x4a0a1c
call fcn.0041b4b3
add esp, 4
cmp dword [0x4a0a1c], 0xffffffff
jne 0x40c896
push 0x482860
call fcn.0041b38f
push 0x4a0a1c
call fcn.0041b469
add esp, 8
jmp 0x40c896
call fcn.004491bf
int3
Function at 0x40ca00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x18
mov ecx, dword [0x4a0ae0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4a0a24]
cmp eax, dword [ecx + 4]
jg 0x40cb4c
mov edx, dword [0x49f064]
mov ecx, dword [0x49f050]
push esi
cmp edx, 8
jb 0x40ca3c
test ecx, ecx
je 0x40ca67
cmp edx, 8
mov eax, 0x49f050
cmovae eax, ecx
cmp word [eax], 0
je 0x40ca67
cmp edx, 8
mov eax, 0x49f050
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40cb37
lea eax, [ebp - 0x18]
push eax
call fcn.0040f6c0
mov esi, eax
add esp, 4
cmp esi, 0x49f050
je 0x40cb01
mov edx, dword [0x49f064]
cmp edx, 8
jb 0x40cac1
mov ecx, dword [0x49f050]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40cab7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb82
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov dword [0x49f060], 0
xor eax, eax
mov dword [0x49f064], 7
mov word [0x49f050], ax
movups xmm0, xmmword [esi]
movups xmmword [0x49f050], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x49f060], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 4]
cmp edx, 8
jb 0x40cb37
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40cb2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb82
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov ecx, dword [ebp + 8]
push 0x49f050
call fcn.00401440
mov eax, dword [ebp + 8]
pop esi
mov esp, ebp
pop ebp
ret
push 0x4a0a24
call fcn.0041b4b3
add esp, 4
cmp dword [0x4a0a24], 0xffffffff
jne 0x40ca26
push 0x4828c0
call fcn.0041b38f
push 0x4a0a24
call fcn.0041b469
add esp, 8
jmp 0x40ca26
call fcn.004491bf
int3
Function at 0x40cb90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x18
mov ecx, dword [0x4a0ae0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4a0a20]
cmp eax, dword [ecx + 4]
jg 0x40ccdc
mov edx, dword [0x49f04c]
mov ecx, dword [0x49f038]
push esi
cmp edx, 8
jb 0x40cbcc
test ecx, ecx
je 0x40cbf7
cmp edx, 8
mov eax, 0x49f038
cmovae eax, ecx
cmp word [eax], 0
je 0x40cbf7
cmp edx, 8
mov eax, 0x49f038
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40ccc7
lea eax, [ebp - 0x18]
push eax
call fcn.0040f470
mov esi, eax
add esp, 4
cmp esi, 0x49f038
je 0x40cc91
mov edx, dword [0x49f04c]
cmp edx, 8
jb 0x40cc51
mov ecx, dword [0x49f038]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40cc47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd12
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov dword [0x49f048], 0
xor eax, eax
mov dword [0x49f04c], 7
mov word [0x49f038], ax
movups xmm0, xmmword [esi]
movups xmmword [0x49f038], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x49f048], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 4]
cmp edx, 8
jb 0x40ccc7
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ccbd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cd12
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov ecx, dword [ebp + 8]
push 0x49f038
call fcn.00401440
mov eax, dword [ebp + 8]
pop esi
mov esp, ebp
pop ebp
ret
push 0x4a0a20
call fcn.0041b4b3
add esp, 4
cmp dword [0x4a0a20], 0xffffffff
jne 0x40cbb6
push 0x482920
call fcn.0041b38f
push 0x4a0a20
call fcn.0041b469
add esp, 8
jmp 0x40cbb6
call fcn.004491bf
int3

Function at 0x40da60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040c870
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40da82
test ecx, ecx
je 0x40daaf
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x40daaf
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 0x40daaf
mov bl, 1
jmp 0x40dab1
xor bl, bl
cmp edx, 8
jb 0x40dae1
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dad7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dae8
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004491bf
int3
Function at 0x40daf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040cb90
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40db12
test ecx, ecx
je 0x40db3f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x40db3f
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 0x40db3f
mov bl, 1
jmp 0x40db41
xor bl, bl
cmp edx, 8
jb 0x40db71
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40db67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40db78
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004491bf
int3

Function at 0x410d40
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 0x410d53
mov ecx, dword [esi]
test ecx, ecx
je 0x410d7a
mov ecx, esi
cmp eax, 8
jb 0x410d60
mov ecx, dword [esi]
cmp word [ecx], 0
je 0x410d7a
mov ecx, esi
cmp eax, 8
jb 0x410d6f
mov ecx, dword [esi]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x410db6
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x410d84
mov eax, dword [esi]
push 0
push 0
push 1
push eax
call fcn.00432b20
add esp, 0x10
cmp eax, 0xffffffff
je 0x410db6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x14], 8
jb 0x410da7
mov esi, dword [esi]
push esi
call fcn.004331c0
test eax, eax
je 0x410db6
mov al, 1
pop esi
pop ebp
ret
xor al, al
pop esi
pop ebp
ret

Function at 0x410dc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040f980
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x410de2
test ecx, ecx
je 0x410e0f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x410e0f
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 0x410e0f
mov bl, 1
jmp 0x410e11
xor bl, bl
cmp edx, 8
jb 0x410e41
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410e37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410e48
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004491bf
int3
Function at 0x410e50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040fbc0
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x410e72
test ecx, ecx
je 0x410e9f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x410e9f
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 0x410e9f
mov bl, 1
jmp 0x410ea1
xor bl, bl
cmp edx, 8
jb 0x410ed1
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410ec7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410ed8
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004491bf
int3

Function at 0x410ee0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040fe70
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x410f02
test ecx, ecx
je 0x410f2f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x410f2f
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 0x410f2f
mov bl, 1
jmp 0x410f31
xor bl, bl
cmp edx, 8
jb 0x410f61
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410f57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f68
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004491bf
int3

Function at 0x410f70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.004100b0
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x410f92
test ecx, ecx
je 0x410fbf
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x410fbf
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 0x410fbf
mov bl, 1
jmp 0x410fc1
xor bl, bl
cmp edx, 8
jb 0x410ff1
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410fe7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410ff8
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004491bf
int3
Function at 0x411000
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 0x411015
mov ecx, dword [esi]
test ecx, ecx
je 0x411087
mov ecx, esi
cmp eax, 8
jb 0x411022
mov ecx, dword [esi]
cmp word [ecx], 0
je 0x411087
mov ecx, esi
cmp eax, 8
jb 0x411031
mov ecx, dword [esi]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411087
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x10], 0
je 0x411087
mov ebx, 5
nop word [eax + eax]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x41105a
mov eax, dword [edi]
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x411064
mov ecx, dword [esi]
push 1
push eax
push ecx
call fcn.00432320
test eax, eax
jne 0x411080
test ebx, ebx
jle 0x411087
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
dec ebx
jmp 0x411050
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 0x4113f0
Capabilities:
Create thread

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

Function at 0x411420
Capabilities:
Terminate thread

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
jne 0x4134f0
xor al, al
pop ebp
ret
cmp dword [eax + 0x14], 8
jb 0x4134f8
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 0x413523
test esi, esi
je 0x41351e
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 0x4183a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47fbb5
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.004102f0
add esp, 4
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x4183de
test ecx, ecx
je 0x418451
cmp edx, 8
lea eax, [ebp - 0x24]
cmovae eax, ecx
cmp word [eax], 0
je 0x418451
cmp edx, 8
lea eax, [ebp - 0x24]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41844b
push esi
push 0
lea ecx, [ebp - 0x3c]
call fcn.00462550
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.0043e800
push esi
call fcn.00418360
add esp, 0x10
lea ecx, [ebp - 0x3c]
mov bl, al
call fcn.004629c0
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
pop esi
jmp 0x418453
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
xor bl, bl
cmp edx, 8
jb 0x418483
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418479
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418494
push edx
push ecx
call fcn.0041b0e9
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.004491bf
int3
Function at 0x4192b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47fc1d
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.004102f0
add esp, 4
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x4192f2
test ecx, ecx
je 0x4194b0
cmp edx, 8
lea eax, [ebp - 0x40]
cmovae eax, ecx
cmp word [eax], 0
je 0x4194b0
cmp edx, 8
lea eax, [ebp - 0x40]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4194aa
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.004349c0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00418280
add esp, 0x14
test al, al
je 0x419434
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x419395
lea eax, [ebp - 0x58]
cmp ecx, eax
je 0x419395
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push eax
call fcn.0040a830
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4193b0
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x4193b0
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push eax
call fcn.0040a830
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4193e4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4193da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4194f3
push edx
push ecx
call fcn.0041b0e9
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 0x41942a
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419420
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4194f3
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov edx, dword [ebp - 0x2c]
mov bl, 1
mov ecx, dword [ebp - 0x40]
jmp 0x4194b2
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x419468
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41945e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4194f3
push edx
push ecx
call fcn.0041b0e9
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 0x4194aa
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4194a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4194f3
push edx
push ecx
call fcn.0041b0e9
add esp, 8
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x2c]
xor bl, bl
cmp edx, 8
jb 0x4194e2
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4194d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4194f8
push edx
push ecx
call fcn.0041b0e9
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.004491bf
call fcn.004491bf
int3
Function at 0x41c9b0
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 0x41c9e1
cmp dword [ebp + 0xc], 0
je 0x41c9e1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
je 0x41c9e1
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41c9e8
xor eax, eax
jmp 0x41cad2
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 0x41ca11
xor eax, eax
jmp 0x41cad2
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 0x41cacf
push 0x44
push 0
lea ecx, [ebp - 0x60]
push ecx
call fcn.00446790
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 0x41cacf
mov dword [ebp - 0xc], 1
cmp dword [ebp + 0x14], 0
je 0x41caaf
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 0x41cabf
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0
je 0x41cacf
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