joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e074
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
xor ebx, ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406fec
mov eax, dword [ebp - 8]
call fcn.00406fec
mov eax, dword [ebp - 0xc]
call fcn.00406fec
xor eax, eax
push ebp
push 0x41e197
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x41e0fe
push 0x41e1b4
push dword [ebp - 4]
push 0x41e1c4
push dword [ebp - 8]
lea eax, [ebp - 0x6c]
mov edx, 4
call fcn.004074d0
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
call fcn.00407718
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.00416608
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 8]
mov ecx, 0
call fcn.00407658
lea eax, [ebp - 0x60]
xor ecx, ecx
mov edx, 0x44
call fcn.00404db4
lea eax, [ebp - 0x1c]
xor ecx, ecx
mov edx, 0x10
call fcn.00404db4
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x34], 1
mov word [ebp - 0x30], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004075d0
push eax
push 0
push 0x8008000
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004075d0
push eax
mov eax, dword [ebp - 4]
call fcn.004075d0
push eax
call sub.kernel32.dll_CreateProcessA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e19e
lea eax, [ebp - 0x6c]
call fcn.00406f0c
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.00406f48
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406f80
pop eax
jmp eax
Function at 0x403b30
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x40ae80], eax
mov edx, 1
dec edx
nop
inc edx
mov eax, edx
dec eax
mov ecx, dword [eax*4 + 0x40ae80]
shr ecx, 0x1e
mov eax, edx
dec eax
mov eax, dword [eax*4 + 0x40ae80]
xor ecx, eax
imul ecx, ecx, 0x6c078965
add ecx, edx
mov dword [edx*4 + 0x40ae80], ecx
cmp edx, 0x26f
jl 0x403b3c
mov dword [0x409550], 0x270
ret

Function at 0x403b80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub esp, 8
mov dword [esp], ebx
mov dword [esp + 4], esi
mov eax, dword [0x40a010]
cmp eax, dword [0x4094e0]
je 0x403ba1
mov dword [0x409550], 0x271
mov eax, dword [0x409550]
cmp eax, 0x270
jl 0x403cc9
mov eax, dword [0x409550]
cmp eax, 0x271
jne 0x403bd8
mov eax, dword [0x40a010]
call fcn.00403b30
mov eax, dword [0x40a010]
not eax
mov dword [0x40a010], eax
mov dword [0x4094e0], eax
mov edx, 0
dec edx
mov esi, esi
inc edx
mov eax, edx
inc eax
mov eax, dword [eax*4 + 0x40ae80]
and eax, 0x7fffffff
mov ebx, dword [edx*4 + 0x40ae80]
and ebx, 0x80000000
or eax, ebx
mov ecx, eax
mov eax, edx
add eax, 0x18d
mov ebx, ecx
shr ebx, 1
mov esi, dword [eax*4 + 0x40ae80]
xor esi, ebx
mov eax, ecx
and eax, 1
mov eax, dword [eax*4 + 0x409560]
xor esi, eax
mov dword [edx*4 + 0x40ae80], esi
cmp edx, 0xe2
jl 0x403be0
mov edx, 0xe3
dec edx
inc edx
mov eax, edx
inc eax
mov eax, dword [eax*4 + 0x40ae80]
and eax, 0x7fffffff
mov ebx, dword [edx*4 + 0x40ae80]
and ebx, 0x80000000
or eax, ebx
mov ecx, eax
mov eax, edx
add eax, 0xffffff1d
mov ebx, ecx
shr ebx, 1
mov esi, dword [eax*4 + 0x40ae80]
xor esi, ebx
mov eax, ecx
and eax, 1
mov eax, dword [eax*4 + 0x409560]
xor esi, eax
mov dword [edx*4 + 0x40ae80], esi
cmp edx, 0x26e
jl 0x403c38
mov eax, dword [0x40b83c]
and eax, 0x80000000
mov edx, dword [0x40ae80]
and edx, 0x7fffffff
or eax, edx
mov ecx, eax
shr eax, 1
mov edx, dword [0x40b4b0]
xor eax, edx
and ecx, 1
mov edx, dword [ecx*4 + 0x409560]
xor eax, edx
mov dword [0x40b83c], eax
mov dword [0x409550], 0
mov eax, dword [0x409550]
mov edx, dword [eax*4 + 0x40ae80]
inc dword [0x409550]
mov eax, edx
shr eax, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor edx, eax
mov ecx, edx
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov ebx, dword [esp]
mov esi, dword [esp + 4]
add esp, 8
ret
Function at 0x406e10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x118], edi
call fcn.00401620
mov dword [ebp - 0x114], 0
mov dword [0x40ad40], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp + eax - 0x108], 0
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov eax, ebp
mov edx, 0
call fcn.00407000
mov eax, dword [0x40ad40]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x110]
inc ecx
lea eax, [ebp - 0x108]
call fcn.00401fd0
call sub.kernel32.dll_GetCommandLineA
mov dword [0x409130], eax
mov ebx, dword [0x409130]
jmp 0x406fb1
inc ebx
movzx eax, byte [ebx]
dec eax
cmp eax, 0x20
jb 0x406eb0
mov al, byte [ebx]
test al, al
je 0x406fbb
mov byte [ebp - 0x10c], 0
mov edi, ebx
mov dword [ebp - 0x110], 0
jmp 0x406f20
mov al, byte [ebx]
cmp al, 1
jb 0x406f19
sub al, 0x20
jbe 0x406eec
sub al, 2
je 0x406efe
jmp 0x406f19
mov al, byte [ebp - 0x10c]
test al, al
je 0x406f26
inc dword [ebp - 0x110]
jmp 0x406f1f
mov al, byte [ebx + 1]
cmp al, 0x22
je 0x406f16
mov al, byte [ebp - 0x10c]
test al, al
sete byte [ebp - 0x10c]
jmp 0x406f1f
inc ebx
jmp 0x406f1f
inc dword [ebp - 0x110]
inc ebx
mov al, byte [ebx]
test al, al
jne 0x406edc
mov eax, dword [ebp - 0x114]
test eax, eax
je 0x406fab
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x114]
mov eax, ebp
call fcn.00407000
mov byte [ebp - 0x10c], 0
mov ebx, edi
mov eax, dword [0x40ad40]
mov edx, dword [ebp - 0x114]
mov esi, dword [eax + edx*4]
jmp 0x406fa2
mov al, byte [ebx]
cmp al, 1
jb 0x406f9c
sub al, 0x20
jbe 0x406f70
sub al, 2
je 0x406f81
jmp 0x406f9c
mov al, byte [ebp - 0x10c]
test al, al
je 0x406fa8
mov al, byte [ebx]
mov byte [esi], al
inc esi
jmp 0x406fa1
mov al, byte [ebx + 1]
cmp al, 0x22
je 0x406f99
mov al, byte [ebp - 0x10c]
test al, al
sete byte [ebp - 0x10c]
jmp 0x406fa1
inc ebx
jmp 0x406fa1
mov al, byte [ebx]
mov byte [esi], al
inc esi
inc ebx
mov al, byte [ebx]
test al, al
jne 0x406f60
mov byte [esi], 0
inc dword [ebp - 0x114]
mov al, byte [ebx]
test al, al
jne 0x406eb1
mov ebx, dword [ebp - 0x114]
mov dword [0x40ad30], ebx
mov edx, ebx
inc edx
shl edx, 2
mov eax, 0x40ad40
call fcn.004053f0
mov eax, dword [0x40ad40]
mov dword [eax + ebx*4], 0
mov ebx, dword [ebp - 0x120]
mov esi, dword [ebp - 0x11c]
mov edi, dword [ebp - 0x118]
leave
ret
Function at 0x4084e0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 4], al
mov al, byte [ebp - 4]
cmp al, 7
jb 0x408534
sub al, 7
je 0x40858e
dec al
je 0x40851d
sub al, 2
je 0x408506
sub al, 3
je 0x408511
jmp 0x408534
inc dword [0x40c2d0]
jmp 0x40858e
mov eax, dword [0x40c230]
mov dword [0x40c2c0], eax
jmp 0x40858e
mov eax, dword [0x40c2c0]
cmp eax, dword [0x40c230]
jbe 0x40858e
dec dword [0x40c2c0]
jmp 0x40858e
mov eax, dword [0x40c2c0]
dec eax
mov word [ebp - 8], ax
mov eax, dword [0x40c2d0]
dec eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 1
lea eax, [ebp - 4]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteConsoleOutputCharacterA
movzx ax, byte [0x409640]
mov word [ebp - 0x10], ax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 1
lea eax, [ebp - 0x10]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteConsoleOutputAttribute
inc dword [0x40c2c0]
mov eax, dword [0x40c2c0]
cmp eax, dword [0x40c240]
jbe 0x4085c0
mov eax, dword [0x40c230]
mov dword [0x40c2c0], eax
inc dword [0x40c2d0]
jmp 0x4085c0
mov eax, 1
call fcn.00408450
dec dword [0x40c2d0]
mov eax, dword [0x40c2d0]
cmp eax, dword [0x40c260]
ja 0x4085b0
leave
ret

Function at 0x4085d0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
mov edi, eax
mov eax, dword [0x40c2c0]
sub eax, 2
mov word [ebp - 4], ax
mov eax, dword [0x40c2d0]
dec eax
mov word [ebp - 2], ax
movzx ax, byte [0x409640]
mov word [ebp - 0xc], ax
movzx ax, byte [edi]
mov si, ax
mov bx, 1
cmp si, bx
jl 0x4086c0
dec bx
lea esi, [esi]
inc bx
inc word [ebp - 4]
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push 1
mov al, bl
and eax, 0xff
lea eax, [edi + eax]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteConsoleOutputCharacterA
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push 1
lea eax, [ebp - 0xc]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteConsoleOutputAttribute
inc dword [0x40c2c0]
mov eax, dword [0x40c2c0]
cmp eax, dword [0x40c240]
jbe 0x4086b7
mov eax, dword [0x40c230]
mov dword [0x40c2c0], eax
inc dword [0x40c2d0]
jmp 0x408694
mov eax, 1
call fcn.00408450
dec dword [0x40c2d0]
mov eax, dword [0x40c2d0]
cmp eax, dword [0x40c260]
ja 0x408684
mov eax, dword [0x40c2c0]
sub eax, 2
mov word [ebp - 4], ax
mov eax, dword [0x40c2d0]
dec eax
mov word [ebp - 2], ax
cmp si, bx
jg 0x40861c
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
leave
ret
Function at 0x70174b
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, ecx
mov eax, dword [edi + 0x44]
xor ebx, ebx
cmp eax, ebx
je 0x7017a6
cmp eax, 0xffffffff
je 0x7017a6
cmp dword [ebp + 8], ebx
je 0x7017a6
push esi
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [edi + 0x44]
push ebx
mov esi, eax
lea eax, [ebp - 4]
push eax
add esi, esi
push esi
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x70f302
cmp esi, dword [ebp - 4]
jne 0x70f31d
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret 4
mov ebx, 0x80070057
jmp 0x70179e

Function at 0x70227c
Capabilities:
Query environment variable

Disassembly:
push 0x20
mov eax, 0x71621c
call fcn.00701350
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
push ebx
push 0x20019
push dword [0x71b458]
lea ecx, [ebp - 0x2c]
push 0x80000002
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
call fcn.00702097
test eax, eax
jne 0x7023c4
lea eax, [ebp - 0x20]
push eax
push dword [0x71b45c]
lea ecx, [ebp - 0x2c]
push ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
call fcn.007023dc
test eax, eax
jne 0x7023c4
mov eax, dword [ebp - 0x20]
xor ecx, ecx
push 2
add eax, eax
pop edx
mul edx
seto cl
mov byte [ebp - 4], 1
neg ecx
or ecx, eax
push ecx
call fcn.007013e0
mov esi, eax
pop ecx
mov dword [ebp - 0x1c], esi
cmp esi, ebx
je 0x7023c4
lea eax, [ebp - 0x20]
push eax
push dword [0x71b45c]
lea ecx, [ebp - 0x2c]
push esi
call fcn.007023dc
test eax, eax
jne 0x7023bb
push ebx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
call esi
mov edi, eax
cmp edi, ebx
je 0x7023bb
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.007013e0
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x7023bb
push edi
push eax
push dword [ebp - 0x1c]
call esi
mov esi, eax
cmp esi, ebx
je 0x7023b2
cmp dword [ebp + 8], ebx
je 0x70ea08
push dword [0x71b460]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + esi + 1]
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.007013e0
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x7023b2
push dword [ebp - 0x14]
push esi
push eax
call fcn.007021cb
push dword [0x71b460]
push edi
push dword [ebp - 0x18]
call fcn.00702436
push dword [ebp - 0x14]
call fcn.007013c0
pop ecx
push dword [ebp - 0x1c]
call fcn.007013c0
pop ecx
lea ecx, [ebp - 0x2c]
call fcn.00701f10
mov eax, dword [ebp - 0x18]
call fcn.00701390
ret 4
Function at 0x7023dc
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push edi
push esi
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 4], ebx
jbe 0x70242c
cmp dword [ebp - 4], 2
ja 0x70e965
mov ecx, dword [edi]
test cl, 1
jne 0x70242c
cmp esi, ebx
je 0x702425
shr ecx, 1
cmp word [esi + ecx*2 - 2], bx
jne 0x70242c
pop edi
pop esi
pop ebx
leave
ret 0xc
push 0xd
pop eax
jmp 0x702425

Function at 0x7024ed
Capabilities:
Delete file
Move file

Disassembly:
push 0x14
mov eax, 0x716b05
call fcn.00701350
mov esi, ecx
mov eax, dword [esi + 0x44]
xor edi, edi
mov ebx, 0x8007000e
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
cmp eax, edi
je 0x702519
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x44], edi
cmp dword [ebp + 8], edi
je 0x70265b
cmp dword [ebp + 0xc], edi
je 0x70265b
push 1
call fcn.0070227c
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x70264a
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov dword [ebp - 4], edi
call esi
push dword [ebp + 8]
mov edi, eax
call esi
lea eax, [eax + edi + 1]
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0x20], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.007013e0
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x70259b
push dword [ebp - 0x1c]
inc edi
push edi
push eax
call fcn.007021cb
mov ebx, eax
test ebx, ebx
jl 0x70259b
push dword [ebp + 8]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call fcn.00702436
mov ebx, eax
test ebx, ebx
jl 0x70259b
xor ebx, ebx
inc ebx
or dword [ebp - 4], 0xffffffff
test ebx, ebx
jl 0x702632
push 2
pop ebx
push dword [ebp - 0x1c]
mov dword [ebp - 4], ebx
call esi
push dword [ebp + 0xc]
mov edi, eax
call esi
lea esi, [eax + edi + 1]
xor ecx, ecx
mov eax, esi
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.007013e0
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x702654
push dword [ebp - 0x1c]
inc edi
push edi
push eax
call fcn.007021cb
mov ebx, eax
test ebx, ebx
jl 0x702623
push dword [ebp + 0xc]
push esi
push dword [ebp - 0x14]
call fcn.00702436
mov ebx, eax
test ebx, ebx
jl 0x702623
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0x702623
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x70f3a2
xor ebx, ebx
cmp dword [ebp - 0x14], 0
je 0x702632
push dword [ebp - 0x14]
call fcn.007013c0
pop ecx
cmp dword [ebp - 0x18], 0
je 0x702641
push dword [ebp - 0x18]
call fcn.007013c0
pop ecx
push dword [ebp - 0x1c]
call fcn.007013c0
pop ecx
mov eax, ebx
call fcn.00701390
ret 8
mov ebx, 0x8007000e
jmp 0x7025fe
mov ebx, 0x80070057
jmp 0x70264a
Function at 0x703a67
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x703ae4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x703ac0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x703ad0
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0xffffffff
pop esi
je 0x70e30e
mov eax, dword [ebp - 8]
leave
ret
Function at 0x704267
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0x71b00c], esi
jne 0x7042be
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x702c6f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x71b00c], eax
cmp eax, esi
je 0x70e4ec
push 0xffffffffffffffff
push dword [0x71b014]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x71b014]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [0x71b018], esi
jl 0x70e50a
pop esi
leave
ret

Function at 0x704441
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x704498
call fcn.00702712
xor eax, eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x704490
cmp ecx, 0xffffffff
je 0x704490
and dword [ebp - 4], eax
mov edx, 0x5a4d
cmp word [ecx], dx
jne 0x704489
mov edx, dword [ecx + 0x3c]
test edx, edx
jl 0x704489
cmp edx, 0x10000000
jae 0x704489
lea eax, [edx + ecx]
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0x70e892
mov dword [ebp - 4], 0xfffffffe
call fcn.00702757
ret 4

Function at 0x70681f
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x71b004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, ecx
inc eax
cmp dword [esi + 0x2c], 0
jne 0x706933
push edi
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov edi, 0x105
push edi
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x420], eax
cmp eax, edi
ja 0x70ed16
lea eax, [ebp - 0x41c]
push eax
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.007021cb
test eax, eax
jl 0x706932
mov ecx, dword [ebp - 0x420]
cmp word [ebp + ecx*2 - 0x210], 0x5c
je 0x7068c3
push 0x706994
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00702436
test eax, eax
jl 0x706932
push 0x706980
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00702436
test eax, eax
jl 0x706932
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x2c], eax
test eax, eax
je 0x70ed20
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x706970
push eax
call edi
push 0x70695c
push dword [esi + 0x2c]
mov dword [esi + 0x30], eax
call edi
push 0x706948
push dword [esi + 0x2c]
mov dword [esi + 0x34], eax
call edi
cmp dword [esi + 0x30], 0
mov dword [esi + 0x38], eax
je 0x706940
cmp dword [esi + 0x34], 0
je 0x706940
test eax, eax
je 0x706940
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.007020d4
leave
ret
mov eax, 0x8007007f
jmp 0x706932
Function at 0x7071f8
Capabilities:
Identify system language via api

Disassembly:
push 0x2c
mov eax, 0x71608c
call fcn.007039dd
lea ecx, [ebp - 0x34]
call fcn.00706c55
and dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
push 0
call fcn.0070758b
test eax, eax
jl 0x70722c
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.007072a7
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx esi, ax
mov eax, 0x409
mov edi, 0x707298
cmp ax, si
jne 0x70e4b4
and esi, 0x3ff
push esi
push edi
lea eax, [ebp - 0x30]
push 8
push eax
call fcn.00701451
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0070758b
mov esi, eax
test esi, esi
jl 0x707280
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.007072a7
mov esi, eax
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call fcn.0070760b
mov eax, esi
call fcn.00702b9f
ret

Function at 0x70791d
Capabilities:
Identify system language via api

Disassembly:
lea eax, [ebp - 0x30]
push eax
call esi
push 8
pop eax
push dword [ebp + 0x10]
mov word [ebp - 0x30], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x28], eax
cmp eax, ebx
je 0x70dc4f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0x82
lea edx, [ebp - 0x30]
push edx
push 0x707900
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x30]
push eax
call edi
cmp esi, ebx
jl 0x7079a8
push 1
lea ecx, [ebp - 0x20]
call fcn.007079e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0x7078ec
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.007071e0
cmp esi, ebx
jl 0x7079a8
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push 3
movzx eax, ax
pop ecx
mov word [ebp - 0x20], cx
mov dword [ebp - 0x18], eax
jmp 0x707992
push 0x24
mov eax, 0x715c85
call fcn.007026dd
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x20]
push eax
call esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
mov dword [ebp - 0x10], ebx
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [ebp + 0xc], ebx
je 0x707854
push 1
lea ecx, [ebp - 0x20]
call fcn.007079e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0x703984
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0x7079a6
push 3
pop eax
mov word [ebp - 0x20], ax
mov dword [ebp - 0x18], 0x409
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x20]
push edx
push 0x7079d0
push eax
call dword [ecx + 0x10]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.00707455
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.007071e0
mov eax, esi
call fcn.00701390
ret 0xc
Function at 0x707b05
Capabilities:
Identify system language via api

Disassembly:
push 0x50
mov eax, 0x715fc0
call fcn.007039dd
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor esi, esi
push esi
mov dword [ebp - 0x5c], ecx
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x54], esi
call fcn.00707c2b
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x58]
mov ebx, eax
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, si
jne 0x707b34
sub eax, ecx
sar eax, 1
mov edi, eax
je 0x707b63
movzx eax, word [ebx + esi*2]
push eax
call dword [sym.imp.msvcrt.dll_iswxdigit]
pop ecx
test eax, eax
je 0x707b5b
inc esi
cmp esi, edi
jb 0x707b46
cmp esi, edi
jb 0x707c0e
xor eax, eax
mov edx, ebx
test edi, edi
jbe 0x707c0e
cmp word [edx], 0x30
jne 0x707b7c
inc eax
inc edx
inc edx
cmp eax, edi
jb 0x707b6f
cmp eax, edi
jae 0x707c0e
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x707b89
sub eax, esi
sar eax, 1
cmp eax, 3
ja 0x707c0e
push 0x10
push 0
push edx
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
movzx esi, ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp cx, si
jne 0x707c03
movzx eax, ax
movzx eax, ax
push eax
push 0x707c18
lea eax, [ebp - 0x50]
push 0x20
push eax
call fcn.00701451
mov ecx, dword [ebp - 0x5c]
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
call fcn.00706c60
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.0070760b
mov eax, dword [ebp - 0x54]
call fcn.00702b9f
ret 8
or esi, 0x400
movzx eax, si
jmp 0x707bc6
mov dword [ebp - 0x54], 0x80041001
jmp 0x707be9