joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7d7179b0
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 0x7d7179ec
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x7d7179ec
mov dword [ebp - 8], 2
jmp 0x7d7179f3
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 8]
or ecx, 0x80
mov dword [ebp - 0x24], ecx
cmp dword [ebp + 8], 0
je 0x7d717a10
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0xc], eax
jmp 0x7d717a17
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 0x7d717a46
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.7d718450
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 0x7d717a89
push 0xb7
call sub.kernel32.dll_SetLastError
jmp 0x7d717a99
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 0x7d718200
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [ebp + 8], 0
je 0x7d71821a
cmp dword [ebp + 0xc], 1
jl 0x7d71821a
cmp dword [ebp + 0x10], 0xffffffff
jge 0x7d718228
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d7182d7
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 0x7d718245
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 0x7d71825f
xor eax, eax
jmp 0x7d7182d7
push 0
push 0
push 1
push 0
call sym.kernelbase.dll_CreateEventA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x7d718282
mov ecx, dword [ebp - 4]
push ecx
call sym.kernelbase.dll_CloseHandle
xor eax, eax
jmp 0x7d7182d7
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 0x7d718960
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 0x7d719340
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 0x7d719b00
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 0x7d719b50
cmp dword [ebp - 0x10c], 1
ja 0x7d719b50
mov eax, 1
jmp 0x7d719b52
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x7d71ab00
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], 0x7d7354cc
mov edx, 4
shl edx, 0
mov dword [ebp + edx - 0x3c], 0x7d7355a8
mov dword [ebp - 0x40], 2
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.ntext.dll_RtlRaiseException]

Function at 0x7d71ab80
Capabilities:
Print debug messages

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

Function at 0x7d71abb0
Capabilities:
Print debug messages

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

Function at 0x7d71abe0
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 0x7d71ac00
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], 0x7d7354cc
mov edx, 4
shl edx, 0
mov dword [ebp + edx - 0x3c], 0x7d7355f0
mov dword [ebp - 0x40], 2
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.ntext.dll_RtlRaiseException]

Function at 0x7d71ac80
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], 0x7d7354cc
mov edx, 4
shl edx, 0
mov dword [ebp + edx - 0x3c], 0x7d7354dc
mov dword [ebp - 0x40], 2
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.ntext.dll_RtlRaiseException]
Function at 0x7d71ad00
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], 0x7d7354cc
mov edx, 4
shl edx, 0
mov dword [ebp + edx - 0x3c], 0x7d735634
mov dword [ebp - 0x40], 2
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.ntext.dll_RtlRaiseException]

Function at 0x7d71ad80
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], 0x7d7354cc
mov edx, 4
shl edx, 0
mov dword [ebp + edx - 0x3c], 0x7d735678
mov dword [ebp - 0x40], 2
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.ntext.dll_RtlRaiseException]

Function at 0x7d71ae00
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
push str.WARNING:_calling_stub_PathCchCanonicalize___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], 0x7d7354cc
mov edx, 4
shl edx, 0
mov dword [ebp + edx - 0x3c], 0x7d7356c0
mov dword [ebp - 0x40], 2
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.ntext.dll_RtlRaiseException]

Function at 0x7d71ae80
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
push str.WARNING:_calling_stub_PathCchCanonicalizeEx___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], 0x7d7354cc
mov edx, 4
shl edx, 0
mov dword [ebp + edx - 0x3c], 0x7d735704
mov dword [ebp - 0x40], 2
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.ntext.dll_RtlRaiseException]

Function at 0x7d71af00
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 0x7d71af30
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], 0x7d7354cc
mov edx, 4
shl edx, 0
mov dword [ebp + edx - 0x3c], 0x7d735558
mov dword [ebp - 0x40], 2
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.ntext.dll_RtlRaiseException]
Function at 0x7d71c140
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 0x7d71c27e
push 0
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.7d71e710
add esp, 0xc
mov dword [ebp - 4], eax
call fcn.7d701060
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.7d71e710
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.7d71e710
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.7d71e710
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.7d71e710
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.7d71e710
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.7d71e710
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.7d71e710
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.7d71e710
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x7d71c296
push 0x409
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.7d71e710
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x7d71c2a8
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 4]
jge 0x7d71c2d9
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.7d71c070
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x7d71c2d7
mov eax, dword [ebp - 0xc]
jmp 0x7d71c2e9
jmp 0x7d71c29f
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.7d71c110
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x7d71e770
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 0x7d71e7a0
xor eax, eax
jmp 0x7d71e900
movzx eax, word [ebp - 0x48]
cmp eax, 0x5a4d
je 0x7d71e7ef
push 4
push 0x7d735780
lea ecx, [ebp - 0x48]
push ecx
call sub.ntext.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x7d71e7cc
mov eax, 1
jmp 0x7d71e900
cmp dword [ebp - 0x48], 0xfeedface
je 0x7d71e7de
cmp dword [ebp - 0x48], 0xcefaedfe
jne 0x7d71e7e8
mov eax, 1
jmp 0x7d71e900
xor eax, eax
jmp 0x7d71e900
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 0x7d71e819
xor eax, eax
jmp 0x7d71e900
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 0x7d71e856
mov ecx, 1
shl ecx, 0
movsx edx, byte [ebp + ecx - 4]
cmp edx, 0x45
jne 0x7d71e856
mov eax, 0x454e
jmp 0x7d71e900
mov eax, 1
imul eax, eax, 0
movsx ecx, byte [ebp + eax - 4]
cmp ecx, 0x50
jne 0x7d71e881
mov edx, 1
shl edx, 0
movsx eax, byte [ebp + edx - 4]
cmp eax, 0x45
jne 0x7d71e881
mov eax, 0x4550
jmp 0x7d71e900
mov ecx, 1
shl ecx, 1
mov byte [ebp + ecx - 4], 0
mov edx, dword [0x7d73575c]
movzx eax, byte [edx]
and eax, 4
je 0x7d71e8fe
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 0x7d71e8b8
mov dword [ebp - 8], 0x12
jmp 0x7d71e8bf
mov dword [ebp - 8], 0x21
push 0x7d7242c0
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 [0x7d73575c]
push ecx
push 2
call fcn.7d71f8f0
add esp, 0x18
cmp eax, 0xffffffff
je 0x7d71e8fe
lea edx, [ebp - 4]
push edx
push str.Cant_handle__s_files._n
call fcn.7d71f960
add esp, 8
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x7d71f370
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 [0x7d756234], 0xffffffff
je 0x7d71f38e
jmp 0x7d71f4b4
mov dword [0x7d756234], 0
push 0
push 0
push str.DEBUGCHANNEL
call sym.kernelbase.dll_GetEnvironmentVariableA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x7d71f3f3
mov eax, dword [ebp - 8]
push eax
call fcn.7d71f6a0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x7d71f3f3
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 0x7d71f3e7
mov eax, dword [ebp - 4]
push eax
call fcn.7d71f6f0
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call fcn.7d71f680
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 0x7d71f4ab
mov edx, dword [ebp - 8]
push edx
call fcn.7d71f6a0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x7d71f4ab
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 0x7d71f49f
push str.wine
mov edx, dword [ebp - 4]
push edx
call sub.ntext.dll_strcmp
add esp, 8
test eax, eax
jne 0x7d71f45f
mov dword [0x7d75624c], 0x7d71fa70
jmp 0x7d71f49f
push str.extended
mov eax, dword [ebp - 4]
push eax
call sub.ntext.dll_strcmp
add esp, 8
test eax, eax
je 0x7d71f489
push 0x7d735d68
mov ecx, dword [ebp - 4]
push ecx
call sub.ntext.dll_strcmp
add esp, 8
test eax, eax
jne 0x7d71f495
mov dword [0x7d75624c], 0x7d71f4c0
jmp 0x7d71f49f
mov dword [0x7d75624c], 0x7d71e930
mov edx, dword [ebp - 4]
push edx
call fcn.7d71f680
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetLastError
mov esp, ebp
pop ebp
ret
Function at 0x74d370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x74d38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x776074
push ecx
mov edi, eax
call fcn.00761198
mov esi, eax
add esp, 8
test esi, esi
jne 0x74d3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0076102e
push esi
call fcn.00760fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x750850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x7508ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x77b720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x7508ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.007611e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x7508ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x77b720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x75092a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00762082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x750957
mov word [eax], si
add eax, 2
push eax
call fcn.00762030
add esp, 4
jmp 0x750959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x7508ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x7508b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x750ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x751080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x7510c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x776458
push ecx
call fcn.007611e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.007611e1
add esp, 0x10
jmp 0x7510d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0076120b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00760dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00751050
mov eax, dword [0x77b728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x75113b
push esi
call fcn.00750fb0
add esp, 4
mov dword [0x77b728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x75114c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00750ff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x754440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x7544b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x75448e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x754471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x75447e
add edx, ecx
cmp ebx, edx
jb 0x75448a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x754467
xor ecx, ecx
jmp 0x7544a2
test eax, eax
jne 0x754492
xor ecx, ecx
jmp 0x7544a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.007543c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x7548f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x754921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x754946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x75496e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x754993
push ecx
push esi
call fcn.007544c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret