joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100666d1
Capabilities:
Get system information on windows

Disassembly:
push 0x50
mov eax, 0x1009bc36
call fcn.1009220a
mov esi, ecx
mov edi, edx
lea eax, [ebp + 8]
xor ebx, ebx
push eax
mov ecx, 0x10013630
mov dword [ebp - 4], ebx
call fcn.1005e51d
test eax, eax
je 0x1006682b
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
je 0x1006682b
lea eax, [ebp + 8]
push eax
mov ecx, 0x10014e98
call fcn.1005e51d
test eax, eax
jne 0x1006671e
push 2
jmp 0x10066732
lea eax, [ebp + 8]
push eax
mov ecx, 0x10014eac
call fcn.1005e51d
test eax, eax
jne 0x10066738
push 3
pop esi
jmp 0x10066837
lea eax, [ebp + 8]
push eax
mov ecx, 0x10014ecc
call fcn.1005e51d
test eax, eax
jne 0x1006679a
mov byte [edi + 0x11], 1
cmp byte [edi + 0x10], bl
jne 0x10066730
push 9
pop ecx
mov dword [ebp - 0x5c], 0x1001b280
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.10027f9c
test al, al
je 0x10066792
call dword [sym.imp.sqmapi.dll_SqmIsWindowsOptedIn]
mov esi, eax
neg esi
sbb esi, esi
neg esi
add esi, 2
jmp 0x10066837
xor esi, esi
inc esi
jmp 0x10066837
push 0x10014ee8
lea eax, [ebp - 0x14]
push eax
call fcn.1005e2c8
push 0x1000596c
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 2
call fcn.1005e2c8
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.1002b68f
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10082afb
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10082afb
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x28]
call fcn.1002b715
mov byte [ebp - 4], 7
mov eax, dword [eax]
mov edx, dword [esi]
push eax
push ebx
mov ecx, esi
call dword [edx + 4]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x34]
call fcn.1002d5ab
push 0x100a7350
lea eax, [ebp - 0x34]
push eax
call fcn.1008bda4
xor eax, eax
cmp byte [edi + 0x10], bl
setne al
lea esi, [eax + eax + 1]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, esi
call fcn.100922e2
ret 4
Function at 0x10066fc8
Capabilities:
Accept command line arguments

Disassembly:
push 0x30
mov eax, 0x1009dcd0
call fcn.1009220a
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call edi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.100270b4
and dword [ebp - 4], 0
call edi
push eax
lea eax, [ebp - 0x18]
mov esi, 0x1001b270
push eax
mov dword [ebp - 0x1c], esi
call fcn.1005e2c8
push 0
mov ebx, 0x100153c0
push ebx
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call fcn.10026c64
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esi
call fcn.10082afb
cmp byte [ebp - 0x11], 0
je 0x100670a8
call edi
push eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], esi
call fcn.1005e2c8
push ebx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.10026ed8
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov dword [ebp - 0x24], esi
call fcn.10082afb
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x3c]
lea eax, [ebp - 0x18]
push eax
push 0x1ee
call fcn.1002fab3
mov edi, eax
push 0x10015378
lea eax, [ebp + 8]
push eax
call fcn.1005e2c8
push edi
push esi
lea edi, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.10067978
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10082afb
lea ecx, [ebp - 0x3c]
call fcn.1002740a
call fcn.100922e2
ret 4
Function at 0x10068f80
Capabilities:
Accept command line arguments

Disassembly:
push 0x24
mov eax, 0x100a3f43
call fcn.1009220a
xor ebx, ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.100270b4
mov dword [ebp - 4], ebx
call fcn.10051b4c
cmp byte [eax], bl
jne 0x10068fb7
push 0x10015c68
jmp 0x1006904f
push ebx
push 0x1000365c
lea eax, [ebp - 0x2c]
push eax
call fcn.10026c64
test al, al
je 0x10068fe4
push ebx
push 0x1000368c
lea eax, [ebp - 0x2c]
push eax
call fcn.10026c64
test al, al
jne 0x10068fe4
push 0x10015d08
jmp 0x1006904f
lea eax, [ebp - 0x30]
call fcn.10027430
test al, al
je 0x1006900e
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
call fcn.100276a8
mov eax, dword [eax]
mov dword [ebp - 0x14], 1
mov byte [ebp - 0xd], 1
cmp dword [eax - 0xc], ebx
je 0x10069011
mov byte [ebp - 0xd], bl
test byte [ebp - 0x14], 1
je 0x10069022
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10082afb
cmp byte [ebp - 0xd], bl
je 0x1006902e
push 0x10015dc0
jmp 0x1006904f
cmp dword [esi + 8], 1
mov ecx, dword [esi + 0x18]
je 0x1006903e
push 0x10015e80
jmp 0x10069052
call fcn.10051cb3
mov dword [esi + 0x48], eax
cmp eax, ebx
jne 0x10069059
push 0x10015f20
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
push 2
call dword [eax + 4]
lea ecx, [ebp - 0x30]
call fcn.1002740a
call fcn.100922e2
ret
Function at 0x100698b6
Capabilities:
Check if file exists
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a3251
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
mov eax, dword [0x100b8210]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor ebx, ebx
lea eax, [edi + 0x10]
mov dword [esp + 0x28], ebx
push eax
lea esi, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], eax
call fcn.1002b4a4
cmp dword [esp + 0x20], ebx
ja 0x10069a64
jb 0x10069917
cmp dword [esp + 0x1c], 2
ja 0x10069a64
lea eax, [esp + 0x1c]
push eax
call fcn.1006b21c
mov dword [esp + 0x40], ebx
push dword [eax]
lea eax, [esp + 0x1c]
push eax
call fcn.1005e2c8
mov byte [esp + 0x40], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
push dword [esp + 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1006998a
push 0x100163a8
lea eax, [esp + 0x2c]
push eax
call fcn.1005e2c8
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x48], 3
call fcn.1002b63a
mov dword [esp + 0x2c], 0x1001b360
push 0x100a75d8
lea eax, [esp + 0x30]
push eax
call fcn.1008bda4
mov ecx, edi
call fcn.10059f48
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.10059f75
mov byte [esp + 0x40], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10082a9f
push ebx
push dword [esp + 0x18]
lea esi, [eax + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x100699e1
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
je 0x100699da
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x100699e1
mov byte [esp + 0x13], 1
jmp 0x100699e5
mov byte [esp + 0x13], bl
lea eax, [esi - 0x10]
call fcn.10082afb
cmp byte [esp + 0x13], bl
je 0x10069a2b
push 1
push edi
call fcn.1005a3da
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10082afb
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x100163e8
lea eax, [esp + 0x2c]
push eax
call fcn.1005e2c8
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x48], 5
call fcn.1002b63a
mov dword [esp + 0x2c], 0x1001b360
push 0x100a75d8
lea eax, [esp + 0x30]
jmp 0x10069984
mov ecx, edi
call fcn.1006b09e
test al, al
jne 0x10069a19
push 0x10016420
lea eax, [esp + 0x2c]
push eax
call fcn.1005e2c8
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x48], 6
call fcn.1002b63a
mov dword [esp + 0x2c], 0x1001b36c
push 0x100a7624
lea eax, [esp + 0x30]
jmp 0x10069984
Function at 0x1006a91f
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
push ebx
push esi
mov esi, eax
mov ecx, esi
call fcn.1006dea8
push esi
push dword [ebp + 8]
call fcn.1006df40
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
mov eax, dword [esi + 4]
xor ebx, ebx
mov dword [esp + 0xc], ecx
test eax, eax
jle 0x1006a95f
mov edx, dword [esi]
cmp dword [edx], ecx
je 0x1006a962
inc ebx
add edx, 4
cmp ebx, eax
jl 0x1006a953
or ebx, 0xffffffff
cmp ebx, 0xffffffff
jne 0x1006a970
lea ebx, [esp + 0xc]
call fcn.100612ec
mov eax, dword [esi + 4]
xor edx, edx
mov ebx, 0x409
test eax, eax
jle 0x1006a98c
mov ecx, dword [esi]
cmp dword [ecx], ebx
je 0x1006a98f
inc edx
add ecx, 4
cmp edx, eax
jl 0x1006a980
or edx, 0xffffffff
cmp edx, 0xffffffff
jne 0x1006a9a1
mov dword [esp + 0xc], ebx
lea ebx, [esp + 0xc]
call fcn.100612ec
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1006a9a9
Capabilities:
Check if file exists

Disassembly:
push 0xc
mov eax, 0x1009dabf
call fcn.1009220a
lea eax, [ebp - 0x14]
push eax
call fcn.1002903c
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10082a9f
add eax, 0x10
mov dword [ebp - 0x10], eax
push edi
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.1002f724
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x10]
call fcn.1005ed8d
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10082afb
push 0x10016868
lea eax, [ebp - 0x10]
call fcn.1005ed8d
mov ebx, dword [ebp - 0x10]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
call esi
test eax, eax
jne 0x1006aa4d
push edi
push 0x10016890
push eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
call fcn.10026c05
add esp, 0xc
lea eax, [ebx - 0x10]
call fcn.10082afb
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10082afb
xor al, al
call fcn.100922e2
ret 8
cmp byte [ebp + 0xc], 0
je 0x1006aaee
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10082a9f
add eax, 0x10
mov dword [ebp + 0xc], eax
push edi
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 3
call fcn.1002f724
mov byte [ebp - 4], 4
push dword [eax]
lea eax, [ebp + 0xc]
call fcn.1005ed8d
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10082afb
push 0x10009298
lea eax, [ebp + 0xc]
call fcn.1005ed8d
mov ebx, dword [ebp + 0xc]
push ebx
call esi
test eax, eax
jne 0x1006aae6
push edi
push 0x100168f0
push eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
call fcn.10026c05
add esp, 0xc
lea eax, [ebx - 0x10]
call fcn.10082afb
xor bl, bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10082afb
mov al, bl
jmp 0x1006aa45
lea eax, [ebx - 0x10]
call fcn.10082afb
mov bl, 1
jmp 0x1006aac9
Function at 0x1006b09e
Capabilities:
Get file size

Disassembly:
push 0x2c
mov eax, 0x1009da7c
call fcn.1009220a
mov esi, ecx
mov eax, dword [esi]
mov dword [ebp - 0x20], esi
call dword [eax + 0x1c]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.1006b21c
push ebx
push 0x80
push 3
push 1
push SysReAllocStringLen
mov byte [ebp - 4], 2
push dword [ebp - 0x10]
lea edi, [ebp - 0x28]
call fcn.1002b3ee
cmp eax, ebx
jge 0x1006b14f
mov eax, dword [0x100b8f90]
mov ecx, 0x100b8f90
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push 0x10016ba8
push eax
call fcn.100827bb
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1002b63a
mov esi, 0x1001b330
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.1002d5ea
push 0x100a7484
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x38], esi
call fcn.1008bda4
push ebx
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10082afb
mov byte [ebp - 4], bl
cmp dword [ebp - 0x28], ebx
je 0x1006b177
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea eax, [ebp - 0x18]
push eax
call fcn.1006b21c
push ecx
mov byte [ebp - 4], 5
mov eax, dword [eax]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
push ecx
call fcn.1005e2c8
lea eax, [ebp - 0x1c]
push eax
call fcn.1006e74b
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [esi]
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push ecx
mov ecx, esi
call dword [eax + 0x10]
lea eax, [ebp - 0x14]
push eax
call fcn.1006e74b
xor eax, eax
cmp dword [ebp - 0x14], ebx
setne al
cmp eax, ebx
jne 0x1006b1da
push 0x80004005
call fcn.10082a7c
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call fcn.100869f2
cmp eax, ebx
mov eax, dword [ebp - 0x14]
pop ecx
sete bl
pop ecx
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
or dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, bl
call fcn.100922e2
ret
Function at 0x1006b21c
Capabilities:
Check if file exists

Disassembly:
push 0x14
mov eax, 0x1009da29
call fcn.1009220a
and dword [ebp - 0x20], 0
push 0x10016bcc
lea eax, [ebp - 0x18]
push eax
call fcn.1005e2c8
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov esi, eax
mov eax, dword [0x100b8f90]
mov ebx, 0x100b8f90
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push esi
push 0x10016bf0
push eax
call fcn.100827bb
mov eax, dword [0x100b8f90]
add esp, 0x10
mov ecx, ebx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x1c], edi
xor ecx, ecx
mov byte [ebp - 4], 2
mov eax, dword [edi - 8]
inc ecx
sub ecx, dword [edi - 4]
mov esi, 0x104
sub eax, esi
or eax, ecx
jge 0x1006b2a9
mov eax, esi
lea ecx, [ebp - 0x1c]
call fcn.10082950
mov edi, dword [ebp - 0x1c]
push esi
push edi
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
or eax, 0xffffffff
lea esi, [ebp - 0x1c]
call fcn.10082749
push edi
lea eax, [ebp - 0x10]
push eax
call fcn.1005e2c8
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.1005ee9c
mov eax, dword [0x100b8f90]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x20]
push esi
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
call fcn.1005edc7
mov ebx, dword [ebp - 0x14]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1006b319
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.1005edc7
mov ebx, dword [ebp - 0x14]
lea eax, [ebx - 0x10]
call fcn.10082a9f
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
lea eax, [ebx - 0x10]
call fcn.10082afb
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10082afb
lea eax, [edi - 0x10]
call fcn.10082afb
lea eax, [esi - 0x10]
call fcn.10082afb
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [ebp + 8]
call fcn.100922e2
ret 4

Function at 0x1006dea8
Capabilities:
Accept command line arguments
Identify system language via api

Disassembly:
push 0x24
mov eax, 0x1009fb4e
call fcn.1009220a
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.100270b4
lea eax, [ebp - 0x18]
xor edi, edi
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], edi
call fcn.10027705
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], edi
je 0x1006df27
push eax
call fcn.10085778
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, 0xfffffffd
jne 0x1006defe
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x1006df27
mov ecx, dword [esi + 4]
cmp ecx, edi
jle 0x1006df17
mov edx, dword [esi]
cmp dword [edx], eax
je 0x1006df1a
inc edi
add edx, 4
cmp edi, ecx
jl 0x1006df0b
or edi, 0xffffffff
cmp edi, 0xffffffff
jne 0x1006df27
lea ebx, [ebp - 0x14]
call fcn.100612ec
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10082afb
lea ecx, [ebp - 0x30]
call fcn.1002740a
call fcn.100922e2
ret
Function at 0x1006e74b
Capabilities:
Read file on windows

Disassembly:
push 0x20
mov eax, 0x10099d02
call fcn.1009220a
xor ebx, ebx
mov dword [ebp - 0x10], ebx
xor edi, edi
inc edi
mov dword [ebp - 4], edi
mov eax, dword [0x100b8f90]
mov esi, 0x100b8f90
mov ecx, esi
call dword [eax + 0xc]
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
push ebx
push 0x80
push 3
push edi
push SysReAllocStringLen
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
lea edi, [ebp - 0x24]
call fcn.1002b3ee
cmp eax, ebx
jge 0x1006e820
mov eax, dword [0x100b8f90]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10082a9f
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push esi
lea eax, [ebp + 0x10]
push 0x100175f8
push eax
mov byte [ebp - 4], 4
call fcn.100827bb
add esp, 0xc
lea eax, [esi - 0x10]
mov byte [ebp - 4], 3
call fcn.10082afb
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1002b63a
mov esi, 0x1001b330
mov dword [ebp - 0x2c], esi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.1002d5ea
push 0x100a7484
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1008bda4
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
call fcn.100812d6
push ebx
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp + 0x10]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x1006e846
call fcn.10082637
mov eax, dword [ebp - 0x14]
call fcn.100664fe
cmp dword [ebp - 0x24], ebx
je 0x1006e85c
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, esi
call fcn.100922e2
ret 0xc
Function at 0x10070513
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x480
mov eax, dword [0x100b8210]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push edi
push 0x44
pop edi
push edi
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x47c]
push 0
push eax
call fcn.100882c0
push dword [esi + 0xc]
mov dword [ebp - 0x47c], edi
push dword [ebp - 0x420]
xor eax, eax
lea edi, [ebp - 0x434]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x10017fd0
stosd dword es:[edi], eax
lea eax, [ebp - 0x41c]
push 0x208
push eax
mov dword [ebp - 0x424], 0x80004005
call fcn.10085a91
add esp, 0x20
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x47c]
push eax
xor edi, edi
push edi
push edi
push 0x4000020
push 1
push edi
push edi
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10070659
mov dword [ebp - 0x420], 1
mov eax, dword [ebx]
push 0x4e20
push dword [esi]
mov ecx, ebx
call dword [eax + 0x20]
test eax, eax
mov eax, dword [ebx]
mov ecx, ebx
jne 0x100705f0
push 1
push dword [esi + 4]
call dword [eax + 0x20]
test eax, eax
jne 0x10070642
mov dword [ebp - 0x420], edi
mov dword [ebp - 0x424], edi
jmp 0x10070642
push 0x4e20
push dword [esi + 8]
call dword [eax + 0x20]
cmp eax, 0x102
je 0x10070659
cmp eax, 0x80
je 0x10070650
mov eax, dword [ebx]
push 1
push dword [esi]
mov ecx, ebx
call dword [eax + 0x20]
test eax, eax
je 0x10070623
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x10070633
mov eax, dword [ebx]
push 1
push dword [esi + 4]
mov ecx, ebx
call dword [eax + 0x20]
test eax, eax
jne 0x10070639
mov dword [ebp - 0x420], edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [ebp - 0x420], edi
jne 0x100705c0
jmp 0x10070659
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x430]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
push dword [ebp - 0x434]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x424]
xor ecx, ebp
pop edi
call fcn.10084b58
leave
ret 4
Function at 0x100712c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009f94c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x100b8210]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.100270b4
and dword [esp + 0x30], 0
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
call fcn.100276c7
mov eax, dword [eax]
mov esi, dword [eax - 0xc]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
call fcn.10082afb
test esi, esi
je 0x10071342
push 4
pop esi
lea ecx, [esp + 0xc]
call fcn.1002740a
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0xc]
call fcn.10027488
test al, al
je 0x10071353
push 2
jmp 0x10071325
push 0
push 0x100036cc
lea eax, [esp + 0x18]
push eax
call fcn.10026c64
test al, al
je 0x1007136c
push 3
jmp 0x10071325
xor esi, esi
inc esi
jmp 0x10071326

Function at 0x10071704
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a3b67
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x100b8210]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
and dword [esp + 0x18], 0
push ebx
lea eax, [esp + 0x18]
push eax
call fcn.10038648
and dword [esp + 0x40], 0
push dword [esp + 0x14]
movzx eax, bx
push eax
push 0x10018248
push 2
call fcn.10026c05
mov eax, dword [esp + 0x24]
add esp, 0x10
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
call fcn.10082a9f
add eax, 0x10
mov dword [edi], eax
lea eax, [esp + 0x18]
push eax
call fcn.1002ddf9
mov byte [esp + 0x40], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.100270b4
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 2
call fcn.100276e6
mov byte [esp + 0x40], 3
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], 0
push esi
je 0x1007180a
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.10037dcf
push esi
push ebx
lea eax, [esp + 0x20]
push eax
push dword [ebp + 8]
mov byte [esp + 0x50], 4
call fcn.100386cd
push dword [esp + 0x18]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.10082afb
lea ecx, [esp + 0x1c]
call fcn.1002740a
push dword [esp + 0x10]
call esi
jmp 0x10071837
push ebx
lea eax, [esp + 0x18]
push eax
push dword [ebp + 8]
call fcn.100386cd
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.10082afb
lea ecx, [esp + 0x1c]
call fcn.1002740a
push dword [esp + 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4