joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4426e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505b4e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x556620]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00405f90
mov dword [edi], eax
lea ecx, [edi + 0x10]
mov dword [ebp - 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.00405f90
mov dword [edi + 0x10], eax
mov dword [edi + 0x30], 0xf
mov dword [edi + 0x2c], 0
mov byte [edi + 0x1c], 0
lea eax, [edi + 0x38]
mov byte [ebp - 4], 2
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 8], 0
mov eax, edi
mov dword [edi + 0xc], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x18], 0
mov byte [edi + 0x50], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x446e70
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505fb0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x556620]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push 9
xor eax, eax
mov byte [ebp - 0x69], 0
push str..pipe_
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004073d0
cmp word [esi + 0x200], 0
lea edx, [esi + 0x200]
mov dword [ebp - 4], 0
jne 0x446ee2
xor ecx, ecx
jmp 0x446ef6
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446ee7
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0040efb0
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x446f0c
test eax, eax
jne 0x446f3b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x7d0
push 0x1000
push 0x1000
push 1
push 0
push 0x80003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x446ff4
test eax, eax
je 0x446ff4
cmp byte [esi + 0x3e2], 0
jne 0x446f84
mov eax, dword [esi + 0x3e8]
test eax, eax
je 0x446f84
mov ecx, ebx
call eax
test al, al
je 0x446f84
mov bl, 1
cmp dword [ebp - 0x14], 8
jb 0x446f7d
push dword [ebp - 0x28]
call fcn.0040823e
add esp, 4
mov al, bl
jmp 0x447046
push 0x30
lea eax, [ebp - 0x68]
mov word [ebp - 0x37], 1
push 0
push eax
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x38], 0
call fcn.004dead0
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00447120
push esi
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004471a0
add esp, 0x20
test al, al
je 0x446fe8
cmp dword [esi], 0
je 0x446fe8
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0
mov bl, 1
call fcn.0043bf70
jmp 0x446f6c
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0
call fcn.0043bf70
cmp dword [ebp - 0x14], 8
mov dword [ebp - 4], 0xffffffff
jb 0x44700c
push dword [ebp - 0x28]
call fcn.0040823e
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov dword [ebp - 0x14], 7
test eax, eax
je 0x447031
push eax
call edi
mov dword [esi], 0
mov ecx, dword [esi + 4]
cmp ecx, 0xffffffff
je 0x447043
push ecx
call edi
mov dword [esi + 4], 0xffffffff
mov al, byte [ebp - 0x69]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401580
mov esp, ebp
pop ebp
ret 4
Function at 0x447210
Capabilities:
Create process on windows
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506030
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x556620]
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 + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0x44
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x8c]
push 0
push eax
mov dword [ebp - 0x94], 0
call fcn.004dead0
add esp, 0xc
mov dword [ebp - 0x8c], 0x44
cmp byte [edi + 8], 0
mov eax, 0x511a98
xorps xmm0, xmm0
mov dword [ebp - 0x60], 1
cmove eax, dword [ebp - 0x84]
xor ecx, ecx
cmp byte [edi + 1], cl
mov dword [ebp - 0x84], eax
mov eax, 5
cmovne eax, ecx
mov dword [ebp - 0x24], 7
mov word [ebp - 0x5c], ax
mov ecx, 0x1000004
xor eax, eax
mov dword [ebp - 0x28], 0
cmp dword [edi + 0xc], eax
push 0xffffffffffffffff
cmovne eax, ecx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x94], eax
xor eax, eax
push eax
push esi
movdqu xmmword [ebp - 0x48], xmm0
mov word [ebp - 0x38], ax
call fcn.00407980
cmp dword [edi + 4], 0
mov dword [ebp - 4], 0
jne 0x4473d4
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x8c]
push eax
movzx eax, byte [edi + 2]
lea ecx, [ebp - 0x38]
cmovae ecx, dword [ebp - 0x38]
push 0
push 0
push dword [ebp - 0x94]
push eax
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4473d4
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x20]
movdqu xmmword [ebp - 0x20], xmm0
call fcn.00435560
mov eax, dword [edi + 0xc]
mov byte [ebp - 4], 1
test eax, eax
je 0x447394
push dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x44738b
mov esi, dword [ebp - 0x20]
push 1
push esi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne al
test al, al
je 0x447380
push 0xea60
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x447387
mov dword [ebp - 4], 1
xor al, al
jmp 0x4473ba
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [edi], 0
je 0x4473a4
push 0xffffffffffffffff
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp - 0x98]
test esi, esi
je 0x4473b8
lea ecx, [ebp - 0x20]
call fcn.0043bf50
mov dword [esi], eax
mov al, 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x8d], al
mov byte [ebp - 4], 0
call fcn.004359e0
mov al, byte [ebp - 0x8d]
jmp 0x4473dc
xor al, al
mov byte [ebp - 0x8d], al
cmp dword [ebp - 0x24], 8
jb 0x4473f3
push dword [ebp - 0x38]
call fcn.0040823e
mov al, byte [ebp - 0x8d]
add esp, 4
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.00401580
mov esp, ebp
pop ebp
ret
Function at 0x447dd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506196
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x556620]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov byte [edi], 0
lea ecx, [edi + 0x30]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov byte [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call fcn.00405f90
mov dword [edi + 0x30], eax
mov dword [edi + 0x50], 0
lea ecx, [edi + 0x54]
mov dword [ebp - 4], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
call fcn.00405f90
mov dword [edi + 0x54], eax
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [edi + 0x38]
push eax
mov byte [ebp - 4], 1
call esi
lea eax, [edi + 0x14]
push eax
call esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44ab50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
mov eax, edx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], 0
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44ab67
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x44c6a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5066df
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x556620]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 5
mov dword [ebp - 0x14], 0
call fcn.00435bc0
test al, al
je 0x44c725
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1388
push dword [esi]
call edi
lea eax, [ebp - 0x14]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x44c715
cmp dword [ebp - 0x14], 0x103
jne 0x44c725
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xffffffffffffffff
push dword [esi]
call edi
mov edi, dword [esi + 0x20]
test edi, edi
je 0x44c743
mov ecx, edi
call fcn.0044c830
push edi
call fcn.0040823e
add esp, 4
mov dword [esi + 0x20], 0
mov eax, dword [esi + 0x2c]
mov byte [ebp - 4], 4
test eax, eax
je 0x44c75e
push eax
call fcn.004039c2
add esp, 4
mov dword [esi + 0x2c], 0
mov edi, dword [esi + 0x20]
mov byte [ebp - 4], 3
test edi, edi
je 0x44c779
mov ecx, edi
call fcn.0044c830
push edi
call fcn.0040823e
add esp, 4
mov eax, dword [esi + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
test eax, eax
je 0x44c7a9
cmp eax, 0xffffffff
je 0x44c7a9
call fcn.0040e530
push dword [esi + 0x18]
call edi
test eax, eax
jne 0x44c7a2
call fcn.0040db10
mov dword [esi + 0x18], 0
mov eax, dword [esi + 0x14]
mov byte [ebp - 4], 1
test eax, eax
je 0x44c7d3
cmp eax, 0xffffffff
je 0x44c7d3
call fcn.0040e530
push dword [esi + 0x14]
call edi
test eax, eax
jne 0x44c7cc
call fcn.0040db10
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x10]
mov byte [ebp - 4], 0
test eax, eax
je 0x44c7fd
cmp eax, 0xffffffff
je 0x44c7fd
call fcn.0040e530
push dword [esi + 0x10]
call edi
test eax, eax
jne 0x44c7f6
call fcn.0040db10
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.004359e0
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.00401580
mov esp, ebp
pop ebp
ret

Function at 0x44cff0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
xor al, al
test esi, esi
je 0x44d058
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x44d057
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push esi
call ebx
test eax, eax
je 0x44d03c
push 0
push 0x4c2910
push edi
call dword [sym.imp.USER32.dll_EnumThreadWindows]
push 0
push 0
push 0x12
push edi
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x1388
push esi
call ebx
test eax, eax
jne 0x44d043
pop ebx
pop edi
mov al, 1
pop esi
pop ebp
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
push esi
call ebx
test eax, eax
pop ebx
sete al
pop edi
pop esi
pop ebp
ret
Function at 0x44f0d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506aac
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x556620]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 0x38]
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
call fcn.00405f90
mov dword [edi + 0x38], eax
xor eax, eax
mov dword [edi + 0x54], 7
mov dword [edi + 0x50], 0
mov dword [ebp - 4], 0
mov word [edi + 0x40], ax
xor ecx, ecx
mov dword [edi + 0x6c], 7
mov dword [edi + 0x68], eax
mov word [edi + 0x58], cx
mov dword [edi + 0x84], 7
mov dword [edi + 0x80], ecx
mov word [edi + 0x70], ax
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
lea eax, [edi + 0x14]
push eax
mov byte [ebp - 4], 3
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], ecx
mov dword [edi], ecx
mov byte [edi + 0xc], cl
mov byte [edi + 0x88], cl
mov dword [edi + 0x8c], ecx
mov dword [edi + 0x90], ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x44f1bc
cmp word [edx], 0
jne 0x44f19e
xor ecx, ecx
jmp 0x44f1b2
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44f1a3
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x40]
call fcn.004073d0
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x44f1eb
cmp word [edx], 0
jne 0x44f1cd
xor ecx, ecx
jmp 0x44f1e1
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44f1d2
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x58]
call fcn.004073d0
call fcn.0044ef50
cmp eax, 0x68
jl 0x44f228
push 0x511988
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x44f228
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNamedPipeServerProcessId
push ebx
call esi
push str.GetNamedPipeClientProcessId
push ebx
mov dword [edi + 0x8c], eax
call esi
mov dword [edi + 0x90], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44fba0
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x556620]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x14], eax
xor esi, esi
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x44fcd8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push 0x190000
push 3
push esi
push 3
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44fc3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x44fcc3
push dword [ebp + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x44fcc3
push esi
push 0x190000
push 3
push esi
push 3
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44fcc3
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
jne 0x44fcb7
mov ebx, dword [ebp + 0x24]
test ebx, ebx
je 0x44fc83
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x8c]
test eax, eax
je 0x44fc83
lea ecx, [ebp - 8]
mov dword [ebp - 8], esi
push ecx
push edi
call eax
test eax, eax
je 0x44fc83
mov eax, dword [ebp - 8]
test eax, eax
je 0x44fc83
cmp eax, ebx
je 0x44fc83
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 8], eax
jne 0x44fcb7
push 0
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x44fcb7
push 0
push dword [ebp - 0x10]
push dword [ebp + 0x18]
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
mov esi, eax
cmp edi, 0xffffffff
je 0x44fcc3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401580
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401580
mov esp, ebp
pop ebp
ret 0x20
Function at 0x450290
Capabilities:
Check if file exists
Check mutex on windows
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x556620]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push eax
call fcn.004dead0
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.004dead0
add esp, 0x18
mov dword [ebp - 0x420], 0
lea eax, [ebp - 0x210]
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x428], 0
push 0x105
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x420]
push eax
push 0x105
lea eax, [ebp - 0x41c]
push eax
push 0x511b14
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x45034e
push 0x104
push esi
push dword [ebp - 0x420]
call fcn.004503d0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x4503a0
push str.GlobalARM_Update_Mutex
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x45037e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.thsnYaVieBoda
jmp 0x450395
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x450390
push str.thsnYaVieBoda
jmp 0x450395
push str.TsnIorcAeBoda
push 0x104
push esi
call fcn.0042b2e0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4503b3
push eax
push 0x104
push esi
call fcn.0042b2e0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401580
mov esp, ebp
pop ebp
ret
Function at 0x450430
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x556620]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
push esi
push 0x190000
push 3
push esi
push esi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x450484
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 0xd
pop edi
cmove eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401580
mov esp, ebp
pop ebp
ret
push 0
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 3
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x4504b8
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
push 4
lea eax, [ebp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4504cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, 0xd
test esi, esi
cmove esi, eax
jmp 0x450519
cmp dword [ebp + 0x10], esi
je 0x450519
xor eax, eax
mov byte [ebp - 8], 0
mov word [ebp - 7], ax
mov byte [ebp - 5], al
lea eax, [ebp - 8]
push eax
push edi
call fcn.00450540
mov esi, eax
add esp, 8
test esi, esi
jne 0x450519
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [ebp - 8]
inc ecx
cmp eax, ecx
mov dword [ebp - 0x14], eax
push edx
lea eax, [ebp - 0xc]
mov esi, 0xd
push eax
push 4
lea eax, [ebp - 0x14]
cmove esi, edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00401580
mov esp, ebp
pop ebp
ret

Function at 0x450540
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x556620]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edx
lea ebx, [edi + 0xd]
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 4
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4505bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
cmove esi, ebx
cmp esi, 0xe8
jne 0x4505a8
push 0xa
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
cmp edi, 0xa
jl 0x450564
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401580
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 8], 4
pop edi
cmove ebx, eax
xor ecx, ebp
pop esi
mov eax, ebx
pop ebx
call fcn.00401580
mov esp, ebp
pop ebp
ret
Function at 0x452cd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506efa
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x556620]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.004dcdde
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x452d76
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.004dee05
push 0x548550
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.004de024
push edi
push esi
call fcn.004dd359
add esp, 8
mov eax, esi
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.00401580
mov esp, ebp
pop ebp
ret 4
Function at 0x456b00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5073f6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x556620]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x430], 0
push 0x404
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x420]
movq qword [ebp - 0x1c], xmm0
push 0
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
call fcn.004dead0
add esp, 0xc
mov dword [ebp - 0x420], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x42c], edi
test edi, edi
jne 0x456bc4
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x42c], eax
test edi, edi
jne 0x456bc4
call fcn.00454290
mov esi, eax
jmp 0x456cb1
push dword [ebp - 0x428]
push dword [ebp - 0x424]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x456be7
call fcn.00454290
jmp 0x456ca4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x456c05
call fcn.00454290
jmp 0x456ca4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x428], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x456c26
mov esi, 0x8007000e
jmp 0x456ca6
push eax
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 2
call fcn.00454070
jmp 0x456c50
cmp dword [ebp - 0x420], 0
mov dword [ebp - 4], 1
jne 0x456c67
mov esi, 0x8007000e
jmp 0x456ca6
push esi
push dword [ebp - 0x420]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x456c87
call fcn.00454290
jmp 0x456ca4
mov eax, dword [ebp - 0x420]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x420]
call fcn.004569a0
mov esi, eax
test edi, edi
je 0x456cb1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x420], eax
je 0x456cca
lea ecx, [ebp - 0x420]
call fcn.00454f00
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00401580
mov esp, ebp
pop ebp
ret 0x10