joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4167b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
xor edx, edx
cmp eax, 1
push edi
mov esi, ecx
jne 0x416859
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x3cc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], edx
div ecx
mov ebp, dword [esp + 0x18]
test eax, eax
jbe 0x416928
lea edi, [esi + 0x3f4]
nop
xor edx, edx
test ecx, ecx
mov eax, edi
jle 0x416813
mov ecx, dword [esp + 0x14]
sub ecx, edi
mov edi, edi
mov bl, byte [ecx + eax]
xor byte [eax], bl
add edx, 1
add eax, 1
cmp edx, dword [esi + 0x3cc]
jl 0x416800
push ebp
push edi
mov ecx, esi
call fcn.004164e0
mov ecx, dword [esi + 0x3cc]
push ecx
push ebp
push edi
call fcn.0048a0d0
mov eax, dword [esi + 0x3cc]
add dword [esp + 0x20], eax
add ebp, eax
mov ecx, eax
mov eax, dword [esp + 0x28]
xor edx, edx
div ecx
mov ebx, dword [esp + 0x2c]
add ebx, 1
add esp, 0xc
mov dword [esp + 0x20], ebx
cmp ebx, eax
jb 0x4167f0
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
cmp eax, 2
mov eax, dword [esp + 0x1c]
jne 0x4168ee
div dword [esi + 0x3cc]
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
xor ebx, ebx
test eax, eax
jbe 0x416928
mov edi, edi
push edi
lea eax, [esi + 0x3f4]
push eax
mov ecx, esi
call fcn.004164e0
xor ecx, ecx
cmp dword [esi + 0x3cc], ecx
mov eax, edi
jle 0x4168b3
jmp 0x4168a0
mov dl, byte [ecx + ebp]
xor byte [eax], dl
add ecx, 1
add eax, 1
cmp ecx, dword [esi + 0x3cc]
jl 0x4168a0
mov eax, dword [esi + 0x3cc]
push eax
lea eax, [esi + 0x3f4]
push edi
push eax
call fcn.0048a0d0
mov eax, dword [esi + 0x3cc]
add ebp, eax
add edi, eax
mov eax, dword [esp + 0x28]
xor edx, edx
div dword [esi + 0x3cc]
add ebx, 1
add esp, 0xc
cmp ebx, eax
jb 0x416880
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
div dword [esi + 0x3cc]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
xor ebp, ebp
test eax, eax
jbe 0x416928
push ebx
push edi
mov ecx, esi
call fcn.004164e0
mov eax, dword [esi + 0x3cc]
add edi, eax
add ebx, eax
mov eax, dword [esp + 0x1c]
xor edx, edx
div dword [esi + 0x3cc]
add ebp, 1
cmp ebp, eax
jb 0x416902
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x420810
Capabilities:
Check os version

Disassembly:
sub esp, 0xc8
mov eax, dword [0x4da22c]
xor eax, esp
mov dword [esp + 0xc4], eax
push esi
push edi
push 0x9c
lea eax, [esp + 0x34]
push 0
push eax
mov esi, ecx
call fcn.004890c0
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x34], 0x9c
call edi
test eax, eax
jne 0x42087f
push 0x94
push eax
lea edx, [esp + 0x38]
push edx
call fcn.004890c0
add esp, 0xc
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], 0x94
call edi
test eax, eax
je 0x42091d
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
push ebp
mov dword [esi + 0x950], ecx
mov dword [esi + 0x954], edx
mov dword [esi + 0x958], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x4a7828
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42091c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNativeSystemInfo
push edi
call ebx
test eax, eax
je 0x420914
lea ecx, [esp + 0x14]
push ecx
call eax
movzx eax, word [esp + 0x14]
cmp eax, 9
mov dword [esi + 0x964], eax
jne 0x420905
push str.IsWow64Process
push edi
call ebx
test eax, eax
je 0x420914
lea edx, [esp + 0x10]
push edx
push ebp
call eax
test eax, eax
je 0x420914
mov eax, dword [esp + 0x10]
mov dword [esi + 0x95c], eax
jmp 0x420914
cmp eax, 6
jne 0x420914
mov dword [esi + 0x960], 1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebx
pop ebp
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
xor ecx, esp
call fcn.00488320
add esp, 0xc8
ret

Function at 0x420aa0
Capabilities:
Check os version

Disassembly:
sub esp, 0x2a0
mov eax, dword [0x4da22c]
xor eax, esp
mov dword [esp + 0x29c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2b4]
push edi
push 0x9c
xor ebx, ebx
lea eax, [esp + 0x14]
push ebx
push eax
mov ebp, ecx
call fcn.004890c0
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 0x9c
call edi
test eax, eax
jne 0x420b11
push 0x94
push eax
lea edx, [esp + 0x18]
push edx
call fcn.004890c0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x94
call edi
push esi
lea ecx, [esp + 0xb0]
push 0x200
push ecx
call fcn.00489085
mov eax, dword [esp + 0x2c]
add esp, 0xc
sub eax, 1
je 0x420ba9
sub eax, 1
jne 0x420bc3
cmp dword [esp + 0x14], 5
jne 0x420b75
cmp dword [esp + 0x18], ebx
jne 0x420b75
push esi
lea edx, [esp + 0xb0]
push 0x200
push edx
call fcn.00489085
mov edx, dword [esp + 0x2c0]
add esp, 0xc
lea ecx, [esp + 0xac]
push ecx
push edx
mov ecx, ebp
call fcn.00433d50
jmp 0x420bc5
push esi
push str.Global_s
lea eax, [esp + 0xb4]
push 0x200
push eax
call fcn.00489085
mov edx, dword [esp + 0x2c4]
add esp, 0x10
lea ecx, [esp + 0xac]
push ecx
push edx
mov ecx, ebp
call fcn.00433d50
jmp 0x420bc5
mov ecx, dword [esp + 0x2b4]
lea eax, [esp + 0xac]
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0x420bc5
mov eax, ebx
mov ecx, dword [esp + 0x2ac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00488320
add esp, 0x2a0
ret 8
Function at 0x420be0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
mov eax, dword [0x4da22c]
xor eax, esp
mov dword [esp + 0x204], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
mov edi, dword [esp + 0x21c]
mov esi, ecx
lea eax, [esi + 4]
push eax
push 0x200
call ebx
push 0x200
lea ecx, [esp + 0x18]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, esi
call fcn.00420810
mov edx, dword [esi + 0x968]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4a8d3c
push 0
mov ecx, esi
mov dword [esi + 0x968], 0
call fcn.00420aa0
test edi, edi
mov dword [esi + 0x968], eax
mov eax, dword [esp + 0x224]
mov dword [esi + 0x20c], eax
je 0x420c85
push edi
lea ecx, [esi + 0x410]
push 0x200
push ecx
call fcn.00488d0e
add esp, 0xc
jmp 0x420c93
lea edx, [esi + 0x410]
push edx
push 0x200
call ebx
push 0x4a8d3c
lea edi, [esi + 0x810]
push 0x100
push edi
call fcn.00488d0e
mov eax, dword [esi + 0x950]
add esp, 0xc
sub eax, 1
je 0x420d30
sub eax, 1
je 0x420ccb
mov dword [esp + 0x10], 0x5002
xor edi, edi
jmp 0x420d64
push str.cpuz129
lea eax, [esi + 0x910]
push 0x40
push eax
call fcn.00488d0e
add esp, 0xc
cmp dword [esi + 0x95c], 0
je 0x420cf1
push str.cpuz_x64.sys
jmp 0x420d06
cmp dword [esi + 0x960], 0
je 0x420d01
push str.cpuz_ia64.sys
jmp 0x420d06
push str.cpuz_x32.sys
push 0x100
push edi
call fcn.00488d0e
add esp, 0xc
push 0x7d0
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.004209b0
mov ecx, esi
mov edi, eax
call fcn.00420a40
jmp 0x420d64
push str.cpuz.vxd
push 0x100
push edi
call fcn.00488d0e
push 0x4a8d3c
lea edx, [esi + 0x910]
push 0x40
push edx
call fcn.00488d0e
add esp, 0x18
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00421020
mov edi, eax
test edi, edi
mov ecx, dword [esp + 0x10]
mov dword [ebp], ecx
jne 0x420d78
push 1
mov ecx, esi
call fcn.00420940
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00488320
add esp, 0x208
ret 0xc

Function at 0x420f80
Capabilities:
Set current directory

Disassembly:
sub esp, 0x204
mov eax, dword [0x4da22c]
xor eax, esp
mov dword [esp + 0x200], eax
push ebx
push ebp
mov ebp, dword [esp + 0x210]
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x910]
push eax
push 0x4b3100
lea ecx, [esp + 0x18]
push 0x200
push ecx
xor ebx, ebx
call fcn.00434330
add esp, 0x10
lea edx, [esi + 0x410]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push ebx
push 0x4000000
push 1
push ebx
push ebx
push ebx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x420ff3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
add esi, 4
push esi
mov dword [ebp], ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [esp + 0x210]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00488320
add esp, 0x204
ret 4
Function at 0x421100
Capabilities:
Create service

Disassembly:
sub esp, 0x204
mov eax, dword [0x4da22c]
xor eax, esp
mov dword [esp + 0x200], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x214]
lea eax, [esi + 0x410]
push eax
lea ecx, [esp + 0x10]
push 0x200
push ecx
xor ebx, ebx
call fcn.00488d0e
lea eax, [esp + 0x18]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x421142
sub eax, edx
cmp byte [esp + eax + 0xb], 0x5c
lea eax, [esp + eax + 0xc]
je 0x42115e
mov byte [eax], 0x5c
mov byte [eax + 1], bl
lea edx, [esi + 0x810]
push edx
lea eax, [esp + 0x10]
push 0x200
push eax
call fcn.00434130
add esp, 0xc
push ebx
mov edx, dword [esi + 0x208]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
push ecx
push 1
push 3
push 1
push 0xf01ff
lea eax, [esi + 0x910]
push eax
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
cmp eax, ebx
jne 0x4211c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
sub eax, 0x430
mov dword [edi], ecx
je 0x4211bb
sub eax, 1
je 0x4211bf
xor eax, eax
jmp 0x4211d6
mov eax, 1
jmp 0x4211d6
push eax
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [edi], ebx
mov eax, esi
mov ecx, dword [esp + 0x20c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00488320
add esp, 0x204
ret 4

Function at 0x421240
Capabilities:
Start service

Disassembly:
push ebx
push edi
push 0xf01ff
lea eax, [ecx + 0x910]
mov ecx, dword [ecx + 0x208]
push eax
push ecx
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
test ebx, ebx
jne 0x42126e
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop ebx
ret 4
push esi
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov esi, eax
test esi, esi
jne 0x42129e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x420
ja 0x42129c
je 0x4212b3
sub eax, 2
je 0x42129c
sub eax, 0x23f
xor esi, esi
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword [edx], edi
pop edi
pop ebx
ret 4
push ebx
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword [edx], edi
pop edi
pop ebx
ret 4

Function at 0x4212d0
Capabilities:
Continue service
Stop service

Disassembly:
sub esp, 0x1c
push ebp
push esi
push edi
mov esi, ecx
mov ecx, dword [esi + 0x208]
push 0xf01ff
lea eax, [esi + 0x910]
push eax
push ecx
xor ebp, ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
jne 0x421306
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_ControlService]
lea edx, [esp + 0x10]
push edx
push 1
push edi
call ebx
cmp dword [esp + 0x14], 3
jne 0x42133f
mov eax, dword [esi + 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
push ecx
push 1
push edi
mov dword [esi + 0x204], 0xffffffff
call ebx
test eax, eax
pop ebx
jne 0x42134c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
mov eax, ebp
pop ebp
add esp, 0x1c
ret
Function at 0x421410
Capabilities:
Get hostname

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x10]
push eax
lea edi, [esi + 0x210]
push edi
xor ebx, ebx
mov dword [esp + 0x18], 0x200
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
cmp byte [edi], bl
je 0x42143a
mov ebx, edi
push 0xf003f
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test eax, eax
mov dword [esi + 0x208], eax
jne 0x421469
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword [ecx], eax
xor eax, eax
pop ebx
add esp, 8
ret 4
cmp dword [esi + 0x20c], 0
je 0x4214bb
cmp dword [esi + 0x95c], 0
je 0x421484
mov edx, dword [esi + 0x978]
push edx
jmp 0x42149d
cmp dword [esi + 0x960], 0
je 0x421496
mov eax, dword [esi + 0x97c]
push eax
jmp 0x42149d
mov ecx, dword [esi + 0x974]
push ecx
mov ecx, esi
call fcn.004218e0
test eax, eax
jne 0x4214bb
mov edx, dword [esp + 0x18]
pop edi
pop esi
mov dword [edx], 0x5001
pop ebx
add esp, 8
ret 4
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00421100
mov edi, eax
test edi, edi
je 0x4214e6
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00421240
mov edi, eax
test edi, edi
jne 0x4214e6
mov ecx, esi
call fcn.004211f0
mov eax, dword [esi + 0x208]
test eax, eax
je 0x4214f7
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [esi + 0x20c], 0
je 0x421507
mov ecx, esi
call fcn.00421610
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov dword [edx], eax
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 8
ret 4

Function at 0x421610
Capabilities:
Delete file

Disassembly:
sub esp, 0x204
mov eax, dword [0x4da22c]
xor eax, esp
mov dword [esp + 0x200], eax
mov eax, ecx
lea ecx, [eax + 0x810]
push ecx
add eax, 0x410
push eax
push str._s_s
lea edx, [esp + 0xc]
push 0x200
push edx
call fcn.00434330
add esp, 0x14
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.00488320
add esp, 0x204
ret
Function at 0x4218e0
Capabilities:
Delete file
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
sub esp, 0x414
mov eax, dword [0x4da22c]
xor eax, esp
mov dword [esp + 0x410], eax
push ebp
push esi
push edi
mov esi, ecx
lea ebp, [esi + 0x810]
push ebp
lea eax, [esi + 0x410]
push eax
push str._s_s
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
push 0x200
push eax
call fcn.00434330
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
add esp, 0x14
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
lea ecx, [esp + 0x34]
push ecx
call edi
cmp eax, 0xffffffff
je 0x421957
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x421b17
mov edx, dword [esp + 0x424]
push edx
call fcn.00407d40
add esp, 4
test eax, eax
je 0x421ad9
add esi, 0x610
cmp byte [esi], 0
je 0x421ab6
push esi
lea eax, [esp + 0x220]
push 0x200
push eax
call fcn.00488d0e
add esp, 0xc
push ebx
lea edx, [esp + 0x220]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
je 0x421aac
movzx eax, word [esp + 0x428]
push 0xa
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x421aac
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x421aac
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push ebx
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x421aac
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
lea ecx, [esp + 0x38]
push ecx
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x421aed
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
lea eax, [esp + 0x38]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x421aed
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x20]
push ecx
push 0x200
call ebx
push 0x4b311c
lea edx, [esp + 0x24]
push 0x200
push edx
call fcn.00434130
push ebp
lea eax, [esp + 0x30]
push 0x200
push eax
call fcn.00434130
add esp, 0x18
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
lea ecx, [esp + 0x38]
push ecx
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x421add
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x421b16
push 0x200
lea ecx, [esp + 0x220]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x421994
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x421b17
mov edx, dword [esp + 0x18]
push edx
push 0x200
call ebx
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x20]
push eax
push ebx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test edi, edi
jne 0x421b0d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop ebx
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00488320
add esp, 0x414
ret 4
Function at 0x4341f0
Capabilities:
Check os version

Disassembly:
sub esp, 0x2a0
mov eax, dword [0x4da22c]
xor eax, esp
mov dword [esp + 0x29c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2b8]
push edi
push 0x9c
xor ebx, ebx
lea eax, [esp + 0x14]
push ebx
push eax
mov ebp, ecx
call fcn.004890c0
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 0x9c
call edi
test eax, eax
jne 0x434261
push 0x94
push eax
lea edx, [esp + 0x18]
push edx
call fcn.004890c0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x94
call edi
push esi
lea ecx, [esp + 0xb0]
push 0x200
push ecx
call fcn.00489085
mov eax, dword [esp + 0x2c]
add esp, 0xc
sub eax, 1
je 0x4342f9
sub eax, 1
jne 0x434313
cmp dword [esp + 0x14], 5
jne 0x4342c5
cmp dword [esp + 0x18], ebx
jne 0x4342c5
push esi
lea edx, [esp + 0xb0]
push 0x200
push edx
call fcn.00489085
mov edx, dword [esp + 0x2c4]
add esp, 0xc
lea ecx, [esp + 0xac]
push ecx
push edx
mov ecx, ebp
call fcn.00433d50
jmp 0x434315
push esi
push str.Global_s
lea eax, [esp + 0xb4]
push 0x200
push eax
call fcn.00489085
mov edx, dword [esp + 0x2c8]
add esp, 0x10
lea ecx, [esp + 0xac]
push ecx
push edx
mov ecx, ebp
call fcn.00433d50
jmp 0x434315
mov ecx, dword [esp + 0x2b8]
lea eax, [esp + 0xac]
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0x434315
mov eax, ebx
mov ecx, dword [esp + 0x2ac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00488320
add esp, 0x2a0
ret 0xc
Function at 0x435200
Capabilities:
Get file version info

Disassembly:
sub esp, 0x58
mov eax, dword [0x4da22c]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
mov ebx, dword [esp + 0x64]
push ebp
mov ebp, dword [esp + 0x64]
push edi
lea eax, [esp + 0x1c]
push eax
push ebp
mov dword [esp + 0x20], 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x435356
push esi
push edi
call fcn.00479967
add esp, 4
mov esi, eax
push esi
push edi
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x43534c
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x4b311c
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x43534c
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x43532d
mov eax, dword [esp + 0x18]
movzx edx, word [eax + 2]
movzx eax, word [eax]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push edx
push eax
lea ecx, [esp + 0x2c]
push str.StringFileInfo_04x_04xFileVersion
push ecx
call edi
add esp, 0x10
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4352df
mov edx, dword [esp + 0x14]
push edx
lea eax, [ebx + 0x10]
push 0x100
push eax
call fcn.00434330
add esp, 0xc
mov eax, dword [esp + 0x18]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
lea eax, [esp + 0x2c]
push str.StringFileInfo_04x_04xCompanyName
push eax
call edi
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x43532d
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [ebx + 0x110]
push 0x100
push edx
call fcn.00434330
add esp, 0xc
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax + 0xa]
mov dword [ebx], ecx
movzx edx, word [eax + 8]
mov dword [ebx + 4], edx
movzx ecx, word [eax + 0xe]
mov dword [ebx + 8], ecx
movzx edx, word [eax + 0xc]
mov dword [ebx + 0xc], edx
push esi
call fcn.00479992
add esp, 4
pop esi
mov ecx, dword [esp + 0x60]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00488320
add esp, 0x58
ret 8
Function at 0x43df10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a145f
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4da22c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
or eax, 0xffffffff
xor ebx, ebx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esp + 0x24], ebx
mov dword [esi], vtable.K10_FIDVID_Control.0
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
xor edi, edi
lea ebp, [esi + 0x3c]
jmp 0x43df80
push 0x10
call fcn.00479967
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 1
je 0x43dfa7
lea ecx, [edi - 0x3ffeff9c]
push ecx
mov ecx, eax
call fcn.00438a50
jmp 0x43dfa9
xor eax, eax
mov dword [ebp], eax
add edi, 1
add ebp, 4
cmp edi, 5
mov byte [esp + 0x24], bl
jl 0x43df80
push 0x10
call fcn.00479967
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 2
je 0x43dfe0
push 0xc0010062
mov ecx, eax
call fcn.00438a50
jmp 0x43dfe2
xor eax, eax
push 0x10
mov byte [esp + 0x28], bl
mov dword [esi + 0x54], eax
call fcn.00479967
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 3
je 0x43e00e
push 0xc0010063
mov ecx, eax
call fcn.00438a50
jmp 0x43e010
xor eax, eax
push 0x10
mov byte [esp + 0x28], bl
mov dword [esi + 0x50], eax
call fcn.00479967
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 4
je 0x43e03c
push 0xc0010071
mov ecx, eax
call fcn.00438a50
jmp 0x43e03e
xor eax, eax
push 0x10
mov byte [esp + 0x28], bl
mov dword [esi + 0x2c], eax
call fcn.00479967
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 5
je 0x43e06d
push 0xc0010070
mov ecx, eax
call fcn.00438a50
mov dword [esi + 0x30], eax
jmp 0x43e070
mov dword [esi + 0x30], ebx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x44a030
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [ecx + 0x210]
xor eax, eax
cmp edx, 0xffffffff
je 0x44a066
mov ecx, dword [ecx + 0x21c]
push esi
push eax
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x10]
push ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
test esi, esi
jne 0x44a065
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, esi
pop esi
ret 4

Function at 0x44a070
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [ecx + 0x214]
xor eax, eax
cmp edx, 0xffffffff
je 0x44a0a6
mov ecx, dword [ecx + 0x218]
push esi
push eax
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x10]
push ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
jne 0x44a0a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, esi
pop esi
ret 4