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

Disassembly:
push 4
mov eax, 0x100a11be
call fcn.10094bba
and dword [ebp - 0x10], 0
push 0x1000c4d0
lea eax, [ebp - 0x10]
push eax
call fcn.1005f448
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov edx, dword [eax - 8]
xor ecx, ecx
inc ecx
sub ecx, dword [eax - 4]
mov esi, 0x104
sub edx, esi
or ecx, edx
jge 0x10062dc6
mov eax, esi
lea ecx, [ebp - 0x10]
call fcn.10084a51
mov eax, dword [ebp - 0x10]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
or eax, 0xffffffff
lea esi, [ebp - 0x10]
call fcn.1008481d
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.1005f448
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [ebp + 8]
call fcn.10094ca6
ret 4
Function at 0x10066556
Capabilities:
Get hostname

Disassembly:
push 0xc
mov eax, 0x1009c20f
call fcn.10094bba
mov eax, dword [0x100bcf90]
mov ecx, 0x100bcf90
call dword [eax + 0xc]
lea ecx, [eax + 0x10]
mov dword [ebp - 0x10], ecx
xor edx, edx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, 0x104
inc edx
mov dword [ebp - 0x14], eax
sub edx, dword [ecx - 4]
mov ecx, dword [ecx - 8]
sub ecx, eax
or ecx, edx
jge 0x10066599
lea ecx, [ebp - 0x10]
call fcn.10084a51
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push 7
call dword [sym.imp.Secur32.dll_GetComputerObjectNameW]
test al, al
je 0x1006660f
or eax, 0xffffffff
lea esi, [ebp - 0x10]
call fcn.1008481d
push 0x2f
xor ecx, ecx
call fcn.1005f9db
cmp eax, 0xffffffff
je 0x100665ea
mov ecx, eax
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.1005fc53
mov edi, esi
mov byte [ebp - 4], 1
call fcn.1005f5c3
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084c29
lea eax, [ebp - 0x10]
call fcn.1005fa73
push 0x10014848
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.1005fa0d
cmp eax, 0xffffffff
je 0x1006660f
call fcn.1006ae1f
test al, al
je 0x10066622
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10084c29
mov al, bl
call fcn.10094ca6
ret
mov bl, 1
jmp 0x1006660f
Function at 0x100672fc
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x100bc210]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [esi + 4]
push eax
mov dword [esi], 0x1001d098
call fcn.1005e4e6
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.1008a830
add esp, 0xc
push 0xff
lea eax, [ebp - 0x204]
push eax
push 0x10014b54
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jle 0x10067397
mov edx, 0x1001291c
lea eax, [ebp - 0x204]
mov cx, word [eax]
cmp cx, word [edx]
jne 0x10067388
test cx, cx
je 0x10067384
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x10067388
add eax, 4
add edx, 4
test cx, cx
jne 0x10067362
xor eax, eax
jmp 0x1006738d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10067397
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.10086e31
leave
ret
Function at 0x10067cc5
Capabilities:
Get system information on windows

Disassembly:
push 0x50
mov eax, 0x1009ede9
call fcn.10094bba
mov esi, ecx
mov edi, edx
lea eax, [ebp + 8]
xor ebx, ebx
push eax
mov ecx, 0x10013318
mov dword [ebp - 4], ebx
call fcn.1005f6c0
test eax, eax
je 0x10067e1f
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
je 0x10067e1f
lea eax, [ebp + 8]
push eax
mov ecx, 0x10014b80
call fcn.1005f6c0
test eax, eax
jne 0x10067d12
push 2
jmp 0x10067d26
lea eax, [ebp + 8]
push eax
mov ecx, 0x10014b94
call fcn.1005f6c0
test eax, eax
jne 0x10067d2c
push 3
pop esi
jmp 0x10067e2b
lea eax, [ebp + 8]
push eax
mov ecx, 0x10014bb4
call fcn.1005f6c0
test eax, eax
jne 0x10067d8e
mov byte [edi + 0x11], 1
cmp byte [edi + 0x10], bl
jne 0x10067d24
push 9
pop ecx
mov dword [ebp - 0x5c], 0x1001af38
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.10027ae6
test al, al
je 0x10067d86
call dword [sym.imp.sqmapi.dll_SqmIsWindowsOptedIn]
mov esi, eax
neg esi
sbb esi, esi
neg esi
add esi, 2
jmp 0x10067e2b
xor esi, esi
inc esi
jmp 0x10067e2b
push 0x10014bd0
lea eax, [ebp - 0x14]
push eax
call fcn.1005f448
push 0x1000593c
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 2
call fcn.1005f448
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.1002b334
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084c29
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10084c29
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x28]
call fcn.1002b3bf
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.10084c29
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x34]
call fcn.1002d31f
push 0x100aac80
lea eax, [ebp - 0x34]
push eax
call fcn.1008e427
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.10084c29
mov eax, esi
call fcn.10094ca6
ret 4
Function at 0x100685fd
Capabilities:
Accept command line arguments

Disassembly:
push 0x30
mov eax, 0x100a0fcb
call fcn.10094bba
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call edi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10026b8b
and dword [ebp - 4], 0
call edi
push eax
lea eax, [ebp - 0x18]
mov esi, 0x1001af28
push eax
mov dword [ebp - 0x1c], esi
call fcn.1005f448
push 0
mov ebx, 0x100150a8
push ebx
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call fcn.1002672c
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.10084c29
cmp byte [ebp - 0x11], 0
je 0x100686dd
call edi
push eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], esi
call fcn.1005f448
push ebx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.100269a5
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov dword [ebp - 0x24], esi
call fcn.10084c29
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x3c]
lea eax, [ebp - 0x18]
push eax
push 0x1ee
call fcn.1002f8bd
mov edi, eax
push 0x10015060
lea eax, [ebp + 8]
push eax
call fcn.1005f448
push edi
push esi
lea edi, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.10068fcb
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084c29
lea ecx, [ebp - 0x3c]
call fcn.10026ee6
call fcn.10094ca6
ret 4
Function at 0x1006a711
Capabilities:
Accept command line arguments

Disassembly:
push 0x24
mov eax, 0x100a7760
call fcn.10094bba
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.10026b8b
mov dword [ebp - 4], ebx
call fcn.10052904
cmp byte [eax], bl
jne 0x1006a748
push 0x10015950
jmp 0x1006a7e0
push ebx
push 0x10003658
lea eax, [ebp - 0x2c]
push eax
call fcn.1002672c
test al, al
je 0x1006a775
push ebx
push 0x10003688
lea eax, [ebp - 0x2c]
push eax
call fcn.1002672c
test al, al
jne 0x1006a775
push 0x100159f0
jmp 0x1006a7e0
lea eax, [ebp - 0x30]
call fcn.10026f11
test al, al
je 0x1006a79f
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
call fcn.100271b1
mov eax, dword [eax]
mov dword [ebp - 0x14], 1
mov byte [ebp - 0xd], 1
cmp dword [eax - 0xc], ebx
je 0x1006a7a2
mov byte [ebp - 0xd], bl
test byte [ebp - 0x14], 1
je 0x1006a7b3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084c29
cmp byte [ebp - 0xd], bl
je 0x1006a7bf
push 0x10015aa8
jmp 0x1006a7e0
cmp dword [esi + 8], 1
mov ecx, dword [esi + 0x18]
je 0x1006a7cf
push 0x10015b68
jmp 0x1006a7e3
call fcn.10052a7f
mov dword [esi + 0x48], eax
cmp eax, ebx
jne 0x1006a7ea
push 0x10015c08
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
push 2
call dword [eax + 4]
lea ecx, [ebp - 0x30]
call fcn.10026ee6
call fcn.10094ca6
ret
Function at 0x1006b06a
Capabilities:
Check if file exists
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a69a3
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
mov eax, dword [0x100bc210]
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.1002b11c
cmp dword [esp + 0x20], ebx
ja 0x1006b218
jb 0x1006b0cb
cmp dword [esp + 0x1c], 2
ja 0x1006b218
lea eax, [esp + 0x1c]
push eax
call fcn.1006c9cb
mov dword [esp + 0x40], ebx
push dword [eax]
lea eax, [esp + 0x1c]
push eax
call fcn.1005f448
mov byte [esp + 0x40], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10084c29
push dword [esp + 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1006b13e
push 0x10016090
lea eax, [esp + 0x2c]
push eax
call fcn.1005f448
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x48], 3
call fcn.1002b2d5
mov dword [esp + 0x2c], 0x1001b018
push 0x100aaf08
lea eax, [esp + 0x30]
push eax
call fcn.1008e427
mov ecx, edi
call fcn.1005aeb2
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.1005939f
mov byte [esp + 0x40], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10084bc8
push ebx
push dword [esp + 0x18]
lea esi, [eax + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1006b195
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
je 0x1006b18e
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1006b195
mov byte [esp + 0x13], 1
jmp 0x1006b199
mov byte [esp + 0x13], bl
lea eax, [esi - 0x10]
call fcn.10084c29
cmp byte [esp + 0x13], bl
je 0x1006b1df
push 1
push edi
call fcn.1005b373
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10084c29
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x100160d0
lea eax, [esp + 0x2c]
push eax
call fcn.1005f448
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x48], 5
call fcn.1002b2d5
mov dword [esp + 0x2c], 0x1001b018
push 0x100aaf08
lea eax, [esp + 0x30]
jmp 0x1006b138
mov ecx, edi
call fcn.1006c843
test al, al
jne 0x1006b1cd
push 0x10016108
lea eax, [esp + 0x2c]
push eax
call fcn.1005f448
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x48], 6
call fcn.1002b2d5
mov dword [esp + 0x2c], 0x1001b024
push 0x100aaf54
lea eax, [esp + 0x30]
jmp 0x1006b138
Function at 0x1006c127
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.1006f5c9
push esi
push dword [ebp + 8]
call fcn.1006f666
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 0x1006c167
mov edx, dword [esi]
cmp dword [edx], ecx
je 0x1006c16a
inc ebx
add edx, 4
cmp ebx, eax
jl 0x1006c15b
or ebx, 0xffffffff
cmp ebx, 0xffffffff
jne 0x1006c178
lea ebx, [esp + 0xc]
call fcn.100612d4
mov eax, dword [esi + 4]
xor edx, edx
mov ebx, 0x409
test eax, eax
jle 0x1006c194
mov ecx, dword [esi]
cmp dword [ecx], ebx
je 0x1006c197
inc edx
add ecx, 4
cmp edx, eax
jl 0x1006c188
or edx, 0xffffffff
cmp edx, 0xffffffff
jne 0x1006c1a9
mov dword [esp + 0xc], ebx
lea ebx, [esp + 0xc]
call fcn.100612d4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1006c1b6
Capabilities:
Check if file exists

Disassembly:
push 0xc
mov eax, 0x100a0d97
call fcn.10094bba
lea eax, [ebp - 0x14]
push eax
call fcn.10028bbf
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10084bc8
add eax, 0x10
mov dword [ebp - 0x10], eax
push edi
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.1002f4f7
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x10]
call fcn.1005ffa8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084c29
push 0x10016550
lea eax, [ebp - 0x10]
call fcn.1005ffa8
mov ebx, dword [ebp - 0x10]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
call esi
test eax, eax
jne 0x1006c25a
push edi
push 0x10016578
push eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
call fcn.100266c3
add esp, 0xc
lea eax, [ebx - 0x10]
call fcn.10084c29
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10084c29
xor al, al
call fcn.10094ca6
ret 8
cmp byte [ebp + 0xc], 0
je 0x1006c2fb
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10084bc8
add eax, 0x10
mov dword [ebp + 0xc], eax
push edi
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 3
call fcn.1002f4f7
mov byte [ebp - 4], 4
push dword [eax]
lea eax, [ebp + 0xc]
call fcn.1005ffa8
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084c29
push 0x10009268
lea eax, [ebp + 0xc]
call fcn.1005ffa8
mov ebx, dword [ebp + 0xc]
push ebx
call esi
test eax, eax
jne 0x1006c2f3
push edi
push 0x100165d8
push eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
call fcn.100266c3
add esp, 0xc
lea eax, [ebx - 0x10]
call fcn.10084c29
xor bl, bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10084c29
mov al, bl
jmp 0x1006c252
lea eax, [ebx - 0x10]
call fcn.10084c29
mov bl, 1
jmp 0x1006c2d6
Function at 0x1006c843
Capabilities:
Get file size

Disassembly:
push 0x2c
mov eax, 0x100a0d4f
call fcn.10094bba
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.1006c9cb
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.1002b057
cmp eax, ebx
jge 0x1006c8f4
mov eax, dword [0x100bcf90]
mov ecx, 0x100bcf90
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 0x10016890
push eax
call fcn.10084899
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1002b2d5
mov esi, 0x1001afe8
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.1002d363
push 0x100aadb4
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x38], esi
call fcn.1008e427
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.10084c29
mov byte [ebp - 4], bl
cmp dword [ebp - 0x28], ebx
je 0x1006c91c
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea eax, [ebp - 0x18]
push eax
call fcn.1006c9cb
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.1005f448
lea eax, [ebp - 0x1c]
push eax
call fcn.1006fe8f
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084c29
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.1006fe8f
xor eax, eax
cmp dword [ebp - 0x14], ebx
setne al
cmp eax, ebx
jne 0x1006c97f
push 0x80004005
call fcn.10084b9b
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call fcn.10088e6a
cmp eax, ebx
mov eax, dword [ebp - 0x14]
pop ecx
sete bl
pop ecx
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10084c29
or dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, bl
call fcn.10094ca6
ret
Function at 0x1006c9cb
Capabilities:
Check if file exists

Disassembly:
push 0x14
mov eax, 0x100a0cf7
call fcn.10094bba
and dword [ebp - 0x20], 0
push 0x100168b4
lea eax, [ebp - 0x18]
push eax
call fcn.1005f448
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov esi, eax
mov eax, dword [0x100bcf90]
mov ebx, 0x100bcf90
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 0x100168d8
push eax
call fcn.10084899
mov eax, dword [0x100bcf90]
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 0x1006ca58
mov eax, esi
lea ecx, [ebp - 0x1c]
call fcn.10084a51
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.1008481d
push edi
lea eax, [ebp - 0x10]
push eax
call fcn.1005f448
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.100600cb
mov eax, dword [0x100bcf90]
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.1005ffe7
mov ebx, dword [ebp - 0x14]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1006cac8
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.1005ffe7
mov ebx, dword [ebp - 0x14]
lea eax, [ebx - 0x10]
call fcn.10084bc8
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
lea eax, [ebx - 0x10]
call fcn.10084c29
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10084c29
lea eax, [edi - 0x10]
call fcn.10084c29
lea eax, [esi - 0x10]
call fcn.10084c29
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [ebp + 8]
call fcn.10094ca6
ret 4

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

Disassembly:
push 0x24
mov eax, 0x100a2fbe
call fcn.10094bba
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10026b8b
lea eax, [ebp - 0x18]
xor edi, edi
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], edi
call fcn.1002721d
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], edi
je 0x1006f648
push eax
call fcn.10087ae7
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, 0xfffffffd
jne 0x1006f61f
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x1006f648
mov ecx, dword [esi + 4]
cmp ecx, edi
jle 0x1006f638
mov edx, dword [esi]
cmp dword [edx], eax
je 0x1006f63b
inc edi
add edx, 4
cmp edi, ecx
jl 0x1006f62c
or edi, 0xffffffff
cmp edi, 0xffffffff
jne 0x1006f648
lea ebx, [ebp - 0x14]
call fcn.100612d4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084c29
lea ecx, [ebp - 0x30]
call fcn.10026ee6
call fcn.10094ca6
ret
Function at 0x1006fe8f
Capabilities:
Read file on windows

Disassembly:
push 0x20
mov eax, 0x1009cc69
call fcn.10094bba
xor ebx, ebx
mov dword [ebp - 0x10], ebx
xor edi, edi
inc edi
mov dword [ebp - 4], edi
mov eax, dword [0x100bcf90]
mov esi, 0x100bcf90
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.1002b057
cmp eax, ebx
jge 0x1006ff64
mov eax, dword [0x100bcf90]
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.10084bc8
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push esi
lea eax, [ebp + 0x10]
push 0x100172b8
push eax
mov byte [ebp - 4], 4
call fcn.10084899
add esp, 0xc
lea eax, [esi - 0x10]
mov byte [ebp - 4], 3
call fcn.10084c29
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1002b2d5
mov esi, 0x1001afe8
mov dword [ebp - 0x2c], esi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.1002d363
push 0x100aadb4
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1008e427
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
call fcn.100832d8
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 0x1006ff8a
call fcn.100846ed
mov eax, dword [ebp - 0x14]
call fcn.10067a7e
cmp dword [ebp - 0x24], ebx
je 0x1006ffa0
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, esi
call fcn.10094ca6
ret 0xc
Function at 0x10071c4d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x480
mov eax, dword [0x100bc210]
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.1008a830
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 0x10017cc0
stosd dword es:[edi], eax
lea eax, [ebp - 0x41c]
push 0x208
push eax
mov dword [ebp - 0x424], 0x80004005
call fcn.10087e3c
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 0x10071d93
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 0x10071d2a
push 1
push dword [esi + 4]
call dword [eax + 0x20]
test eax, eax
jne 0x10071d7c
mov dword [ebp - 0x420], edi
mov dword [ebp - 0x424], edi
jmp 0x10071d7c
push 0x4e20
push dword [esi + 8]
call dword [eax + 0x20]
cmp eax, 0x102
je 0x10071d93
cmp eax, 0x80
je 0x10071d8a
mov eax, dword [ebx]
push 1
push dword [esi]
mov ecx, ebx
call dword [eax + 0x20]
test eax, eax
je 0x10071d5d
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x10071d6d
mov eax, dword [ebx]
push 1
push dword [esi + 4]
mov ecx, ebx
call dword [eax + 0x20]
test eax, eax
jne 0x10071d73
mov dword [ebp - 0x420], edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [ebp - 0x420], edi
jne 0x10071cfa
jmp 0x10071d93
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.10086e31
leave
ret 4