joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f53c1
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
stosd dword es:[edi], eax
mov dword [ebp - 0x20], ebx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
cmp eax, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [0x762e48], eax
je 0x4f54b0
call fcn.00401e97
mov dword [0x762e4c], eax
cmp dword [0x762e48], ebx
jne 0x4f5501
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x4f54e9
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [ebp - 8], ebx
jne 0x4f5440
call fcn.00402dc9
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x4f54ec
cmp dword [ebp - 4], ebx
jne 0x4f54ec
lea eax, [ebp - 0x20]
push eax
call fcn.00402dc9
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 6
call esi
push 4
mov edi, eax
call esi
add eax, dword [ebp - 0x1c]
push 0xfffffffffffffffd
lea ecx, [eax + edi + 3]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
pop edi
cdq
idiv edi
mov dword [ebp - 0x1c], ecx
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
jle 0x4f54e0
cmp eax, dword [ebp - 0x18]
jge 0x4f54e0
cmp dword [ebp - 0xc], ecx
jle 0x4f54e0
push 0xf
call esi
add eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xc], eax
jge 0x4f54e0
mov dword [0x762e2c], 1
call fcn.00401e97
mov dword [0x762e30], eax
jmp 0x4f54ec
call fcn.00401e97
sub eax, dword [0x762e4c]
cmp eax, 0xde
jae 0x4f53fd
call fcn.00401e97
sub eax, dword [0x762e4c]
push eax
push str.:7:CheckForMouseButton___was_called_consecutively_too_quickly:__dms
call fcn.00401375
pop ecx
pop ecx
jmp 0x4f5501
mov dword [ebp - 4], 1
jmp 0x4f54ec
mov dword [ebp - 4], ebx
push 0x16
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x762e48], ebx
je 0x4f5410
pop esi
pop edi
xor eax, eax
pop ebx
leave
ret 4
Function at 0x508cf0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6294a0]
jne 0x508cfa
repz ret
jmp fcn.0051a520
Function at 0x5219b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x62a0ec]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5219eb
mov ecx, dword [0x7637d4]
push ecx
call fcn.005218d0
add esp, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [0x62a0ec]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x52cee0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xor eax, eax
cmp dword [ebp + 8], 0
setne al
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x52cf16
push str._path___NULL_
push 0
push 0x50
push str.access.c
push 2
call fcn.00519260
add esp, 0x14
cmp eax, 1
jne 0x52cf16
int3
cmp dword [ebp - 8], 0
jne 0x52cf57
call fcn.00518f10
mov dword [eax], 0
call fcn.00518ee0
mov dword [eax], 0x16
push 0
push 0x50
push str.access.c
push str._access_s
push str._path___NULL_
call fcn.00518a50
add esp, 0x14
mov eax, 0x16
jmp 0x52d02f
mov edx, dword [ebp + 0xc]
and edx, 0xfffffff9
neg edx
sbb edx, edx
add edx, 1
mov dword [ebp - 0xc], edx
jne 0x52cf87
push str.__amode___6____0_
push 0
push 0x51
push str.access.c
push 2
call fcn.00519260
add esp, 0x14
cmp eax, 1
jne 0x52cf87
int3
cmp dword [ebp - 0xc], 0
jne 0x52cfc5
call fcn.00518f10
mov dword [eax], 0
call fcn.00518ee0
mov dword [eax], 0x16
push 0
push 0x51
push str.access.c
push str._access_s
push str.__amode___6____0_
call fcn.00518a50
add esp, 0x14
mov eax, 0x16
jmp 0x52d02f
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x52cff0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00518cd0
add esp, 4
call fcn.00518ee0
mov eax, dword [eax]
jmp 0x52d02f
mov edx, dword [ebp - 4]
and edx, 0x10
je 0x52cffc
xor eax, eax
jmp 0x52d02f
mov eax, dword [ebp - 4]
and eax, 1
je 0x52d02d
mov ecx, dword [ebp + 0xc]
and ecx, 2
je 0x52d02d
call fcn.00518f10
mov dword [eax], 5
call fcn.00518ee0
mov dword [eax], 0xd
call fcn.00518ee0
mov eax, dword [eax]
jmp 0x52d02f
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x10001b71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.100018ed
push esp
jne 0x10001b36
or byte [esi - 0x75], ah
inc edi
push es
cmp ax, bx
jbe 0x10001b47
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x10001b41
xor dword [ebx], eax
invalid
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x10001b32
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
inc ebp
mov bl, 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov eax, 0xb945c6c8
cmpsd dword [esi], dword es:[edi]
call fcn.100018ed
stc
mov ebp, 0x458d99e4
test al, 0x50
call fcn.100018fd
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.100018b2
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx

Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret
Function at 0xe9174b
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 0xe917a6
cmp eax, 0xffffffff
je 0xe917a6
cmp dword [ebp + 8], ebx
je 0xe917a6
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 0xe9f302
cmp esi, dword [ebp - 4]
jne 0xe9f31d
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret 4
mov ebx, 0x80070057
jmp 0xe9179e

Function at 0xe9227c
Capabilities:
Query environment variable

Disassembly:
push 0x20
mov eax, 0xea621c
call fcn.00e91350
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
push ebx
push 0x20019
push dword [0xeab458]
lea ecx, [ebp - 0x2c]
push 0x80000002
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
call fcn.00e92097
test eax, eax
jne 0xe923c4
lea eax, [ebp - 0x20]
push eax
push dword [0xeab45c]
lea ecx, [ebp - 0x2c]
push ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
call fcn.00e923dc
test eax, eax
jne 0xe923c4
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.00e913e0
mov esi, eax
pop ecx
mov dword [ebp - 0x1c], esi
cmp esi, ebx
je 0xe923c4
lea eax, [ebp - 0x20]
push eax
push dword [0xeab45c]
lea ecx, [ebp - 0x2c]
push esi
call fcn.00e923dc
test eax, eax
jne 0xe923bb
push ebx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
call esi
mov edi, eax
cmp edi, ebx
je 0xe923bb
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00e913e0
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0xe923bb
push edi
push eax
push dword [ebp - 0x1c]
call esi
mov esi, eax
cmp esi, ebx
je 0xe923b2
cmp dword [ebp + 8], ebx
je 0xe9ea08
push dword [0xeab460]
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.00e913e0
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0xe923b2
push dword [ebp - 0x14]
push esi
push eax
call fcn.00e921cb
push dword [0xeab460]
push edi
push dword [ebp - 0x18]
call fcn.00e92436
push dword [ebp - 0x14]
call fcn.00e913c0
pop ecx
push dword [ebp - 0x1c]
call fcn.00e913c0
pop ecx
lea ecx, [ebp - 0x2c]
call fcn.00e91f10
mov eax, dword [ebp - 0x18]
call fcn.00e91390
ret 4
Function at 0xe923dc
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 0xe9242c
cmp dword [ebp - 4], 2
ja 0xe9e965
mov ecx, dword [edi]
test cl, 1
jne 0xe9242c
cmp esi, ebx
je 0xe92425
shr ecx, 1
cmp word [esi + ecx*2 - 2], bx
jne 0xe9242c
pop edi
pop esi
pop ebx
leave
ret 0xc
push 0xd
pop eax
jmp 0xe92425

Function at 0xe924ed
Capabilities:
Delete file
Move file

Disassembly:
push 0x14
mov eax, 0xea6b05
call fcn.00e91350
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 0xe92519
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x44], edi
cmp dword [ebp + 8], edi
je 0xe9265b
cmp dword [ebp + 0xc], edi
je 0xe9265b
push 1
call fcn.00e9227c
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0xe9264a
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.00e913e0
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
je 0xe9259b
push dword [ebp - 0x1c]
inc edi
push edi
push eax
call fcn.00e921cb
mov ebx, eax
test ebx, ebx
jl 0xe9259b
push dword [ebp + 8]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call fcn.00e92436
mov ebx, eax
test ebx, ebx
jl 0xe9259b
xor ebx, ebx
inc ebx
or dword [ebp - 4], 0xffffffff
test ebx, ebx
jl 0xe92632
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.00e913e0
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0xe92654
push dword [ebp - 0x1c]
inc edi
push edi
push eax
call fcn.00e921cb
mov ebx, eax
test ebx, ebx
jl 0xe92623
push dword [ebp + 0xc]
push esi
push dword [ebp - 0x14]
call fcn.00e92436
mov ebx, eax
test ebx, ebx
jl 0xe92623
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0xe92623
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 0xe9f3a2
xor ebx, ebx
cmp dword [ebp - 0x14], 0
je 0xe92632
push dword [ebp - 0x14]
call fcn.00e913c0
pop ecx
cmp dword [ebp - 0x18], 0
je 0xe92641
push dword [ebp - 0x18]
call fcn.00e913c0
pop ecx
push dword [ebp - 0x1c]
call fcn.00e913c0
pop ecx
mov eax, ebx
call fcn.00e91390
ret 8
mov ebx, 0x8007000e
jmp 0xe925fe
mov ebx, 0x80070057
jmp 0xe9264a
Function at 0xe93a67
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 0xe93ae4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0xe93ac0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0xe93ad0
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 0xe9e30e
mov eax, dword [ebp - 8]
leave
ret
Function at 0xe94267
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0xeab00c], esi
jne 0xe942be
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0xe92c6f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0xeab00c], eax
cmp eax, esi
je 0xe9e4ec
push 0xffffffffffffffff
push dword [0xeab014]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0xeab014]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [0xeab018], esi
jl 0xe9e50a
pop esi
leave
ret

Function at 0xe94441
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0xe94498
call fcn.00e92712
xor eax, eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0xe94490
cmp ecx, 0xffffffff
je 0xe94490
and dword [ebp - 4], eax
mov edx, 0x5a4d
cmp word [ecx], dx
jne 0xe94489
mov edx, dword [ecx + 0x3c]
test edx, edx
jl 0xe94489
cmp edx, 0x10000000
jae 0xe94489
lea eax, [edx + ecx]
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0xe9e892
mov dword [ebp - 4], 0xfffffffe
call fcn.00e92757
ret 4

Function at 0xe9681f
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0xeab004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, ecx
inc eax
cmp dword [esi + 0x2c], 0
jne 0xe96933
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 0xe9ed16
lea eax, [ebp - 0x41c]
push eax
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00e921cb
test eax, eax
jl 0xe96932
mov ecx, dword [ebp - 0x420]
cmp word [ebp + ecx*2 - 0x210], 0x5c
je 0xe968c3
push 0xe96994
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00e92436
test eax, eax
jl 0xe96932
push 0xe96980
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00e92436
test eax, eax
jl 0xe96932
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x2c], eax
test eax, eax
je 0xe9ed20
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xe96970
push eax
call edi
push 0xe9695c
push dword [esi + 0x2c]
mov dword [esi + 0x30], eax
call edi
push 0xe96948
push dword [esi + 0x2c]
mov dword [esi + 0x34], eax
call edi
cmp dword [esi + 0x30], 0
mov dword [esi + 0x38], eax
je 0xe96940
cmp dword [esi + 0x34], 0
je 0xe96940
test eax, eax
je 0xe96940
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00e920d4
leave
ret
mov eax, 0x8007007f
jmp 0xe96932
Function at 0xe971f8
Capabilities:
Identify system language via api

Disassembly:
push 0x2c
mov eax, 0xea608c
call fcn.00e939dd
lea ecx, [ebp - 0x34]
call fcn.00e96c55
and dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
push 0
call fcn.00e9758b
test eax, eax
jl 0xe9722c
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00e972a7
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx esi, ax
mov eax, 0x409
mov edi, 0xe97298
cmp ax, si
jne 0xe9e4b4
and esi, 0x3ff
push esi
push edi
lea eax, [ebp - 0x30]
push 8
push eax
call fcn.00e91451
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00e9758b
mov esi, eax
test esi, esi
jl 0xe97280
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00e972a7
mov esi, eax
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call fcn.00e9760b
mov eax, esi
call fcn.00e92b9f
ret

Function at 0xe9791d
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 0xe9dc4f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0x82
lea edx, [ebp - 0x30]
push edx
push 0xe97900
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x30]
push eax
call edi
cmp esi, ebx
jl 0xe979a8
push 1
lea ecx, [ebp - 0x20]
call fcn.00e979e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0xe978ec
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.00e971e0
cmp esi, ebx
jl 0xe979a8
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 0xe97992
push 0x24
mov eax, 0xea5c85
call fcn.00e926dd
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 0xe97854
push 1
lea ecx, [ebp - 0x20]
call fcn.00e979e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0xe93984
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0xe979a6
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 0xe979d0
push eax
call dword [ecx + 0x10]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.00e97455
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.00e971e0
mov eax, esi
call fcn.00e91390
ret 0xc
Function at 0xe97b05
Capabilities:
Identify system language via api

Disassembly:
push 0x50
mov eax, 0xea5fc0
call fcn.00e939dd
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.00e97c2b
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 0xe97b34
sub eax, ecx
sar eax, 1
mov edi, eax
je 0xe97b63
movzx eax, word [ebx + esi*2]
push eax
call dword [sym.imp.msvcrt.dll_iswxdigit]
pop ecx
test eax, eax
je 0xe97b5b
inc esi
cmp esi, edi
jb 0xe97b46
cmp esi, edi
jb 0xe97c0e
xor eax, eax
mov edx, ebx
test edi, edi
jbe 0xe97c0e
cmp word [edx], 0x30
jne 0xe97b7c
inc eax
inc edx
inc edx
cmp eax, edi
jb 0xe97b6f
cmp eax, edi
jae 0xe97c0e
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0xe97b89
sub eax, esi
sar eax, 1
cmp eax, 3
ja 0xe97c0e
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 0xe97c03
movzx eax, ax
movzx eax, ax
push eax
push 0xe97c18
lea eax, [ebp - 0x50]
push 0x20
push eax
call fcn.00e91451
mov ecx, dword [ebp - 0x5c]
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
call fcn.00e96c60
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.00e9760b
mov eax, dword [ebp - 0x54]
call fcn.00e92b9f
ret 8
or esi, 0x400
movzx eax, si
jmp 0xe97bc6
mov dword [ebp - 0x54], 0x80041001
jmp 0xe97be9
Function at 0xe97f3e
Capabilities:
Create directory

Disassembly:
push 0x10
mov eax, 0xea6a7d
call fcn.00e91350
mov dword [ebp - 0x1c], ecx
xor esi, esi
mov ebx, 0x8007000e
mov dword [ebp - 0x14], esi
cmp dword [ebp + 8], esi
je 0xe98046
push 1
call fcn.00e9227c
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0xe9803c
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
push dword [ebp + 8]
mov edi, eax
call esi
lea esi, [eax + edi + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00e913e0
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0xe97fcd
push dword [ebp - 0x18]
inc edi
push edi
push eax
call fcn.00e921cb
mov ebx, eax
test ebx, ebx
jl 0xe98024
push dword [ebp + 8]
push esi
push dword [ebp - 0x14]
call fcn.00e92436
mov ebx, eax
test ebx, ebx
jl 0xe98024
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0xe98024
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0xe97ff6
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0xe9f33c
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0xe98024
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x44], eax
cmp eax, 0xffffffff
je 0xe9f353
cmp dword [ebp - 0x14], 0
je 0xe98033
push dword [ebp - 0x14]
call fcn.00e913c0
pop ecx
push dword [ebp - 0x18]
call fcn.00e913c0
pop ecx
mov eax, ebx
call fcn.00e91390
ret 4
mov ebx, 0x80070057
jmp 0xe9803c

Function at 0xe985f1
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0xeab004]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x44]
test eax, eax
je 0xe98684
cmp eax, 0xffffffff
je 0xe98684
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0xe98684
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
and dword [ebp - 0xc], 0
push ebx
call esi
push ebx
mov dword [ebp - 0x10], eax
call esi
lea esi, [eax + eax + 2]
mov eax, esi
call fcn.00e985b5
mov eax, esp
push esi
push ebx
push eax
call fcn.00e98692
mov esi, dword [ebp - 0x10]
mov edi, dword [edi + 0x44]
push 0
lea ecx, [ebp - 0xc]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0xe9f2da
cmp esi, dword [ebp - 0xc]
jne 0xe9f2f6
mov eax, dword [ebp - 8]
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00e920d4
leave
ret 4
mov dword [ebp - 8], 0x80070057
jmp 0xe9866d