joyce8/EMBER2024-capa huggingface dataset:
Function at 0x68929c10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0xc], 0
mov eax, dword [0x68948f64]
movzx ecx, byte [eax]
and ecx, 8
je 0x68929c99
mov edx, 1
imul edx, edx, 0
movsx eax, byte [edx + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_string.c]
cmp eax, 0x2e
jne 0x68929c49
mov dword [ebp - 0x10], 0x12
jmp 0x68929c50
mov dword [ebp - 0x10], 0x21
push 0x68938310
push 0x53
push 0x68949018
mov ecx, dword [ebp - 0x10]
add ecx, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_string.c
push ecx
mov edx, dword [0x68948f64]
push edx
push 3
call fcn.68933a40
add esp, 0x18
cmp eax, 0xffffffff
je 0x68929c99
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str.instance___p__id___04x__buffer___p__length___d_n
call fcn.68933ab0
add esp, 0x14
cmp dword [ebp + 0x14], 0
jne 0x68929ca7
or eax, 0xffffffff
jmp 0x68929dd1
push 6
mov ecx, dword [ebp + 0xc]
and ecx, 0xffff
movzx edx, cx
sar edx, 4
add edx, 1
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp + 8]
push ecx
call sym.kernelbase.dll_FindResourceW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x68929d4e
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call sym.kernelbase.dll_LoadResource
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x68929d4e
mov ecx, dword [ebp - 0x18]
push ecx
call sym.kernelbase.dll_LockResource
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
and edx, 0xf
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 0x20], 0
je 0x68929d29
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
jmp 0x68929d02
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
shl ecx, 1
push ecx
mov edx, dword [ebp - 4]
add edx, 2
push edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x14]
sub ecx, 1
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.ntext.dll_RtlUnicodeToMultiByteN]
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0xc]
mov byte [eax], 0
mov ecx, dword [0x68948f64]
movzx edx, byte [ecx]
and edx, 8
je 0x68929dce
mov eax, 1
imul eax, eax, 0
movsx ecx, byte [eax + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_string.c]
cmp ecx, 0x2e
jne 0x68929d82
mov dword [ebp - 0x1c], 0x12
jmp 0x68929d89
mov dword [ebp - 0x1c], 0x21
push 0x68938310
push 0x63
push 0x68949018
mov edx, dword [ebp - 0x1c]
add edx, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_string.c
push edx
mov eax, dword [0x68948f64]
push eax
push 3
call fcn.68933a40
add esp, 0x18
cmp eax, 0xffffffff
je 0x68929dce
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.68918990
add esp, 4
push eax
push str.returning__s_n
call fcn.68933ab0
add esp, 8
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x6892b0f0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
cmp dword [ebp + 8], 0
je 0x6892b12c
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x6892b12c
mov dword [ebp - 8], 2
jmp 0x6892b133
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 8]
or ecx, 0x80
mov dword [ebp - 0x24], ecx
cmp dword [ebp + 8], 0
je 0x6892b150
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0xc], eax
jmp 0x6892b157
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 0
cmp dword [ebp + 0x14], 0
je 0x6892b186
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ntext.dll_RtlInitUnicodeString]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x28], ecx
call fcn.6892c000
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntext.dll_NtCreateSemaphore]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
push str.CreateSemaphoreExW_::_NtCreateSemaphore_Status:__0x_08x_n
call sub.ntext.dll_DbgPrint
add esp, 8
cmp dword [ebp - 4], 0x40000000
jne 0x6892b1c9
push 0xb7
call sub.kernel32.dll_SetLastError
jmp 0x6892b1d9
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ntext.dll_RtlNtStatusToDosError]
push eax
call sub.kernel32.dll_SetLastError
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0x18

Function at 0x6892ba80
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [ebp + 8], 0
je 0x6892ba9a
cmp dword [ebp + 0xc], 1
jl 0x6892ba9a
cmp dword [ebp + 0x10], 0xffffffff
jge 0x6892baa8
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x6892bb57
push 0x18
push 0
mov eax, dword [ebp + 8]
push eax
call sub.ntext.dll_memset
add esp, 0xc
cmp dword [ebp + 0x10], 0xffffffff
jne 0x6892bac5
mov dword [ebp + 0x10], 0x7d0
push 0
push 0
push 1
push 0
call sym.kernelbase.dll_CreateEventA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x6892badf
xor eax, eax
jmp 0x6892bb57
push 0
push 0
push 1
push 0
call sym.kernelbase.dll_CreateEventA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x6892bb02
mov ecx, dword [ebp - 4]
push ecx
call sym.kernelbase.dll_CloseHandle
xor eax, eax
jmp 0x6892bb57
lea edx, [ebp - 0x2c]
push edx
call sym.kernelbase.dll_GetNativeSystemInfo
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], eax
mov ecx, 4
imul ecx, ecx, 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx + ecx + 8], eax
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov dword [edx + ecx + 8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x14], ecx
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x6892bd80
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push eax
call fcn.6892b8a0
add esp, 4
shl eax, 5
add eax, 0x6896c6c0
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.__p___p___Iu___I32u_
call sub.ntext.dll_DbgPrint
add esp, 0x14
cmp dword [ebp + 8], 0
je 0x6892bdc8
cmp dword [ebp + 0xc], 0
jne 0x6892bdd8
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x6892bec2
cmp dword [ebp + 0x10], 1
je 0x6892bdfe
cmp dword [ebp + 0x10], 2
je 0x6892bdfe
cmp dword [ebp + 0x10], 4
je 0x6892bdfe
cmp dword [ebp + 0x10], 8
je 0x6892bdfe
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x6892bec2
mov edx, dword [ebp - 8]
add edx, 8
push edx
call sub.kernel32.dll_EnterCriticalSection
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.6892ac10
add esp, 0xc
test eax, eax
jne 0x6892be3f
mov eax, dword [ebp - 8]
add eax, 8
push eax
call sub.kernel32.dll_LeaveCriticalSection
push 0
call sub.kernel32.dll_SetLastError
mov eax, 1
jmp 0x6892bec2
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.6892b5d0
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
add ecx, 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], ecx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 8]
add ecx, 8
push ecx
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
call sym.kernelbase.dll_SleepConditionVariableCS
mov dword [ebp - 0x14], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
sub ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x10], eax
cmp dword [ebp - 0xc], 0
jne 0x6892beaa
mov ecx, dword [ebp - 4]
push ecx
call fcn.6892b370
add esp, 4
mov edx, dword [ebp - 8]
add edx, 8
push edx
call sub.kernel32.dll_LeaveCriticalSection
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_SetLastError
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x6892bed0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call fcn.6892b8a0
add esp, 4
shl eax, 5
add eax, 0x6896c6c0
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ecx
push str.__p_
call sub.ntext.dll_DbgPrint
add esp, 8
mov edx, dword [ebp - 4]
add edx, 8
push edx
call sub.kernel32.dll_EnterCriticalSection
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.6892b590
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x6892bf31
mov edx, dword [ebp - 8]
add edx, 0xc
push edx
call sub.ntext.dll_RtlWakeAllConditionVariable
mov eax, dword [ebp - 4]
add eax, 8
push eax
call sub.kernel32.dll_LeaveCriticalSection
mov esp, ebp
pop ebp
ret 4
Function at 0x6892bf50
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call fcn.6892b8a0
add esp, 4
shl eax, 5
add eax, 0x6896c6c0
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ecx
push str.__p_
call sub.ntext.dll_DbgPrint
add esp, 8
mov edx, dword [ebp - 4]
add edx, 8
push edx
call sub.kernel32.dll_EnterCriticalSection
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.6892b590
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x6892bfb1
mov edx, dword [ebp - 8]
add edx, 0xc
push edx
call sub.ntext.dll_RtlWakeConditionVariable
mov eax, dword [ebp - 4]
add eax, 8
push eax
call sub.kernel32.dll_LeaveCriticalSection
mov esp, ebp
pop ebp
ret 4

Function at 0x6892c4e0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call sym.kernelbase.dll_CreateRemoteThread
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x20

Function at 0x6892ca30
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0x20
push 0
call sym.kernelbase.dll_LocalAlloc
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
jne 0x6892ca52
mov eax, 0x8007000e
jmp 0x6892ca9b
call sym.kernelbase.dll_GetCurrentThread
cmp dword [ebp + 8], eax
je 0x6892ca83
push str.Cant_get_other_thread_description_n
call sub.ntext.dll_DbgPrint
add esp, 4
mov eax, 2
imul eax, eax, 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
xor ecx, ecx
mov word [eax + edx], cx
mov eax, 0x10000000
jmp 0x6892ca9b
mov edx, 2
imul edx, edx, 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
xor eax, eax
mov word [edx + ecx], ax
mov eax, 0x10000000
pop ebp
ret 8

Function at 0x6892d210
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.kernel32.dll_SetThreadPriority
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
push str.SetThreadPriorityInternal_::_SetThreadPriority_returned:__d_n
call sub.ntext.dll_DbgPrint
add esp, 8
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x6892d9d0
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov dword [ebp - 0x114], 0
push 0x110
push 0
lea eax, [ebp - 0x110]
push eax
call sub.ntext.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x114]
push ecx
call sym.kernelbase.dll_GetVersionExW
cmp dword [ebp - 0x110], 5
ja 0x6892da20
cmp dword [ebp - 0x10c], 1
ja 0x6892da20
mov eax, 1
jmp 0x6892da22
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x6892edb0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
push str.WARNING:_calling_stub_BaseThreadInitThunk___n
call sub.ntext.dll_DbgPrint
add esp, 4
mov dword [ebp - 0x50], 0
push 0x4c
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.ntext.dll_memset
add esp, 0xc
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], 0x80000100
mov dword [ebp - 0x4c], 1
mov ecx, 4
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x3c], 0x68949c34
mov edx, 4
shl edx, 0
mov dword [ebp + edx - 0x3c], 0x68949d10
mov dword [ebp - 0x40], 2
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.ntext.dll_RtlRaiseException]

Function at 0x6892ee30
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push str.WARNING:_calling_stub_GetCurrentTransaction___n
call sub.ntext.dll_DbgPrint
add esp, 4
xor eax, eax
pop ebp
ret

Function at 0x6892ee50
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
push str.WARNING:_calling_stub_GetEraNameCountedString___n
call sub.ntext.dll_DbgPrint
add esp, 4
mov dword [ebp - 0x50], 0
push 0x4c
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.ntext.dll_memset
add esp, 0xc
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], 0x80000100
mov dword [ebp - 0x4c], 1
mov ecx, 4
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x3c], 0x68949c34
mov edx, 4
shl edx, 0
mov dword [ebp + edx - 0x3c], 0x68949d58
mov dword [ebp - 0x40], 2
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.ntext.dll_RtlRaiseException]

Function at 0x6892eed0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
push str.WARNING:_calling_stub_GetProductName___n
call sub.ntext.dll_DbgPrint
add esp, 4
mov dword [ebp - 0x50], 0
push 0x4c
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.ntext.dll_memset
add esp, 0xc
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], 0x80000100
mov dword [ebp - 0x4c], 1
mov ecx, 4
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x3c], 0x68949c34
mov edx, 4
shl edx, 0
mov dword [ebp + edx - 0x3c], 0x68949c44
mov dword [ebp - 0x40], 2
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.ntext.dll_RtlRaiseException]

Function at 0x6892ef50
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
push str.WARNING:_calling_stub_LoadStringBaseExW___n
call sub.ntext.dll_DbgPrint
add esp, 4
mov dword [ebp - 0x50], 0
push 0x4c
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.ntext.dll_memset
add esp, 0xc
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], 0x80000100
mov dword [ebp - 0x4c], 1
mov ecx, 4
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x3c], 0x68949c34
mov edx, 4
shl edx, 0
mov dword [ebp + edx - 0x3c], 0x68949d9c
mov dword [ebp - 0x40], 2
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.ntext.dll_RtlRaiseException]
Function at 0x6892efd0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
push str.WARNING:_calling_stub_LoadStringByReference___n
call sub.ntext.dll_DbgPrint
add esp, 4
mov dword [ebp - 0x50], 0
push 0x4c
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.ntext.dll_memset
add esp, 0xc
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], 0x80000100
mov dword [ebp - 0x4c], 1
mov ecx, 4
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x3c], 0x68949c34
mov edx, 4
shl edx, 0
mov dword [ebp + edx - 0x3c], 0x68949de0
mov dword [ebp - 0x40], 2
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.ntext.dll_RtlRaiseException]

Function at 0x6892f050
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
push str.WARNING:_calling_stub_SetCurrentTransaction_0x_p__n
call sub.ntext.dll_DbgPrint
add esp, 8
xor eax, eax
pop ebp
ret 4

Function at 0x6892f080
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
push str.WARNING:_calling_stub_WerpNotifyLoadStringResourceEx___n
call sub.ntext.dll_DbgPrint
add esp, 4
mov dword [ebp - 0x50], 0
push 0x4c
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.ntext.dll_memset
add esp, 0xc
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], 0x80000100
mov dword [ebp - 0x4c], 1
mov ecx, 4
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x3c], 0x68949c34
mov edx, 4
shl edx, 0
mov dword [ebp + edx - 0x3c], 0x68949cc0
mov dword [ebp - 0x40], 2
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.ntext.dll_RtlRaiseException]
Function at 0x68930290
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
and eax, 1
je 0x689303ce
push 0
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.68932860
add esp, 0xc
mov dword [ebp - 4], eax
call fcn.68911060
mov ax, word [eax + 0xc4]
movzx ecx, ax
push ecx
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.68932860
add esp, 0xc
mov dword [ebp - 4], eax
call sym.kernelbase.dll_GetUserDefaultLangID
movzx ecx, ax
push ecx
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.68932860
add esp, 0xc
mov dword [ebp - 4], eax
call sym.kernelbase.dll_GetUserDefaultLangID
movzx ecx, ax
and ecx, 0x3ff
push ecx
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.68932860
add esp, 0xc
mov dword [ebp - 4], eax
call sym.kernelbase.dll_GetUserDefaultLangID
movzx ecx, ax
and ecx, 0x3ff
movzx edx, cx
or edx, 0x400
push edx
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.68932860
add esp, 0xc
mov dword [ebp - 4], eax
call sym.kernelbase.dll_GetSystemDefaultLangID
movzx edx, ax
push edx
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.68932860
add esp, 0xc
mov dword [ebp - 4], eax
call sym.kernelbase.dll_GetSystemDefaultLangID
movzx edx, ax
and edx, 0x3ff
push edx
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.68932860
add esp, 0xc
mov dword [ebp - 4], eax
call sym.kernelbase.dll_GetSystemDefaultLangID
movzx edx, ax
and edx, 0x3ff
movzx eax, dx
or eax, 0x400
push eax
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.68932860
add esp, 0xc
mov dword [ebp - 4], eax
push 0x409
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.68932860
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x689303e6
push 0x409
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.68932860
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x689303f8
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 4]
jge 0x68930429
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
movzx edx, word [ebp + ecx*2 - 0x20]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.689301c0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x68930427
mov eax, dword [ebp - 0xc]
jmp 0x68930439
jmp 0x689303ef
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.68930260
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x689328c0
Capabilities:
Parse pe header
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call sym.kernelbase.dll_LZSeek
push 0x40
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.kernelbase.dll_LZRead
cmp eax, 0x40
je 0x689328f0
xor eax, eax
jmp 0x68932a50
movzx eax, word [ebp - 0x48]
cmp eax, 0x5a4d
je 0x6893293f
push 4
push 0x68949e5c
lea ecx, [ebp - 0x48]
push ecx
call sub.ntext.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x6893291c
mov eax, 1
jmp 0x68932a50
cmp dword [ebp - 0x48], 0xfeedface
je 0x6893292e
cmp dword [ebp - 0x48], 0xcefaedfe
jne 0x68932938
mov eax, 1
jmp 0x68932a50
xor eax, eax
jmp 0x68932a50
push 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call sym.kernelbase.dll_LZSeek
push 2
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.kernelbase.dll_LZRead
cmp eax, 2
je 0x68932969
xor eax, eax
jmp 0x68932a50
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sym.kernelbase.dll_LZSeek
mov edx, 1
imul edx, edx, 0
movsx eax, byte [ebp + edx - 4]
cmp eax, 0x4e
jne 0x689329a6
mov ecx, 1
shl ecx, 0
movsx edx, byte [ebp + ecx - 4]
cmp edx, 0x45
jne 0x689329a6
mov eax, 0x454e
jmp 0x68932a50
mov eax, 1
imul eax, eax, 0
movsx ecx, byte [ebp + eax - 4]
cmp ecx, 0x50
jne 0x689329d1
mov edx, 1
shl edx, 0
movsx eax, byte [ebp + edx - 4]
cmp eax, 0x45
jne 0x689329d1
mov eax, 0x4550
jmp 0x68932a50
mov ecx, 1
shl ecx, 1
mov byte [ebp + ecx - 4], 0
mov edx, dword [0x68949e54]
movzx eax, byte [edx]
and eax, 4
je 0x68932a4e
mov ecx, 1
imul ecx, ecx, 0
movsx edx, byte [ecx + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_version.c]
cmp edx, 0x2e
jne 0x68932a08
mov dword [ebp - 8], 0x12
jmp 0x68932a0f
mov dword [ebp - 8], 0x21
push 0x68938310
push 0xb5
push str.read_xx_header
mov eax, dword [ebp - 8]
add eax, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_version.c
push eax
mov ecx, dword [0x68949e54]
push ecx
push 2
call fcn.68933a40
add esp, 0x18
cmp eax, 0xffffffff
je 0x68932a4e
lea edx, [ebp - 4]
push edx
push str.Cant_handle__s_files._n
call fcn.68933ab0
add esp, 8
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x689334c0
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0xc], eax
cmp dword [0x6896acb4], 0xffffffff
je 0x689334de
jmp 0x68933604
mov dword [0x6896acb4], 0
push 0
push 0
push str.DEBUGCHANNEL
call sym.kernelbase.dll_GetEnvironmentVariableA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x68933543
mov eax, dword [ebp - 8]
push eax
call fcn.689337f0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x68933543
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
push str.DEBUGCHANNEL
call sym.kernelbase.dll_GetEnvironmentVariableA
cmp eax, dword [ebp - 8]
jae 0x68933537
mov eax, dword [ebp - 4]
push eax
call fcn.68933840
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call fcn.689337d0
add esp, 4
push 0
push 0
push str.DEBUGFORMAT
call sym.kernelbase.dll_GetEnvironmentVariableA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x689335fb
mov edx, dword [ebp - 8]
push edx
call fcn.689337f0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x689335fb
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
push str.DEBUGFORMAT
call sym.kernelbase.dll_GetEnvironmentVariableA
cmp eax, dword [ebp - 8]
jae 0x689335ef
push str.wine
mov edx, dword [ebp - 4]
push edx
call sub.ntext.dll_strcmp
add esp, 8
test eax, eax
jne 0x689335af
mov dword [0x6896accc], 0x68933bc0
jmp 0x689335ef
push str.extended
mov eax, dword [ebp - 4]
push eax
call sub.ntext.dll_strcmp
add esp, 8
test eax, eax
je 0x689335d9
push 0x6894a448
mov ecx, dword [ebp - 4]
push ecx
call sub.ntext.dll_strcmp
add esp, 8
test eax, eax
jne 0x689335e5
mov dword [0x6896accc], 0x68933610
jmp 0x689335ef
mov dword [0x6896accc], 0x68932a80
mov edx, dword [ebp - 4]
push edx
call fcn.689337d0
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetLastError
mov esp, ebp
pop ebp
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x450662ae
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x203140b
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219