joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e4d0
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
xor esi, esi
cmp byte [ebx + 0x38], 0
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], esi
jne 0x42e4f5
pop esi
mov eax, 0x3f0
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0x30]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 4]
push eax
push esi
push esi
push 3
push ecx
mov dword [ebp - 4], esi
call edi
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x42e540
push eax
call fcn.004159eb
mov ecx, dword [ebx + 0x30]
add esp, 4
mov esi, eax
mov eax, dword [ebp - 4]
lea edx, [ebp - 4]
push edx
push eax
push esi
push 3
push ecx
mov dword [ebp - 0xc], esi
call edi
test eax, eax
jne 0x42e54f
push esi
call fcn.0041ecb3
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi], 0
mov dword [ebp - 0x14], 0
jbe 0x42e616
mov edi, dword [ebp + 8]
lea edx, [esi + 4]
mov dword [ebp - 8], edx
test edi, edi
je 0x42e5ef
mov esi, dword [edi]
mov ecx, dword [edi + 4]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
xor ebx, ebx
add eax, edx
je 0x42e5e9
xor eax, eax
mov dword [ebp + 8], eax
jmp 0x42e597
xor eax, eax
add esi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
cmp dword [esi + 0x14], 8
jb 0x42e5a8
mov esi, dword [esi]
lea edx, [ebp - 0x1c]
push edx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp - 0x18]
jne 0x42e5c6
mov edx, dword [eax]
cmp edx, dword [ebp - 0x1c]
je 0x42e5fd
mov esi, dword [edi]
mov ecx, dword [edi + 4]
add dword [ebp + 8], 0x1c
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
cmp ebx, eax
jb 0x42e595
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
push ecx
lea ecx, [ebx + 0x10]
call fcn.0042e630
jmp 0x42e603
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
add dword [ebp - 8], 0xc
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [esi]
jb 0x42e568
push esi
call fcn.0041ecb3
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42f210
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, dword [ebp + 8]
push eax
mov ecx, edi
call fcn.0042f3b0
test eax, eax
jne 0x42f3a9
push ebx
mov ebx, dword [sym.imp.USER32.dll_LoadIconW]
mov ecx, 0x7f01
mov eax, 0x7f03
push esi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 0x7f02
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x7f05
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x7f04
xor esi, esi
mov eax, dword [ebp + esi*4 - 0x1c]
push eax
push 0
call ebx
push eax
mov ecx, edi
call fcn.0042f3b0
test eax, eax
jne 0x42f3a7
inc esi
cmp esi, 7
jb 0x42f265
mov ebx, dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x38], 0x7f02
mov dword [ebp - 0x34], 0x7f8a
mov dword [ebp - 0x30], 0x7f00
mov dword [ebp - 0x2c], 0x7f03
mov dword [ebp - 0x28], 0x7f89
mov dword [ebp - 0x24], 0x7f8b
mov dword [ebp - 0x20], 0x7f01
mov dword [ebp - 0x1c], 0x7f88
mov dword [ebp - 0x18], 0x7f86
mov dword [ebp - 0x14], 0x7f83
mov dword [ebp - 0x10], 0x7f85
mov dword [ebp - 0xc], 0x7f82
mov dword [ebp - 8], 0x7f84
mov dword [ebp - 4], 0x7f04
xor esi, esi
mov edi, edi
mov ecx, dword [ebp + esi*4 - 0x38]
push ecx
push 0
call ebx
push eax
mov ecx, edi
call fcn.0042f3b0
test eax, eax
jne 0x42f3a7
inc esi
cmp esi, 0xe
jb 0x42f2f0
push str._AcroAppTimer
push str.apptimer.exe
call fcn.0042f3f0
add esp, 8
test eax, eax
je 0x42f331
push eax
mov ecx, edi
call fcn.0042f3b0
test eax, eax
jne 0x42f3a7
push str.SafeNet_Borderless_Single_Sign_On.....
push str.DKAXSvr.exe
call fcn.0042f3f0
add esp, 8
test eax, eax
je 0x42f353
push eax
mov ecx, edi
call fcn.0042f3b0
test eax, eax
jne 0x42f3a7
push 0
call fcn.0041d2e0
add esp, 4
test al, al
je 0x42f3a5
push str.PrivateOutputChannelHelperWindow
push str.QTPro.exe
call fcn.0042f3f0
add esp, 8
test eax, eax
je 0x42f383
push eax
mov ecx, edi
call fcn.0042f3b0
test eax, eax
jne 0x42f3a7
push 0x507480
push str.QTPro.exe
call fcn.0042f3f0
add esp, 8
test eax, eax
je 0x42f3a5
push eax
mov ecx, edi
call fcn.0042f3b0
test eax, eax
jne 0x42f3a7
xor eax, eax
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x433e90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 8], 0
push edi
mov edi, ecx
mov dword [ebp - 0x60], 0
jne 0x433ec9
cmp dword [edi + 8], 0
jne 0x433efb
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret 4
push 0
push 0x401470
push 1
push str.NtMapViewOfSection
push 0x4eb3f0
call fcn.004308f0
push 1
push 0x404910
push 1
push str.NtUnmapViewOfSection
push 0x4eb3f0
mov ecx, edi
call fcn.004308f0
mov eax, dword [edi]
mov eax, dword [eax]
push ebx
push esi
push 1
push 0x2000
push 0x10000
push 0
push eax
mov dword [ebp - 0x58], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, dword [edi + 8]
shl esi, 6
add esi, 0x50
push esi
mov dword [ebp - 0x5c], eax
call fcn.00434020
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x5c]
push 0x40
mov ecx, ebx
push 0x1000
lea edx, [esi + 0xfff]
and ecx, 0xfffff000
and edx, 0x1000
add eax, ecx
push edx
push eax
mov eax, dword [ebp - 0x58]
push eax
and ebx, 0xfff
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x5c], eax
test eax, eax
jne 0x433f71
call fcn.00436ed0
mov eax, dword [ebp - 0x5c]
push 0x4a8
push 0
push 0x525250
add ebx, eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], 0x10
call fcn.004b8020
add esp, 0xc
lea ecx, [ebp - 0x54]
push ecx
push esi
push ebx
mov ecx, edi
call fcn.00434090
test al, al
je 0x434008
mov ecx, dword [ebp - 0x58]
lea edx, [ebp - 0x60]
push edx
push 0x10
lea eax, [ebp - 0x54]
push eax
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x434008
cmp dword [ebp - 0x60], 0x10
jne 0x434008
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x64]
push edx
push 0x20
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov ecx, dword [edi]
push 0x4a8
push 0x525250
push str.g_originals
call fcn.004304d0
pop esi
test eax, eax
pop ebx
sete al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop esi
pop ebx
xor ecx, ebp
xor al, al
pop edi
call fcn.00401306
mov esp, ebp
pop ebp
ret 4
Function at 0x434e20
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 0x14]
push esi
push edi
push 0
push eax
push 0
push 0x8000004
push 0
push 0xffffffffffffffff
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push eax
lea ecx, [esi + 0x18]
call fcn.004136d0
mov eax, dword [esi + 0x18]
test eax, eax
je 0x434e57
cmp eax, 0xffffffff
jne 0x434e65
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esi]
push 0
push 0
push 6
lea edx, [ebp - 4]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x434e57
mov edi, dword [esi + 0x18]
push ebx
push 0
push 0
push 0
push 6
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x434f31
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
lea eax, [ebx + edi]
push eax
push ecx
push edx
call fcn.00434fc0
mov eax, dword [ebp - 4]
add esp, 0xc
push 4
push 0x525150
push str.g_shared_section
mov ecx, esi
mov dword [0x525150], eax
call fcn.004304d0
mov dword [0x525150], 0
test eax, eax
jne 0x434f2c
push 4
push 0x525208
push str.g_shared_IPC_size
mov ecx, esi
mov dword [0x525208], edi
call fcn.004304d0
xor edi, edi
mov dword [0x525208], edi
cmp eax, edi
jne 0x434f2c
mov ecx, dword [ebp + 0x14]
push 4
push 0x52520c
mov dword [0x52520c], ecx
push str.g_shared_policy_size
mov ecx, esi
call fcn.004304d0
mov dword [0x52520c], edi
cmp eax, edi
je 0x434f4e
cmp eax, 1
jne 0x434f40
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x10
push 0x24
call fcn.00404f8a
add esp, 4
cmp eax, edi
je 0x434f78
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 8]
mov edi, dword [esi]
push ecx
mov ecx, dword [esi + 0x24]
push ecx
mov ecx, dword [esi + 0x1c]
push ecx
push edx
push edi
mov ecx, eax
call fcn.00435000
jmp 0x434f7a
xor eax, eax
push eax
lea ecx, [esi + 0x20]
call fcn.00435070
mov edx, dword [ebp + 0x10]
mov ecx, dword [esi + 0x20]
push 0x20000
push edx
push ebx
call fcn.004350a0
test al, al
jne 0x434fa7
pop ebx
pop edi
mov eax, 8
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
call fcn.00435350
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x435510
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.004b8020
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x101
ja 0x43557c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x43557c
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
call fcn.00401306
mov esp, ebp
pop ebp
ret
Function at 0x43a0f0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db74b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x522638]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
lea ecx, [esi + 4]
call fcn.0043a1b0
xor edi, edi
mov dword [esi], vtable.sandbox_dde::CDdeTopic.0
push 0x18
mov dword [ebp - 4], edi
mov dword [esi + 0x30], edi
call fcn.00404f8a
add esp, 4
cmp eax, edi
je 0x43a17f
mov dword [esi + 0x2c], eax
mov dword [eax], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 8], eax
mov edx, dword [esi + 0x2c]
mov al, 1
mov byte [edx + 0x14], al
mov ecx, dword [esi + 0x2c]
mov byte [ecx + 0x15], al
mov dword [esi + 0x38], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp + 0xc], edi
call fcn.004b7aaa
push 0x511300
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.004b7be9
int3
Function at 0x43d5c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de670
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov edi, ecx
cmp dword [eax + 0x10], esi
je 0x43d770
push 0xffffffffffffffff
xor ecx, ecx
push esi
mov word [ebp - 0x2c], cx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
call fcn.00406640
mov dword [ebp - 4], esi
cmp dword [ebp - 0x1c], esi
je 0x43d74c
lea edx, [ebp - 0x2c]
push edx
mov eax, edx
push eax
call fcn.0041e780
add esp, 8
test al, al
je 0x43d74c
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x43d645
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43d74c
push 1
push esi
push 0x4fdfa4
lea ecx, [ebp - 0x2c]
call fcn.0040a060
cmp eax, 0xffffffff
jne 0x43d74c
push 1
push esi
push 0x4fdfa0
lea ecx, [ebp - 0x2c]
call fcn.0040a060
cmp eax, 0xffffffff
jne 0x43d74c
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x43d692
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.0041ecc0
add esp, 8
test al, al
je 0x43d74c
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x43d6b3
lea eax, [ebp - 0x2c]
push eax
call fcn.0041eed0
add esp, 4
test al, al
je 0x43d74c
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x43d6d0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x43d74c
lea edx, [ebp - 0x2c]
push edx
mov eax, edx
push eax
call fcn.0041efa0
add esp, 8
test al, al
je 0x43d74c
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0041fc60
add esp, 4
lea esi, [edi + 0xe4]
push esi
mov dword [ebp - 0x34], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [edi + 0xfc]
mov byte [ebp - 4], 1
call fcn.0041fce0
mov eax, dword [ebp - 0x30]
push esi
cmp eax, dword [edi + 0x100]
je 0x43d758
inc dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x18], 8
jb 0x43d748
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00406ca9
add esp, 4
mov al, 1
jmp 0x43d772
cmp dword [ebp - 0x18], 8
jb 0x43d770
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x43d768
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x18], 8
jb 0x43d770
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406ca9
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret 4
Function at 0x43e380
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
push edi
mov dword [ebp - 4], 0
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x43e395
mov edx, dword [ebp + 8]
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
mov eax, dword [ecx]
push esi
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x43eb10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x43eb2b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x43eb62
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x43eb5e
jmp 0x43eb50
cmp esi, eax
jae 0x43eb62
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x43eb50
cmp esi, eax
jb 0x43eb69
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x43f4e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004b8020
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call esi
test eax, eax
jne 0x43f54f
lea edx, [ebp - 0x120]
push edx
mov dword [ebp - 0x120], 0x114
call esi
test eax, eax
jne 0x43f54f
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x11c], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.00401306
mov esp, ebp
pop ebp
ret
Function at 0x4408e0
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, dword [esi + 0x14]
cmp ebx, 1
jne 0x440911
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
push edi
xor edi, edi
push 0x400
lea eax, [ebp - 0x404]
push edi
push eax
mov dword [ebp - 0x824], edi
mov dword [ebp - 0x414], edi
mov dword [ebp - 0x410], edi
mov dword [ebp - 0x40c], edi
mov dword [ebp - 0x408], edi
call fcn.004b8020
push 0x400
lea ecx, [ebp - 0x814]
push edi
push ecx
mov dword [ebp - 0x820], edi
mov dword [ebp - 0x81c], edi
mov dword [ebp - 0x818], edi
call fcn.004b8020
add esp, 0x18
cmp ebx, 3
jne 0x440a03
cmp dword [esi + 0x7c], 8
mov ecx, dword [esi + 0x78]
lea eax, [esi + 0x68]
jb 0x440982
mov eax, dword [eax]
lea edx, [ecx + ecx]
push edx
push eax
push 1
push 1
lea eax, [ebp - 0x414]
push 2
push eax
call fcn.0043f590
add esp, 0x18
push edi
lea ecx, [ebp - 0x820]
push ecx
lea edx, [ebp - 0x414]
push edx
mov ecx, esi
call fcn.0043fb60
push 0x400
lea eax, [ebp - 0x404]
push edi
push eax
mov dword [ebp - 0x414], edi
mov dword [ebp - 0x410], edi
mov dword [ebp - 0x40c], edi
mov dword [ebp - 0x408], edi
call fcn.004b8020
push 0x400
lea ecx, [ebp - 0x814]
push edi
push ecx
mov dword [ebp - 0x820], edi
mov dword [ebp - 0x81c], edi
mov dword [ebp - 0x818], edi
call fcn.004b8020
add esp, 0x18
cmp dword [esi + 0x14], 3
jne 0x440a27
cmp dword [esi + 0x94], edi
jne 0x440a27
pop edi
pop esi
mov eax, 9
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x410
lea eax, [ebp - 0x414]
push edi
push eax
mov dword [ebp - 0x824], edi
call fcn.004b8020
push 4
push esi
mov eax, 1
lea ecx, [ebp - 0x404]
push 0x400
push ecx
mov dword [ebp - 0x414], edi
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x40c], eax
mov dword [ebp - 0x408], 4
call fcn.00433d88
lea eax, [esi + 0x84]
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x440a8f
mov eax, dword [eax]
push edi
lea edx, [ebp - 0x824]
push edx
push 0x40c
lea ecx, [ebp - 0x820]
push ecx
push 0x410
lea edx, [ebp - 0x414]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CallNamedPipeW]
mov eax, dword [esi + 0x38]
cmp eax, edi
je 0x440ad6
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x38], edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00401306
mov esp, ebp
pop ebp
ret
Function at 0x440cc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
lea esp, [esp]
mov ecx, dword [ebp + 8]
push 0
lea eax, [ebp - 4]
push eax
push 4
push ebx
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x440d25
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x440d19
cmp esi, 0xe8
jne 0x440d10
push 0xa
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0xa
jl 0x440cd0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xd
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
sub eax, 4
neg eax
pop edi
sbb eax, eax
pop esi
and eax, 0xd
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x440d40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
push esi
push edi
xor esi, esi
push esi
push esi
push 3
push esi
push esi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x440d7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x440e48
pop edi
lea eax, [esi + 0xd]
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
lea ecx, [ebp - 0xc]
push ecx
push edi
mov dword [ebp - 0xc], 3
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x440db9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x440e3f
push edi
lea esi, [eax + 0xd]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [ebp - 8]
push edx
push 4
lea eax, [ebp + 0xc]
push eax
push edi
mov dword [ebp - 8], esi
call ebx
test eax, eax
jne 0x440df5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x440e3e
pop ebx
push edi
lea esi, [eax + 0xd]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x10], esi
je 0x440e3e
lea ecx, [ebp - 4]
xor eax, eax
push ecx
push edi
mov byte [ebp - 4], 0
mov word [ebp - 3], ax
mov byte [ebp - 1], al
call fcn.00440cc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x440e3e
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
inc edx
sub eax, edx
neg eax
sbb eax, eax
and eax, 0xd
push 0
mov esi, eax
lea eax, [ebp - 8]
push eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push edi
call ebx
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x440ed0
Capabilities:
Check if file exists
Check mutex on windows
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x41a]
push ecx
mov word [ebp - 0x41c], ax
call fcn.004b8020
xor edx, edx
push 0x208
push edx
lea eax, [ebp - 0x20e]
push eax
mov word [ebp - 0x210], dx
call fcn.004b8020
add esp, 0x18
push 0x105
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x420]
push ecx
push 0x105
lea edx, [ebp - 0x41c]
push edx
push 0x4e5a68
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x428], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x440f8f
mov eax, dword [ebp - 0x420]
push 0x104
push esi
push eax
call fcn.00440c60
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x440fe1
push str.GlobalARM_Update_Mutex
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x440fbf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.thsnYaVieBoda
jmp 0x440fd6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x440fd1
push str.thsnYaVieBoda
jmp 0x440fd6
push str.TsnIorcAeBoda
push 0x104
push esi
call fcn.00427280
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x440ff4
push eax
push 0x104
push esi
call fcn.00427280
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401306
mov esp, ebp
pop ebp
ret