joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ee20
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x45ee53
push esi
call fcn.0046d1c0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45ee4c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x45eed9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x45eec2
mov eax, dword [esi + 8]
test eax, eax
je 0x45ee77
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45eebe
cmp eax, 2
je 0x45eec2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45ee6a
cmp eax, 3
je 0x45ee9d
cmp eax, 1
jne 0x45ee6a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45ee6a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45ee6a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0045ef00
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x45eee8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0045ef00
add esp, 4
pop esi
ret

Function at 0x45f770
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x45f791
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x45f791
mov eax, dword [eax + 0x44]
test eax, eax
je 0x45f791
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x47a970
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x47aa13
test eax, eax
jbe 0x47aa13
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x47aa13
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x47a9be
xor esi, esi
jmp 0x47a9c4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x47a9ef
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0047ca20
add esi, eax
push esi
mov ebx, esi
call fcn.0047ca20
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x47a9d0
pop ebp
test edi, edi
pop edi
jne 0x47aa13
test ebx, ebx
je 0x47aa13
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0047f2b0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x47ab75
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x47ac8d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47ac8d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0048fc6e
mov esi, eax
test esi, esi
je 0x47ac8d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x47ac8d
mov ecx, esi
call fcn.0047ab00
cmp edi, eax
jge 0x47ac8d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x47ac13
mov dword [esp + 0x34], 1
jmp 0x47ac6e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x47ac8d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0047a0b0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x490612
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x49064a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048e6c6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048e69e
jmp 0x490656
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x491d04
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x491d46
call fcn.004977b4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x491d46
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x491d3d
xor eax, eax
jmp 0x491d4e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00491d54
pop edi
pop esi
pop ebx
ret 4
Function at 0x497ce4
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x497d12
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x497d30
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00497c4a
jmp 0x497d30
mov eax, dword [esi + 0x14]
test eax, eax
je 0x497d30
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00497c4a
test edi, edi
mov eax, edi
jne 0x497d1a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0xe0174b
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 0xe017a6
cmp eax, 0xffffffff
je 0xe017a6
cmp dword [ebp + 8], ebx
je 0xe017a6
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 0xe0f302
cmp esi, dword [ebp - 4]
jne 0xe0f31d
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret 4
mov ebx, 0x80070057
jmp 0xe0179e

Function at 0xe0227c
Capabilities:
Query environment variable

Disassembly:
push 0x20
mov eax, 0xe1621c
call fcn.00e01350
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
push ebx
push 0x20019
push dword [0xe1b458]
lea ecx, [ebp - 0x2c]
push 0x80000002
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
call fcn.00e02097
test eax, eax
jne 0xe023c4
lea eax, [ebp - 0x20]
push eax
push dword [0xe1b45c]
lea ecx, [ebp - 0x2c]
push ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
call fcn.00e023dc
test eax, eax
jne 0xe023c4
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.00e013e0
mov esi, eax
pop ecx
mov dword [ebp - 0x1c], esi
cmp esi, ebx
je 0xe023c4
lea eax, [ebp - 0x20]
push eax
push dword [0xe1b45c]
lea ecx, [ebp - 0x2c]
push esi
call fcn.00e023dc
test eax, eax
jne 0xe023bb
push ebx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
call esi
mov edi, eax
cmp edi, ebx
je 0xe023bb
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00e013e0
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0xe023bb
push edi
push eax
push dword [ebp - 0x1c]
call esi
mov esi, eax
cmp esi, ebx
je 0xe023b2
cmp dword [ebp + 8], ebx
je 0xe0ea08
push dword [0xe1b460]
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.00e013e0
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0xe023b2
push dword [ebp - 0x14]
push esi
push eax
call fcn.00e021cb
push dword [0xe1b460]
push edi
push dword [ebp - 0x18]
call fcn.00e02436
push dword [ebp - 0x14]
call fcn.00e013c0
pop ecx
push dword [ebp - 0x1c]
call fcn.00e013c0
pop ecx
lea ecx, [ebp - 0x2c]
call fcn.00e01f10
mov eax, dword [ebp - 0x18]
call fcn.00e01390
ret 4
Function at 0xe023dc
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 0xe0242c
cmp dword [ebp - 4], 2
ja 0xe0e965
mov ecx, dword [edi]
test cl, 1
jne 0xe0242c
cmp esi, ebx
je 0xe02425
shr ecx, 1
cmp word [esi + ecx*2 - 2], bx
jne 0xe0242c
pop edi
pop esi
pop ebx
leave
ret 0xc
push 0xd
pop eax
jmp 0xe02425

Function at 0xe024ed
Capabilities:
Delete file
Move file

Disassembly:
push 0x14
mov eax, 0xe16b05
call fcn.00e01350
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 0xe02519
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x44], edi
cmp dword [ebp + 8], edi
je 0xe0265b
cmp dword [ebp + 0xc], edi
je 0xe0265b
push 1
call fcn.00e0227c
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0xe0264a
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.00e013e0
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
je 0xe0259b
push dword [ebp - 0x1c]
inc edi
push edi
push eax
call fcn.00e021cb
mov ebx, eax
test ebx, ebx
jl 0xe0259b
push dword [ebp + 8]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call fcn.00e02436
mov ebx, eax
test ebx, ebx
jl 0xe0259b
xor ebx, ebx
inc ebx
or dword [ebp - 4], 0xffffffff
test ebx, ebx
jl 0xe02632
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.00e013e0
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0xe02654
push dword [ebp - 0x1c]
inc edi
push edi
push eax
call fcn.00e021cb
mov ebx, eax
test ebx, ebx
jl 0xe02623
push dword [ebp + 0xc]
push esi
push dword [ebp - 0x14]
call fcn.00e02436
mov ebx, eax
test ebx, ebx
jl 0xe02623
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0xe02623
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 0xe0f3a2
xor ebx, ebx
cmp dword [ebp - 0x14], 0
je 0xe02632
push dword [ebp - 0x14]
call fcn.00e013c0
pop ecx
cmp dword [ebp - 0x18], 0
je 0xe02641
push dword [ebp - 0x18]
call fcn.00e013c0
pop ecx
push dword [ebp - 0x1c]
call fcn.00e013c0
pop ecx
mov eax, ebx
call fcn.00e01390
ret 8
mov ebx, 0x8007000e
jmp 0xe025fe
mov ebx, 0x80070057
jmp 0xe0264a
Function at 0xe03a67
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 0xe03ae4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0xe03ac0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0xe03ad0
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 0xe0e30e
mov eax, dword [ebp - 8]
leave
ret
Function at 0xe04267
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0xe1b00c], esi
jne 0xe042be
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0xe02c6f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0xe1b00c], eax
cmp eax, esi
je 0xe0e4ec
push 0xffffffffffffffff
push dword [0xe1b014]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0xe1b014]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [0xe1b018], esi
jl 0xe0e50a
pop esi
leave
ret

Function at 0xe04441
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0xe04498
call fcn.00e02712
xor eax, eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0xe04490
cmp ecx, 0xffffffff
je 0xe04490
and dword [ebp - 4], eax
mov edx, 0x5a4d
cmp word [ecx], dx
jne 0xe04489
mov edx, dword [ecx + 0x3c]
test edx, edx
jl 0xe04489
cmp edx, 0x10000000
jae 0xe04489
lea eax, [edx + ecx]
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0xe0e892
mov dword [ebp - 4], 0xfffffffe
call fcn.00e02757
ret 4

Function at 0xe0681f
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0xe1b004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, ecx
inc eax
cmp dword [esi + 0x2c], 0
jne 0xe06933
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 0xe0ed16
lea eax, [ebp - 0x41c]
push eax
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00e021cb
test eax, eax
jl 0xe06932
mov ecx, dword [ebp - 0x420]
cmp word [ebp + ecx*2 - 0x210], 0x5c
je 0xe068c3
push 0xe06994
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00e02436
test eax, eax
jl 0xe06932
push 0xe06980
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00e02436
test eax, eax
jl 0xe06932
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x2c], eax
test eax, eax
je 0xe0ed20
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xe06970
push eax
call edi
push 0xe0695c
push dword [esi + 0x2c]
mov dword [esi + 0x30], eax
call edi
push 0xe06948
push dword [esi + 0x2c]
mov dword [esi + 0x34], eax
call edi
cmp dword [esi + 0x30], 0
mov dword [esi + 0x38], eax
je 0xe06940
cmp dword [esi + 0x34], 0
je 0xe06940
test eax, eax
je 0xe06940
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00e020d4
leave
ret
mov eax, 0x8007007f
jmp 0xe06932
Function at 0xe071f8
Capabilities:
Identify system language via api

Disassembly:
push 0x2c
mov eax, 0xe1608c
call fcn.00e039dd
lea ecx, [ebp - 0x34]
call fcn.00e06c55
and dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
push 0
call fcn.00e0758b
test eax, eax
jl 0xe0722c
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00e072a7
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx esi, ax
mov eax, 0x409
mov edi, 0xe07298
cmp ax, si
jne 0xe0e4b4
and esi, 0x3ff
push esi
push edi
lea eax, [ebp - 0x30]
push 8
push eax
call fcn.00e01451
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00e0758b
mov esi, eax
test esi, esi
jl 0xe07280
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00e072a7
mov esi, eax
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call fcn.00e0760b
mov eax, esi
call fcn.00e02b9f
ret

Function at 0xe0791d
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 0xe0dc4f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0x82
lea edx, [ebp - 0x30]
push edx
push 0xe07900
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x30]
push eax
call edi
cmp esi, ebx
jl 0xe079a8
push 1
lea ecx, [ebp - 0x20]
call fcn.00e079e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0xe078ec
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.00e071e0
cmp esi, ebx
jl 0xe079a8
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 0xe07992
push 0x24
mov eax, 0xe15c85
call fcn.00e026dd
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 0xe07854
push 1
lea ecx, [ebp - 0x20]
call fcn.00e079e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0xe03984
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0xe079a6
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 0xe079d0
push eax
call dword [ecx + 0x10]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.00e07455
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.00e071e0
mov eax, esi
call fcn.00e01390
ret 0xc
Function at 0xe07b05
Capabilities:
Identify system language via api

Disassembly:
push 0x50
mov eax, 0xe15fc0
call fcn.00e039dd
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.00e07c2b
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 0xe07b34
sub eax, ecx
sar eax, 1
mov edi, eax
je 0xe07b63
movzx eax, word [ebx + esi*2]
push eax
call dword [sym.imp.msvcrt.dll_iswxdigit]
pop ecx
test eax, eax
je 0xe07b5b
inc esi
cmp esi, edi
jb 0xe07b46
cmp esi, edi
jb 0xe07c0e
xor eax, eax
mov edx, ebx
test edi, edi
jbe 0xe07c0e
cmp word [edx], 0x30
jne 0xe07b7c
inc eax
inc edx
inc edx
cmp eax, edi
jb 0xe07b6f
cmp eax, edi
jae 0xe07c0e
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0xe07b89
sub eax, esi
sar eax, 1
cmp eax, 3
ja 0xe07c0e
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 0xe07c03
movzx eax, ax
movzx eax, ax
push eax
push 0xe07c18
lea eax, [ebp - 0x50]
push 0x20
push eax
call fcn.00e01451
mov ecx, dword [ebp - 0x5c]
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
call fcn.00e06c60
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.00e0760b
mov eax, dword [ebp - 0x54]
call fcn.00e02b9f
ret 8
or esi, 0x400
movzx eax, si
jmp 0xe07bc6
mov dword [ebp - 0x54], 0x80041001
jmp 0xe07be9
Function at 0xe07f3e
Capabilities:
Create directory

Disassembly:
push 0x10
mov eax, 0xe16a7d
call fcn.00e01350
mov dword [ebp - 0x1c], ecx
xor esi, esi
mov ebx, 0x8007000e
mov dword [ebp - 0x14], esi
cmp dword [ebp + 8], esi
je 0xe08046
push 1
call fcn.00e0227c
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0xe0803c
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.00e013e0
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0xe07fcd
push dword [ebp - 0x18]
inc edi
push edi
push eax
call fcn.00e021cb
mov ebx, eax
test ebx, ebx
jl 0xe08024
push dword [ebp + 8]
push esi
push dword [ebp - 0x14]
call fcn.00e02436
mov ebx, eax
test ebx, ebx
jl 0xe08024
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0xe08024
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0xe07ff6
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0xe0f33c
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0xe08024
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 0xe0f353
cmp dword [ebp - 0x14], 0
je 0xe08033
push dword [ebp - 0x14]
call fcn.00e013c0
pop ecx
push dword [ebp - 0x18]
call fcn.00e013c0
pop ecx
mov eax, ebx
call fcn.00e01390
ret 4
mov ebx, 0x80070057
jmp 0xe0803c

Function at 0xe085f1
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0xe1b004]
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 0xe08684
cmp eax, 0xffffffff
je 0xe08684
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0xe08684
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.00e085b5
mov eax, esp
push esi
push ebx
push eax
call fcn.00e08692
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 0xe0f2da
cmp esi, dword [ebp - 0xc]
jne 0xe0f2f6
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.00e020d4
leave
ret 4
mov dword [ebp - 8], 0x80070057
jmp 0xe0866d
Function at 0xe088ef
Capabilities:
Get geographical location

Disassembly:
push 0x210
mov eax, 0xe16be9
call fcn.00e020e6
xor eax, eax
push 0x1fe
mov word [ebp - 0x214], ax
xor ebx, ebx
lea eax, [ebp - 0x212]
push ebx
push eax
call sub.msvcrt.dll_memset
mov esi, dword [ebp + 8]
add esp, 0xc
push 0x100
lea eax, [ebp - 0x214]
push eax
push 0x1001
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x214]
and esi, 0x3ff
push eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
add esi, 7
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00e013e0
mov edi, eax
pop ecx
cmp edi, ebx
je 0xe08999
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x21c]
push 0xe089a4
push esi
push edi
call fcn.00e01451
add esp, 0x14
mov eax, edi
call fcn.00e02126
ret 4
Function at 0xe10d7d
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [ecx + eax + 0x18]
test esi, esi
jbe 0xe10dba
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0xe10db2
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0xe10dbc
inc edx
add eax, 0x28
cmp edx, esi
jb 0xe10da2
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret