joyce8/EMBER2024-capa huggingface dataset:
Function at 0x619250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62d808
push 0x61d288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x619329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x619329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0061c1d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x619329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x619329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x61932c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00619351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x619d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x619d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x619d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x619d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x619d94
push eax
push esi
call fcn.0061c20b
add esp, 8
pop esi
ret 0x10

Function at 0x619da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x619e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x619e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x632320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0061bdff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x619dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x619e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x619ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x619eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x632320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0061bdff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x619eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x619e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x61a000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x61a131
push esi
call fcn.0061d145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.0060c080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x61a131
push 0
push ebp
call fcn.0060c3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.0060c260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x61a08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.0060c2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x61a121
push 0x632918
push edi
call fcn.0061b3f0
push eax
push ebx
push esi
call fcn.00619f60
push 0x6328f8
push edi
call fcn.0061b3f0
push eax
push ebx
push esi
call fcn.00619f60
push 0x6328d8
push edi
call fcn.0061b3f0
push eax
push ebx
push esi
call fcn.00619f60
push 0x6328c0
push edi
call fcn.0061b3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00619f60
push 0x6328a0
push edi
call fcn.0061b3f0
push eax
push ebx
push esi
call fcn.00619f60
push 0x632888
push edi
call fcn.0061b3f0
push eax
push ebx
push esi
call fcn.00619f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x61b1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0061b140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0061b140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0061b140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0061b140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x61bbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x61bc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x62d87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x61bc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x61bc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x4136a1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040aa39
and dword [ebp - 4], 0
cmp dword [0x420f30], 0
mov ebx, eax
jne 0x413752
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413803
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x413803
push eax
call fcn.0040a9c7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x420f30], eax
call esi
push eax
call fcn.0040a9c7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x420f34], eax
call esi
push eax
call fcn.0040a9c7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x420f38], eax
call esi
push eax
call fcn.0040a9c7
pop ecx
mov dword [0x420f40], eax
test eax, eax
je 0x413752
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040a9c7
pop ecx
mov dword [0x420f3c], eax
mov eax, dword [0x420f3c]
cmp eax, ebx
je 0x4137aa
cmp dword [0x420f40], ebx
je 0x4137aa
push eax
call fcn.0040aa42
push dword [0x420f40]
mov esi, eax
call fcn.0040aa42
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4137aa
test edi, edi
je 0x4137aa
call esi
test eax, eax
je 0x4137a1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4137a1
test byte [ebp - 0xc], 1
jne 0x4137aa
or dword [ebp + 0x10], 0x200000
jmp 0x4137e3
mov eax, dword [0x420f34]
cmp eax, ebx
je 0x4137e3
push eax
call fcn.0040aa42
pop ecx
test eax, eax
je 0x4137e3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4137e3
mov eax, dword [0x420f38]
cmp eax, ebx
je 0x4137e3
push eax
call fcn.0040aa42
pop ecx
test eax, eax
je 0x4137e3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x420f30]
call fcn.0040aa42
pop ecx
test eax, eax
je 0x413803
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413805
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..3ean
nop
nop
mov ebx, 0x40915c
mov ecx, 0x4e7352db
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..7LWLf
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x75117dff
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40163d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44007c]
jne 0x401647
repz ret
jmp fcn.004020b7

Function at 0x407c6c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44007c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405a71
and dword [ebp - 0x14], 0
cmp dword [0x442b58], 0
mov dword [ebp - 0x18], eax
jne 0x407d1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407dc7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x407dc7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x442b58], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x442b5c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x442b60], eax
call edi
push eax
call esi
mov dword [0x442b68], eax
test eax, eax
je 0x407d1f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x442b64], eax
mov eax, dword [0x442b64]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407d78
cmp dword [0x442b68], ecx
je 0x407d78
push eax
call esi
push dword [0x442b68]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407d78
test ebx, ebx
je 0x407d78
call edi
test eax, eax
je 0x407d6f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407d6f
test byte [ebp - 8], 1
jne 0x407d78
or dword [ebp + 0x10], 0x200000
jmp 0x407dab
mov eax, dword [0x442b5c]
cmp eax, dword [ebp - 0x18]
je 0x407dab
push eax
call esi
test eax, eax
je 0x407dab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407dab
mov eax, dword [0x442b60]
cmp eax, dword [ebp - 0x18]
je 0x407dab
push eax
call esi
test eax, eax
je 0x407dab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x442b58]
call esi
test eax, eax
je 0x407dc7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407dc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040163d
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x715712b0
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data_1
nop
mov ebx, 0x42f314
nop
mov ecx, 0x5f7f1839
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x40699c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.00406988
add esp, 0x208
pop ebx
ret

Function at 0x408164
Capabilities:
Encode data using xor

Disassembly:
add dword [eax], 0x2082c3c7
add byte [eax], al
xor eax, ebx
mov ebx, eax
dec ebx
mov edx, dword [ebx + 1]
xor edx, edi
mov dword [esi], edx
add eax, 4
mov ebx, 4
add esi, ebx
mov edx, 0x2018
mov ecx, 0x408846
xor edx, ecx
xor edx, eax
mov ecx, 0x56fb8ba4
shr ecx, 7
xor ecx, 0xadf717
cmp edx, ecx
jne 0x40816f
ret

Function at 0x408eb4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x408eed
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00404dd4
jmp 0x408ef6
mov eax, ebx
mov edx, esi
call fcn.00404c98
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x408f00
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x408f22
movzx eax, word [esp]
jmp 0x408f24
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4096ac
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x4097d1
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004094c0
mov esi, eax
mov eax, dword [0x412c2c]
cmp byte [eax], 0
je 0x409779
mov eax, dword [0x412b68]
call fcn.0040317c
call fcn.00402f6c
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x409688]
call fcn.00405ad8
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x4097ec
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4097b5
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x412b48]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x415b48]
call fcn.00405b90
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4097d8
lea eax, [ebp - 4]
mov edx, dword [0x409688]
call fcn.00405ae4
ret
Function at 0x40e5dc
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x40e636
inc esi
xor edi, edi
cmp edi, 1
jne 0x40e602
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040abcc
jmp 0x40e610
cmp edi, 1
jle 0x40e610
mov eax, dword [ebp + 8]
push eax
call fcn.0040abcc
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0040e168
test eax, eax
jne 0x40e636
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x40e636
call sub.kernel32.dll_GetLastError
cmp eax, 3
je 0x40e636
inc edi
dec esi
jne 0x40e5f2
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x40e640
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
movzx eax, bx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x40e664
mov eax, dword [ebp - 4]
jmp 0x40e667
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret

Function at 0x40e66c
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], dl
mov edi, eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 2], 0
test esi, esi
je 0x40e6b9
xor ebx, ebx
jmp 0x40e6ae
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov eax, esi
call fcn.00407bdc
test eax, eax
jne 0x40e6ad
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 2
jmp 0x40e763
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x40e68f
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x40e6c5
je 0x40e6ce
jmp 0x40e6d7
call fcn.0040bcb4
mov esi, eax
jmp 0x40e6d9
call sub.kernel32.dll_GetUserDefaultLangID
mov esi, eax
jmp 0x40e6d9
xor esi, esi
test si, si
je 0x40e763
xor ebx, ebx
jmp 0x40e6ff
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
movzx edx, si
cmp eax, edx
jne 0x40e6fe
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x40e763
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x40e6e6
xor ebx, ebx
jmp 0x40e758
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
and eax, 0x3ff
mov edx, esi
and dx, 0x3ff
movzx edx, dx
cmp eax, edx
jne 0x40e757
mov eax, esi
and ax, 0x3ff
cmp ax, 4
jne 0x40e74c
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x28]
call fcn.0040e640
push eax
mov eax, esi
call fcn.0040e640
pop edx
cmp edx, eax
jne 0x40e757
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x40e763
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x40e70e
movzx eax, byte [ebp - 2]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x10001000
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
mov esi, ecx
call fcn.1000307f
xor edi, edi
xor ebx, ebx
pop ecx
mov ebp, eax
add esi, 0x1f64
push ebx
call fcn.1000307f
cmp eax, ebp
pop ecx
jne 0x10001029
add edi, dword [esi]
inc ebx
add esi, 0xf4
cmp ebx, 0xcc
jl 0x1000101c
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x10001a61
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0
mov esi, ecx
push 1
push esi
push 0x10001a2d
call dword [sym.imp.GVBASE.dll_public:_static_void___cdecl_Sleep::ConditionSleep_bool____cdecl___void____void___bool__enum_Sleep::EAllowMouse_]
add esp, 0x10
lea ecx, [esi + 0x178]
push ecx
mov ecx, dword [esi + 0x88c]
lea eax, [esi + 0x160]
push eax
lea eax, [esi + 0x15c]
push eax
lea ebx, [esi + 0x158]
push ebx
call fcn.10003246
and dword [ebp - 4], 0
lea eax, [esi + 0x1f64]
lea edi, [esi + 0x190]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x10001ac8
mov dword [edi], 2
jmp 0x10001ade
push dword [ebx]
push dword [ebp - 4]
call fcn.10002f4c
neg al
pop ecx
pop ecx
sbb eax, eax
and eax, 2
dec eax
mov dword [edi], eax
inc dword [ebp - 4]
add dword [ebp - 8], 0xf4
add edi, 4
cmp dword [ebp - 4], 0xcc
jl 0x10001ab8
mov eax, dword [esi + 0x88c]
cmp dword [eax + 8], 2
jne 0x10001b55
and dword [ebp - 4], 0
lea eax, [esi + 0xe1d4]
lea edi, [esi + 0x4c0]
mov dword [ebp - 8], eax
mov dword [edi], 2
mov eax, dword [ebx]
test eax, eax
je 0x10001b42
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0
je 0x10001b42
push eax
mov eax, dword [ebp - 4]
call fcn.10002d65
push eax
call fcn.10002f4c
neg al
pop ecx
pop ecx
sbb eax, eax
and eax, 2
dec eax
mov dword [edi], eax
inc dword [ebp - 4]
add dword [ebp - 8], 0x100
add edi, 4
cmp dword [ebp - 4], 6
jl 0x10001b13
cmp dword [ebx], 0
jne 0x10001b96
mov ecx, dword [esi + 0x88c]
cmp dword [ecx + 8], 2
jne 0x10001b96
call fcn.10002e15
test al, al
je 0x10001b96
lea eax, [esi + 0x160]
xor ecx, ecx
mov edx, eax
cmp dword [edx], 0
je 0x10001b8d
mov eax, ecx
call fcn.10002d65
and dword [esi + eax*4 + 0x190], 0
inc ecx
add edx, 4
cmp ecx, 6
jl 0x10001b79
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10001c38
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x334
push esi
mov esi, ecx
xor ecx, ecx
lea eax, [esi + 0x1f64]
mov edx, dword [eax]
mov dword [ebp + ecx*4 - 0x334], edx
inc ecx
add eax, 0xf4
cmp ecx, 0xcc
jl 0x10001c4c
mov ecx, dword [esi + 0x88c]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x334]
push eax
call fcn.1000319e
fld dword [0x10012cf4]
fstp dword [esi + 0x1de4]
lea ecx, [esi + 0xe818]
fld dword [0x10012cf0]
mov eax, dword [ecx]
push 0
fstp dword [esi + 0x1de0]
call dword [eax + 0x70]
fldz
push 0
fst dword [esi + 0xe8e0]
push 0
fstp dword [esi + 0xe8e4]
push esi
push 0x10001c14
call dword [sym.imp.GVBASE.dll_public:_static_void___cdecl_Sleep::ConditionSleep_bool____cdecl___void____void___bool__enum_Sleep::EAllowMouse_]
add esp, 0x10
pop esi
leave
ret