joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428970
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.00428b10
test eax, eax
jne 0x428b09
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.00428b10
test eax, eax
jne 0x428b07
inc esi
cmp esi, 7
jb 0x4289c5
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.00428b10
test eax, eax
jne 0x428b07
inc esi
cmp esi, 0xe
jb 0x428a50
push str._AcroAppTimer
push str.apptimer.exe
call fcn.00428b50
add esp, 8
test eax, eax
je 0x428a91
push eax
mov ecx, edi
call fcn.00428b10
test eax, eax
jne 0x428b07
push str.SafeNet_Borderless_Single_Sign_On.....
push str.DKAXSvr.exe
call fcn.00428b50
add esp, 8
test eax, eax
je 0x428ab3
push eax
mov ecx, edi
call fcn.00428b10
test eax, eax
jne 0x428b07
push 0
call fcn.00414430
add esp, 4
test al, al
je 0x428b05
push str.PrivateOutputChannelHelperWindow
push str.QTPro.exe
call fcn.00428b50
add esp, 8
test eax, eax
je 0x428ae3
push eax
mov ecx, edi
call fcn.00428b10
test eax, eax
jne 0x428b07
push 0x5097f8
push str.QTPro.exe
call fcn.00428b50
add esp, 8
test eax, eax
je 0x428b05
push eax
mov ecx, edi
call fcn.00428b10
test eax, eax
jne 0x428b07
xor eax, eax
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x42db70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x5256a8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 8], 0
push edi
mov edi, ecx
mov dword [ebp - 0x60], 0
jne 0x42dba9
cmp dword [edi + 8], 0
jne 0x42dbdb
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 0x4ed158
call fcn.0042a5b0
push 1
push 0x404950
push 1
push str.NtUnmapViewOfSection
push 0x4ed158
mov ecx, edi
call fcn.0042a5b0
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.0042dd00
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 0x42dc51
call fcn.00430d70
mov eax, dword [ebp - 0x5c]
push 0x4a8
push 0
push 0x528278
add ebx, eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], 0x10
call fcn.004b7120
add esp, 0xc
lea ecx, [ebp - 0x54]
push ecx
push esi
push ebx
mov ecx, edi
call fcn.0042dd70
test al, al
je 0x42dce8
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 0x42dce8
cmp dword [ebp - 0x60], 0x10
jne 0x42dce8
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 0x528278
push str.g_originals
call fcn.004296a0
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 0x42eb00
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 0x14]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push eax
push ebx
push 0x8000004
push ebx
push 0xffffffffffffffff
mov esi, ecx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x42eb63
cmp eax, ebx
je 0x42eb52
cmp eax, 0xffffffff
je 0x42eb52
call fcn.00416220
mov eax, dword [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x42eb4f
call fcn.00430d70
mov dword [esi + 0x18], ebx
cmp edi, ebx
je 0x42eb63
cmp edi, 0xffffffff
je 0x42eb63
mov dword [esi + 0x18], edi
call fcn.00416220
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x42eb6f
cmp eax, 0xffffffff
jne 0x42eb7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esi]
push ebx
push ebx
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 0x42eb6f
mov eax, dword [esi + 0x18]
push ebx
push ebx
push ebx
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x42eb6f
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.0042ecd0
mov eax, dword [ebp - 4]
add esp, 0xc
push 4
push 0x528194
push str.g_shared_section
mov ecx, esi
mov dword [0x528194], eax
call fcn.004296a0
mov dword [0x528194], 0
test eax, eax
je 0x42ec07
cmp eax, 1
je 0x42eb6f
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 4
push 0x528248
push str.g_shared_IPC_size
mov ecx, esi
mov dword [0x528248], edi
call fcn.004296a0
xor edi, edi
mov dword [0x528248], edi
cmp eax, edi
jne 0x42ebf0
mov ecx, dword [ebp + 0x14]
push 4
push 0x52824c
mov dword [0x52824c], ecx
push str.g_shared_policy_size
mov ecx, esi
call fcn.004296a0
mov dword [0x52824c], edi
cmp eax, edi
jne 0x42ebf0
push 0x24
call fcn.00404fba
add esp, 4
cmp eax, edi
je 0x42ec7c
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.0042ed10
jmp 0x42ec7e
xor eax, eax
push eax
lea ecx, [esi + 0x20]
call fcn.0042ed80
mov edx, dword [ebp + 0x10]
mov ecx, dword [esi + 0x20]
push 0x20000
push edx
push ebx
call fcn.0042edb0
test al, al
jne 0x42ecab
pop edi
pop esi
mov eax, 8
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
call fcn.0042f060
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42f200
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5256a8]
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.004b7120
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x101
ja 0x42f26c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x42f26c
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 0x433850
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd3fb
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x5256a8]
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.00433910
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.00404fba
add esp, 4
cmp eax, edi
je 0x4338df
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.004b6baa
push 0x5137c0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.004b6ce9
int3
Function at 0x436d20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfb90
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5256a8]
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 0x436ed0
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.00406690
mov dword [ebp - 4], esi
cmp dword [ebp - 0x1c], esi
je 0x436eac
lea edx, [ebp - 0x2c]
push edx
mov eax, edx
push eax
call fcn.00416360
add esp, 8
test al, al
je 0x436eac
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x436da5
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x436eac
push 1
push esi
push 0x4ffebc
lea ecx, [ebp - 0x2c]
call fcn.0040a0b0
cmp eax, 0xffffffff
jne 0x436eac
push 1
push esi
push 0x4ffeb8
lea ecx, [ebp - 0x2c]
call fcn.0040a0b0
cmp eax, 0xffffffff
jne 0x436eac
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x436df2
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.00416900
add esp, 8
test al, al
je 0x436eac
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x436e13
lea eax, [ebp - 0x2c]
push eax
call fcn.00416bb0
add esp, 4
test al, al
je 0x436eac
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x436e30
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x436eac
lea edx, [ebp - 0x2c]
push edx
mov eax, edx
push eax
call fcn.00416c80
add esp, 8
test al, al
je 0x436eac
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00417940
add esp, 4
lea esi, [edi + 0xcc]
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 + 0xe4]
mov byte [ebp - 4], 1
call fcn.00417ac0
mov eax, dword [ebp - 0x30]
push esi
cmp eax, dword [edi + 0xe8]
je 0x436eb8
inc dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x18], 8
jb 0x436ea8
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00406cf9
add esp, 4
mov al, 1
jmp 0x436ed2
cmp dword [ebp - 0x18], 8
jb 0x436ed0
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x436ec8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x18], 8
jb 0x436ed0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406cf9
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 0x438280
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 0x43829b
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 0x4382d2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x4382ce
jmp 0x4382c0
cmp esi, eax
jae 0x4382d2
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4382c0
cmp esi, eax
jb 0x4382d9
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 0x438c90
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5256a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004b7120
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 0x438cff
lea edx, [ebp - 0x120]
push edx
mov dword [ebp - 0x120], 0x114
call esi
test eax, eax
jne 0x438cff
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 0x43a070
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x5256a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, dword [esi + 0x14]
cmp ebx, 1
jne 0x43a0a1
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.004b7120
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.004b7120
add esp, 0x18
cmp ebx, 3
jne 0x43a193
cmp dword [esi + 0x7c], 8
mov ecx, dword [esi + 0x78]
lea eax, [esi + 0x68]
jb 0x43a112
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.00438d40
add esp, 0x18
push edi
lea ecx, [ebp - 0x820]
push ecx
lea edx, [ebp - 0x414]
push edx
mov ecx, esi
call fcn.004392f0
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.004b7120
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.004b7120
add esp, 0x18
cmp dword [esi + 0x14], 3
jne 0x43a1b7
cmp dword [esi + 0x94], edi
jne 0x43a1b7
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.004b7120
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.0042da68
lea eax, [esi + 0x84]
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x43a21f
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 0x43a266
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 0x43a450
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 0x43a4b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x43a4a9
cmp esi, 0xe8
jne 0x43a4a0
push 0xa
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0xa
jl 0x43a460
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 0x43a4d0
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 0x43a50d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x43a5d8
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 0x43a549
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x43a5cf
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 0x43a585
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x43a5ce
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 0x43a5ce
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.0043a450
mov esi, eax
add esp, 8
test esi, esi
jne 0x43a5ce
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 0x43a660
Capabilities:
Check if file exists
Check mutex on windows
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x5256a8]
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.004b7120
xor edx, edx
push 0x208
push edx
lea eax, [ebp - 0x20e]
push eax
mov word [ebp - 0x210], dx
call fcn.004b7120
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 0x4e7a68
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 0x43a71f
mov eax, dword [ebp - 0x420]
push 0x104
push esi
push eax
call fcn.0043a3f0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x43a771
push str.GlobalARM_Update_Mutex
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x43a74f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.thsnYaVieBoda
jmp 0x43a766
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x43a761
push str.thsnYaVieBoda
jmp 0x43a766
push str.TsnIorcAeBoda
push 0x104
push esi
call fcn.00420830
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x43a784
push eax
push 0x104
push esi
call fcn.00420830
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401306
mov esp, ebp
pop ebp
ret

Function at 0x43da60
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc0db
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5256a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004b5f78
push 4
mov dword [ebp - 4], 0
call fcn.00404fba
mov edi, eax
add esp, 4
test edi, edi
je 0x43dae0
call fcn.004b5be1
mov dword [edi], eax
call fcn.004b59a0
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.004b58d5
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x43dad6
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.004b58fd
jmp 0x43dae2
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43ed50
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x5256a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
mov edx, dword [edi]
or ecx, 0x2001f
push ecx
xor esi, esi
push eax
push edx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x208], esi
call fcn.0043e640
mov ebx, eax
cmp ebx, esi
je 0x43edca
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x43edb5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x210]
push esi
push esi
push esi
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x204]
push edx
push esi
push eax
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x43ee4c
mov edi, edi
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x210]
call fcn.0043ed50
mov ebx, eax
cmp ebx, esi
jne 0x43eda4
lea edx, [ebp - 0x220]
push edx
mov edx, dword [ebp - 0x210]
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x204]
push ecx
push esi
push edx
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x43ee00
mov eax, dword [ebp - 0x210]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x43ee65
push eax
call ebx
mov dword [ebp - 0x210], esi
mov eax, dword [ebp - 0x218]
push eax
mov ecx, edi
mov dword [ebp - 0x20c], esi
call fcn.0043e520
mov edi, eax
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x43ee88
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401306
mov esp, ebp
pop ebp
ret 4