joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429910
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5039d2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x54e938]
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, dword [ebp + 8]
xor edi, edi
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push edi
mov dword [ebp - 0x21c], edi
push ecx
mov dword [ebp - 0x220], esi
mov word [ebp - 0x218], ax
call fcn.004e15a0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, edi
je 0x4299c1
cmp eax, 0x104
jae 0x4299c1
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4299a1
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
mov ecx, esi
call fcn.00406300
jmp 0x4299dd
push edi
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
push 0x50d97c
mov ecx, esi
mov word [esi], dx
call fcn.00406300
mov dword [ebp - 4], edi
mov dword [ebp - 0x21c], 1
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 int.00401316
mov esp, ebp
pop ebp
ret

Function at 0x429a70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x214], ecx
jne 0x429aa6
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret 4
push ebx
push edi
mov edi, 8
xor bl, bl
cmp dword [esi + 0x14], edi
jb 0x429ab8
mov eax, dword [esi]
jmp 0x429aba
mov eax, esi
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x429ad9
cmp eax, 0x50
je 0x429ad9
cmp eax, 0xb7
jne 0x429b6e
cmp dword [esi + 0x14], edi
jb 0x429ae0
mov esi, dword [esi]
lea eax, [ebp - 0x210]
mov ecx, eax
xor edi, edi
mov edx, 0x105
sub esi, ecx
lea ecx, [edx + 0x7ffffef9]
test ecx, ecx
je 0x429b0f
movzx ecx, word [esi + eax]
test cx, cx
je 0x429b0f
mov word [eax], cx
add eax, 2
dec edx
jne 0x429af1
jmp 0x429b13
test edx, edx
jne 0x429b1b
sub eax, 2
mov edi, 0x8007007a
xor edx, edx
mov word [eax], dx
test edi, edi
js 0x429b6e
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x429b6e
push 0x5270e8
push 0x105
lea ecx, [ebp - 0x210]
push ecx
call fcn.00429b90
test eax, eax
js 0x429b6e
mov edx, dword [ebp - 0x214]
mov ecx, dword [edx]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
lea edx, [ebp - 0x210]
push edx
push 0
push 0
call eax
test eax, eax
sete bl
mov ecx, dword [ebp - 4]
pop edi
mov al, bl
pop ebx
xor ecx, ebp
pop esi
call int.00401316
mov esp, ebp
pop ebp
ret 4
Function at 0x429c80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov dword [ebp - 0x214], 0
mov word [ebp - 0x210], ax
call fcn.004e15a0
mov eax, dword [ebp + 0xc]
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x429d37
cmp word [ebp - 0x210], 0
je 0x429d37
test edi, edi
je 0x429cfe
push edi
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x429d37
cmp byte [ebp + 0x14], 0
je 0x429d2f
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x429d37
push 0x5270e8
push 0x105
lea eax, [ebp - 0x210]
push eax
call fcn.00429b90
test eax, eax
js 0x429d37
lea edx, [ebp - 0x210]
jmp 0x429d3c
mov edx, 0x50d97c
xor ecx, ecx
mov eax, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429d54
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.00406300
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call int.00401316
mov esp, ebp
pop ebp
ret
Function at 0x430c80
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
xor esi, esi
cmp byte [eax + 0x38], 0
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], esi
jne 0x430cbc
pop esi
mov eax, 0x3f0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret 4
mov edx, dword [eax + 0x30]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea ecx, [ebp - 0x50]
push ecx
push esi
push esi
push 2
push edx
mov dword [ebp - 0x50], esi
call edi
mov eax, dword [ebp - 0x50]
cmp eax, esi
je 0x430d0a
push eax
call fcn.0041becb
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x60]
add esp, 4
mov esi, eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [edx + 0x30]
push ecx
push esi
push 2
push eax
mov dword [ebp - 0x54], esi
call edi
test eax, eax
jne 0x430d23
push esi
call fcn.004188d7
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret 4
cmp dword [esi], 0
mov dword [ebp - 0x58], 0
jbe 0x430df4
lea ecx, [esi + 4]
mov dword [ebp - 0x4c], ecx
lea esp, [esp]
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 4]
test al, 0x20
jne 0x430de1
test eax, 0xc0000000
jne 0x430de1
test ebx, ebx
je 0x430dbf
mov esi, dword [ebx]
mov ecx, dword [ebx + 4]
sub ecx, esi
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x430dbc
mov dword [ebp - 0x5c], edi
lea esp, [esp]
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x5c]
add ecx, esi
push eax
call fcn.0040b210
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x430dde
mov esi, dword [ebx]
mov ecx, dword [ebx + 4]
add dword [ebp - 0x5c], 0x44
sub ecx, esi
mov eax, 0x78787879
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
inc edi
add ecx, edx
cmp edi, ecx
jb 0x430d80
mov esi, dword [ebp - 0x54]
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x48]
call fcn.0040b0c0
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x60]
add ecx, 0x20
call fcn.00430920
jmp 0x430de1
mov esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
add dword [ebp - 0x4c], 8
inc eax
mov dword [ebp - 0x58], eax
cmp eax, dword [esi]
jb 0x430d40
push esi
call fcn.004188d7
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call int.00401316
mov esp, ebp
pop ebp
ret 4
Function at 0x4314a0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edi
xor edi, edi
lea edx, [ebp - 0x20]
push edx
push edi
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x24]
push ecx
push edi
push edi
push 4
push 6
push eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
call dword [sym.imp.ADVAPI32.dll_GetSecurityInfo]
test eax, eax
jne 0x4315de
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x30], ecx
cmp ecx, edi
je 0x4315de
push 2
push 0xc
lea edx, [ebp - 0x10]
push edx
push ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call dword [sym.imp.ADVAPI32.dll_GetAclInformation]
test eax, eax
je 0x4315de
push ebx
push esi
mov esi, dword [ebp - 0xc]
add esi, 8
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
cmp ebx, edi
je 0x4315dc
push 2
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
je 0x4315d5
xor esi, esi
mov dword [ebp - 0x1c], esi
cmp dword [ebp - 0x10], edi
jbe 0x4315b3
lea esp, [esp]
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x18]
push eax
push esi
push ecx
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
je 0x4315b3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4315b3
cmp byte [eax], 0
mov edi, eax
jne 0x431595
mov ecx, dword [ebp - 0x28]
lea esi, [eax + 8]
call fcn.0040b210
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov esi, dword [ebp - 0x1c]
test eax, eax
jne 0x4315aa
mov eax, dword [ebp - 0x18]
movzx edx, word [edi + 2]
push edx
push eax
push 0xffffffffffffffff
push 2
push ebx
call dword [sym.imp.ADVAPI32.dll_AddAce]
test eax, eax
je 0x4315b3
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, dword [ebp - 0x10]
jb 0x431550
cmp esi, dword [ebp - 0x10]
jne 0x4315d5
mov eax, dword [ebp - 0x2c]
push 0
push ebx
push 0
push 0
push 4
push 6
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
test eax, eax
jne 0x4315d5
mov byte [ebp - 0x11], 1
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
pop ebx
mov eax, dword [ebp - 0x20]
pop edi
test eax, eax
je 0x4315ed
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x11]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
Function at 0x432b80
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
xor bl, bl
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], eax
test eax, eax
je 0x432cb3
mov dword [eax], 0
test edi, edi
je 0x432cb3
push 2
push 0xc
lea ecx, [ebp - 0x10]
xor eax, eax
push ecx
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call dword [sym.imp.ADVAPI32.dll_GetAclInformation]
test eax, eax
je 0x432cb3
push esi
mov esi, dword [ebp - 0xc]
add esi, 8
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x432ca0
push 2
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
je 0x432c99
xor ebx, ebx
cmp ebx, dword [ebp - 0x10]
jae 0x432c79
jmp 0x432c19
mov edi, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
push edx
push ebx
push edi
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
je 0x432c76
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x432c76
cmp byte [eax], 0
mov edi, eax
jne 0x432c58
mov ecx, dword [ebp - 0x24]
lea esi, [eax + 8]
call fcn.0040b210
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x432c70
mov eax, dword [ebp - 0x18]
movzx ecx, word [edi + 2]
mov edx, dword [ebp - 0x14]
push ecx
push eax
push 0xffffffffffffffff
push 2
push edx
call dword [sym.imp.ADVAPI32.dll_AddAce]
test eax, eax
je 0x432c76
inc ebx
cmp ebx, dword [ebp - 0x10]
jb 0x432c16
cmp ebx, dword [ebp - 0x10]
jne 0x432c96
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
pop esi
pop edi
mov al, 1
mov dword [edx], ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
mov al, bl
xor ecx, ebp
pop ebx
call int.00401316
mov esp, ebp
pop ebp
ret
Function at 0x437620
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 8], 0
push edi
mov edi, ecx
mov dword [ebp - 0x60], 0
jne 0x437659
cmp dword [edi + 8], 0
jne 0x43768b
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret 4
push 0
push 0x401480
push 1
push str.NtMapViewOfSection
push 0x513b00
call fcn.004340d0
push 1
push 0x4049f0
push 1
push str.NtUnmapViewOfSection
push 0x513b00
mov ecx, edi
call fcn.004340d0
mov eax, dword [edi]
push ebx
mov ebx, dword [eax]
push esi
push 1
push 0x2000
push 0x10000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, dword [edi + 8]
shl esi, 6
add esi, 0x50
push esi
mov dword [ebp - 0x58], eax
call fcn.004377d0
mov ecx, dword [ebp - 0x58]
mov edx, eax
add esp, 4
and eax, 0xfff
push 0x40
mov dword [ebp - 0x64], eax
push 0x1000
lea eax, [esi + 0xfff]
and edx, 0xfffff000
and eax, 0xfffff000
push eax
add ecx, edx
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x4376fa
call fcn.0040c5c0
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x58], eax
je 0x4377ac
push 0x49c
push 0
push 0x551560
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], 0x10
call fcn.004e15a0
mov eax, dword [ebp - 0x58]
add esp, 0xc
lea edx, [ebp - 0x54]
push edx
push esi
push eax
mov ecx, edi
call fcn.00437840
test al, al
je 0x4377ac
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x5c]
push ecx
push 0x10
lea edx, [ebp - 0x54]
push edx
push eax
push ebx
mov dword [ebp - 0x5c], 0
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4377ac
cmp dword [ebp - 0x5c], 0x10
jne 0x4377ac
mov edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x60]
push ecx
push 0x20
push esi
push edx
push ebx
mov dword [ebp - 0x60], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov ecx, dword [edi]
push 0x49c
push 0x551560
push str.g_originals
call fcn.00433020
pop esi
test eax, eax
pop ebx
sete al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
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 int.00401316
mov esp, ebp
pop ebp
ret 4
Function at 0x438da0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x54e938]
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.004e15a0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x101
ja 0x438e0c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x438e0c
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
call int.00401316
mov esp, ebp
pop ebp
ret

Function at 0x43bfc0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
cmp esi, 0x804
ja 0x43bffd
je case.0x43bff6.1027
lea eax, [esi - 0x403]
cmp eax, 0x2a
ja case.0x43bff6.1032
movzx eax, byte [eax + 0x43c050]
jmp dword [eax*4 + 0x43c048]
cmp esi, 0xc0a
je case.0x43bff6.1027
push 0x400
lea ecx, [ebp - 0x404]
push 0
push ecx
call fcn.004e15a0
add esp, 0xc
push 0x200
lea edx, [ebp - 0x404]
push edx
push 3
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43c036
mov bl, 1
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call int.00401316
mov esp, ebp
pop ebp
ret

Function at 0x43c005
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
cmp esi, 0x804
ja 0x43bffd
je case.0x43bff6.1027
lea eax, [esi - 0x403]
cmp eax, 0x2a
ja case.0x43bff6.1032
movzx eax, byte [eax + 0x43c050]
jmp dword [eax*4 + 0x43c048]
cmp esi, 0xc0a
je case.0x43bff6.1027
push 0x400
lea ecx, [ebp - 0x404]
push 0
push ecx
call fcn.004e15a0
add esp, 0xc
push 0x200
lea edx, [ebp - 0x404]
push edx
push 3
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43c036
mov bl, 1
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call int.00401316
mov esp, ebp
pop ebp
ret
Function at 0x443200
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 0x443215
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 0x444050
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x550250]
test eax, eax
jne 0x4441b7
push 0x114
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.004e15a0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x114]
cmp eax, 6
ja case.default.0x444146
jmp dword [eax*4 + 0x4441c8]
mov eax, 1
mov dword [0x550250], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x110]
sub eax, 0
je 0x444123
dec eax
je 0x44410b
dec eax
je 0x4440f3
mov eax, 0x67
mov dword [0x550250], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
mov eax, 0x66
mov dword [0x550250], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
mov eax, 0x65
mov dword [0x550250], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
mov eax, 0x64
mov dword [0x550250], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x110]
cmp eax, 3
ja case.default.0x444146
jmp dword [eax*4 + 0x4441e4]
mov eax, 0x68
mov dword [0x550250], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
mov eax, 0x69
mov dword [0x550250], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
mov eax, 0x6a
mov dword [0x550250], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
mov eax, 0x6b
mov dword [0x550250], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
mov eax, 0x6c
mov dword [0x550250], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.00401316
mov esp, ebp
pop ebp
ret
Function at 0x4457a0
Capabilities:
Check if file exists
Check mutex on windows
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x54e938]
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.004e15a0
xor edx, edx
push 0x208
push edx
lea eax, [ebp - 0x20e]
push eax
mov word [ebp - 0x210], dx
call fcn.004e15a0
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 0x50da70
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 0x44585f
mov eax, dword [ebp - 0x420]
push 0x104
push esi
push eax
call fcn.00445520
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x4458b1
push str.GlobalARM_Update_Mutex
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x44588f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.thsnYaVieBoda
jmp 0x4458a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4458a1
push str.thsnYaVieBoda
jmp 0x4458a6
push str.TsnIorcAeBoda
push 0x104
push esi
call fcn.00429b90
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4458c4
push eax
push 0x104
push esi
call fcn.00429b90
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call int.00401316
mov esp, ebp
pop ebp
ret
Function at 0x449980
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x54e938]
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.00449270
mov ebx, eax
cmp ebx, esi
je 0x4499fa
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x4499e5
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 int.00401316
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 0x449a7c
mov edi, edi
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x210]
call fcn.00449980
mov ebx, eax
cmp ebx, esi
jne 0x4499d4
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 0x449a30
mov eax, dword [ebp - 0x210]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x449a95
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.00449150
mov edi, eax
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x449ab8
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call int.00401316
mov esp, ebp
pop ebp
ret 4
Function at 0x44c510
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5012d6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x54e938]
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 + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0x430], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x418], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call fcn.00449d00
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
jne 0x44c58c
call fcn.00448f30
mov edi, eax
jmp 0x44c671
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x44c5a5
call fcn.00448f30
jmp 0x44c668
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x44c5c3
call fcn.00448f30
jmp 0x44c668
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x41c], edi
cmp eax, edi
jae 0x44c5e4
mov edi, 0x8007000e
jmp 0x44c66a
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0044a4a0
mov dword [ebp - 4], 1
jmp 0x44c61c
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x44c62d
mov edi, 0x8007000e
jmp 0x44c66a
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x44c646
call fcn.00448f30
jmp 0x44c668
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x418]
push eax
push ecx
lea ecx, [ebp - 0x42c]
call fcn.0044be70
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x414]
cmp dword [ebp - 0x418], edx
je 0x44c68a
lea ecx, [ebp - 0x418]
call fcn.00449920
mov eax, edi
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 int.00401316
mov esp, ebp
pop ebp
ret 0x10