joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4151d0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x4151e5
xor eax, eax
pop esi
add esp, 0x10
ret 8
push ebx
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jne 0x4151f8
pop ebx
xor eax, eax
pop esi
add esp, 0x10
ret 8
mov cl, byte [esi + 0xe]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalSize]
push edi
mov edi, 1
push esi
shl edi, cl
mov word [esp + 0x14], 0x4d42
call ebp
add eax, 0xe
mov dword [esp + 0x12], eax
xor eax, eax
push ebx
mov word [esp + 0x1a], ax
mov word [esp + 0x1c], ax
mov eax, dword [esi]
push 0xe
lea edx, [esp + 0x18]
lea ecx, [eax + edi*4 + 0xe]
push 1
push edx
mov dword [esp + 0x2a], ecx
call fcn.004901b9
add esp, 0x10
push ebx
push esi
call ebp
push eax
push 1
push esi
call fcn.004901b9
add esp, 0x10
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x10
ret 8
Function at 0x4178b0
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 0x417959
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 0x417a28
lea edi, [esi + 0x3f4]
nop
xor edx, edx
test ecx, ecx
mov eax, edi
jle 0x417913
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 0x417900
push ebp
push edi
mov ecx, esi
call fcn.004175e0
mov ecx, dword [esi + 0x3cc]
push ecx
push ebp
push edi
call fcn.004903d0
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 0x4178f0
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
cmp eax, 2
mov eax, dword [esp + 0x1c]
jne 0x4179ee
div dword [esi + 0x3cc]
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
xor ebx, ebx
test eax, eax
jbe 0x417a28
mov edi, edi
push edi
lea eax, [esi + 0x3f4]
push eax
mov ecx, esi
call fcn.004175e0
xor ecx, ecx
cmp dword [esi + 0x3cc], ecx
mov eax, edi
jle 0x4179b3
jmp 0x4179a0
mov dl, byte [ecx + ebp]
xor byte [eax], dl
add ecx, 1
add eax, 1
cmp ecx, dword [esi + 0x3cc]
jl 0x4179a0
mov eax, dword [esi + 0x3cc]
push eax
lea eax, [esi + 0x3f4]
push edi
push eax
call fcn.004903d0
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 0x417980
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 0x417a28
push ebx
push edi
mov ecx, esi
call fcn.004175e0
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 0x417a02
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x4219e0
Capabilities:
Check os version

Disassembly:
sub esp, 0xc8
mov eax, dword [0x4e3e9c]
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.0048f440
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 0x421a4f
push 0x94
push eax
lea edx, [esp + 0x38]
push edx
call fcn.0048f440
add esp, 0xc
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], 0x94
call edi
test eax, eax
je 0x421aed
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
push ebp
mov dword [esi + 0xb50], ecx
mov dword [esi + 0xb54], edx
mov dword [esi + 0xb58], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x4ae9c0
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x421aec
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNativeSystemInfo
push edi
call ebx
test eax, eax
je 0x421ae4
lea ecx, [esp + 0x14]
push ecx
call eax
movzx eax, word [esp + 0x14]
cmp eax, 9
mov dword [esi + 0xb64], eax
jne 0x421ad5
push str.IsWow64Process
push edi
call ebx
test eax, eax
je 0x421ae4
lea edx, [esp + 0x10]
push edx
push ebp
call eax
test eax, eax
je 0x421ae4
mov eax, dword [esp + 0x10]
mov dword [esi + 0xb5c], eax
jmp 0x421ae4
cmp eax, 6
jne 0x421ae4
mov dword [esi + 0xb60], 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.0048e5ae
add esp, 0xc8
ret

Function at 0x421c70
Capabilities:
Check os version

Disassembly:
sub esp, 0x2a0
mov eax, dword [0x4e3e9c]
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.0048f440
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 0x421ce1
push 0x94
push eax
lea edx, [esp + 0x18]
push edx
call fcn.0048f440
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.0048f305
mov eax, dword [esp + 0x2c]
add esp, 0xc
sub eax, 1
je 0x421d84
sub eax, 1
jne 0x421d9e
mov eax, dword [esp + 0x14]
cmp eax, 4
jbe 0x421d55
cmp eax, 5
jne 0x421d21
cmp dword [esp + 0x18], ebx
je 0x421d55
push esi
push str.Global_s
lea edx, [esp + 0xb4]
push 0x200
push edx
call fcn.0048f305
mov edx, dword [esp + 0x2c4]
add esp, 0x10
lea ecx, [esp + 0xac]
push ecx
push edx
mov ecx, ebp
call fcn.00436450
jmp 0x421da0
push esi
lea eax, [esp + 0xb0]
push 0x200
push eax
call fcn.0048f305
mov edx, dword [esp + 0x2c0]
add esp, 0xc
lea ecx, [esp + 0xac]
push ecx
push edx
mov ecx, ebp
call fcn.00436450
jmp 0x421da0
mov ecx, dword [esp + 0x2b4]
lea eax, [esp + 0xac]
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0x421da0
mov eax, ebx
mov ecx, dword [esp + 0x2ac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048e5ae
add esp, 0x2a0
ret 8
Function at 0x421dc0
Capabilities:
Create directory
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4e3e9c]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [esp + 0x214]
push ebx
mov ebx, dword [esp + 0x214]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push esi
mov esi, ecx
push edi
lea ecx, [esi + 4]
push ecx
push 0x200
mov dword [esp + 0x1c], eax
call ebp
push 0x200
lea edx, [esp + 0x1c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, esi
call fcn.004219e0
mov eax, dword [esi + 0xb68]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.cpuz
push 0
mov ecx, esi
mov dword [esi + 0xb68], 0
call fcn.00421c70
test ebx, ebx
mov ecx, dword [esp + 0x228]
mov dword [esi + 0xb68], eax
mov dword [esi + 0x20c], ecx
lea edi, [esi + 0x410]
je 0x421e69
push ebx
push 0x200
push edi
call fcn.0048ef9c
add esp, 0xc
jmp 0x421e71
push edi
push 0x200
call ebp
cmp dword [esi + 0x20c], 0
push edi
je 0x421eb1
push str._scpuz131_
lea edx, [esp + 0x20]
push 0x200
push edx
call fcn.00436a40
add esp, 0x10
push 0
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x421f01
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x421f01
push edi
push 0x200
lea ecx, [esi + 0x610]
push ecx
call fcn.0048ef9c
add esp, 0xc
push str.cpuz
lea edi, [esi + 0xa10]
push 0x100
push edi
call fcn.0048ef9c
mov eax, dword [esi + 0xb50]
add esp, 0xc
sub eax, 1
je 0x421f79
sub eax, 1
je 0x421f14
mov dword [esp + 0x10], 0x5002
xor edi, edi
jmp 0x421fad
lea edx, [esp + 0x18]
push edx
push 0x200
lea eax, [esi + 0x610]
push eax
jmp 0x421ebd
push str.cpuz131
lea edx, [esi + 0xb10]
push 0x40
push edx
call fcn.0048ef9c
add esp, 0xc
cmp dword [esi + 0xb5c], 0
je 0x421f3a
push str.cpuz_x64.sys
jmp 0x421f4f
cmp dword [esi + 0xb60], 0
je 0x421f4a
push str.cpuz_ia64.sys
jmp 0x421f4f
push str.cpuz_x32.sys
push 0x100
push edi
call fcn.0048ef9c
add esp, 0xc
push 0x7d0
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00421b80
mov ecx, esi
mov edi, eax
call fcn.00421c10
jmp 0x421fad
push str.cpuz.vxd
push 0x100
push edi
call fcn.0048ef9c
push str.cpuz
lea ecx, [esi + 0xb10]
push 0x40
push ecx
call fcn.0048ef9c
add esp, 0x18
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.00422300
mov edi, eax
test edi, edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
jne 0x421fc4
push 1
mov ecx, esi
call fcn.00421b10
mov ecx, dword [esp + 0x218]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048e5ae
add esp, 0x20c
ret 0xc
Function at 0x422260
Capabilities:
Set current directory

Disassembly:
sub esp, 0x204
mov eax, dword [0x4e3e9c]
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 + 0xb10]
push eax
push 0x4ba568
lea ecx, [esp + 0x18]
push 0x200
push ecx
xor ebx, ebx
call fcn.00436a40
add esp, 0x10
lea edx, [esi + 0x610]
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 0x4222d3
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.0048e5ae
add esp, 0x204
ret 4

Function at 0x4223e0
Capabilities:
Create service

Disassembly:
sub esp, 0x204
mov eax, dword [0x4e3e9c]
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 + 0x610]
push eax
lea ecx, [esp + 0x10]
push 0x200
push ecx
xor ebx, ebx
call fcn.0048ef9c
lea eax, [esp + 0x18]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x422422
sub eax, edx
cmp byte [esp + eax + 0xb], 0x5c
lea eax, [esp + eax + 0xc]
je 0x42243e
mov byte [eax], 0x5c
mov byte [eax + 1], bl
lea edx, [esi + 0xa10]
push edx
lea eax, [esp + 0x10]
push 0x200
push eax
call fcn.00436830
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 + 0xb10]
push eax
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
cmp eax, ebx
jne 0x4224a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
sub eax, 0x430
mov dword [edi], ecx
je 0x42249b
sub eax, 1
je 0x42249f
xor eax, eax
jmp 0x4224b6
mov eax, 1
jmp 0x4224b6
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.0048e5ae
add esp, 0x204
ret 4

Function at 0x422520
Capabilities:
Start service

Disassembly:
push ebx
push edi
push 0xf01ff
lea eax, [ecx + 0xb10]
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 0x42254e
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 0x42257e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x420
ja 0x42257c
je 0x422593
sub eax, 2
je 0x42257c
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 0x4225b0
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 + 0xb10]
push eax
push ecx
xor ebp, ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
jne 0x4225e6
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 0x42261f
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 0x42262c
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 0x4226f0
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 0x42271a
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 0x422749
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 0x42279b
cmp dword [esi + 0xb5c], 0
je 0x422764
mov edx, dword [esi + 0xb7c]
push edx
jmp 0x42277d
cmp dword [esi + 0xb60], 0
je 0x422776
mov eax, dword [esi + 0xb80]
push eax
jmp 0x42277d
mov ecx, dword [esi + 0xb78]
push ecx
mov ecx, esi
call fcn.00422c00
test eax, eax
jne 0x42279b
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.004223e0
mov edi, eax
test edi, edi
je 0x4227c6
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00422520
mov edi, eax
test edi, edi
jne 0x4227c6
mov ecx, esi
call fcn.004224d0
mov eax, dword [esi + 0x208]
test eax, eax
je 0x4227d7
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [esi + 0x20c], 0
je 0x4227e7
mov ecx, esi
call fcn.004228f0
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 0x4228f0
Capabilities:
Delete directory
Delete file

Disassembly:
sub esp, 0x204
mov eax, dword [0x4e3e9c]
xor eax, esp
mov dword [esp + 0x200], eax
push ebx
push esi
push edi
mov esi, ecx
lea eax, [esi + 0xa10]
push eax
lea edi, [esi + 0x610]
push edi
push str._s_s
lea ecx, [esp + 0x18]
push 0x200
push ecx
call fcn.00436a40
add esp, 0x14
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, edi
lea ebx, [ecx + 1]
mov edi, edi
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x422940
lea edx, [esi + 0x410]
sub ecx, ebx
lea esi, [edx + 1]
mov bl, byte [edx]
add edx, 1
test bl, bl
jne 0x422954
sub edx, esi
cmp ecx, edx
jbe 0x42296a
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [esp + 0x20c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048e5ae
add esp, 0x204
ret
Function at 0x422c00
Capabilities:
Delete file
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
sub esp, 0x414
mov eax, dword [0x4e3e9c]
xor eax, esp
mov dword [esp + 0x410], eax
push ebp
push esi
push edi
mov esi, ecx
lea ebp, [esi + 0xa10]
push ebp
lea eax, [esi + 0x610]
push eax
push str._s_s
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
push 0x200
push eax
call fcn.00436a40
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 0x422c77
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x422e37
mov edx, dword [esp + 0x424]
push edx
call fcn.00408510
add esp, 4
test eax, eax
je 0x422df9
add esi, 0x810
cmp byte [esi], 0
je 0x422dd6
push esi
lea eax, [esp + 0x220]
push 0x200
push eax
call fcn.0048ef9c
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 0x422dcc
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 0x422dcc
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x422dcc
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 0x422dcc
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 0x422e0d
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 0x422e0d
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x20]
push ecx
push 0x200
call ebx
push 0x4ba584
lea edx, [esp + 0x24]
push 0x200
push edx
call fcn.00436830
push ebp
lea eax, [esp + 0x30]
push 0x200
push eax
call fcn.00436830
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 0x422dfd
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x422e36
push 0x200
lea ecx, [esp + 0x220]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x422cb4
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x422e37
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 0x422e2d
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.0048e5ae
add esp, 0x414
ret 4
Function at 0x4368f0
Capabilities:
Check os version

Disassembly:
sub esp, 0x2a0
mov eax, dword [0x4e3e9c]
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.0048f440
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 0x436961
push 0x94
push eax
lea edx, [esp + 0x18]
push edx
call fcn.0048f440
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.0048f305
mov eax, dword [esp + 0x2c]
add esp, 0xc
sub eax, 1
je 0x436a04
sub eax, 1
jne 0x436a1e
mov eax, dword [esp + 0x14]
cmp eax, 4
jbe 0x4369d5
cmp eax, 5
jne 0x4369a1
cmp dword [esp + 0x18], ebx
je 0x4369d5
push esi
push str.Global_s
lea edx, [esp + 0xb4]
push 0x200
push edx
call fcn.0048f305
mov edx, dword [esp + 0x2c8]
add esp, 0x10
lea ecx, [esp + 0xac]
push ecx
push edx
mov ecx, ebp
call fcn.00436450
jmp 0x436a20
push esi
lea eax, [esp + 0xb0]
push 0x200
push eax
call fcn.0048f305
mov edx, dword [esp + 0x2c4]
add esp, 0xc
lea ecx, [esp + 0xac]
push ecx
push edx
mov ecx, ebp
call fcn.00436450
jmp 0x436a20
mov ecx, dword [esp + 0x2b8]
lea eax, [esp + 0xac]
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0x436a20
mov eax, ebx
mov ecx, dword [esp + 0x2ac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048e5ae
add esp, 0x2a0
ret 0xc
Function at 0x437960
Capabilities:
Get file version info

Disassembly:
sub esp, 0x58
mov eax, dword [0x4e3e9c]
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 0x437ab6
push esi
push edi
call fcn.0047fb47
add esp, 4
mov esi, eax
push esi
push edi
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x437aac
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x4ba584
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x437aac
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 0x437a8d
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 0x437a3f
mov edx, dword [esp + 0x14]
push edx
lea eax, [ebx + 0x10]
push 0x100
push eax
call fcn.00436a40
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 0x437a8d
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [ebx + 0x110]
push 0x100
push edx
call fcn.00436a40
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.0047fb77
add esp, 4
pop esi
mov ecx, dword [esp + 0x60]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048e5ae
add esp, 0x58
ret 8
Function at 0x440840
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a790f
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e3e9c]
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 0x4408b0
push 0x10
call fcn.0047fb47
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 1
je 0x4408d7
lea ecx, [edi - 0x3ffeff9c]
push ecx
mov ecx, eax
call fcn.0043b1e0
jmp 0x4408d9
xor eax, eax
mov dword [ebp], eax
add edi, 1
add ebp, 4
cmp edi, 5
mov byte [esp + 0x24], bl
jl 0x4408b0
push 0x10
call fcn.0047fb47
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 2
je 0x440910
push 0xc0010062
mov ecx, eax
call fcn.0043b1e0
jmp 0x440912
xor eax, eax
push 0x10
mov byte [esp + 0x28], bl
mov dword [esi + 0x54], eax
call fcn.0047fb47
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 3
je 0x44093e
push 0xc0010063
mov ecx, eax
call fcn.0043b1e0
jmp 0x440940
xor eax, eax
push 0x10
mov byte [esp + 0x28], bl
mov dword [esi + 0x50], eax
call fcn.0047fb47
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 4
je 0x44096c
push 0xc0010071
mov ecx, eax
call fcn.0043b1e0
jmp 0x44096e
xor eax, eax
push 0x10
mov byte [esp + 0x28], bl
mov dword [esi + 0x2c], eax
call fcn.0047fb47
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 5
je 0x44099d
push 0xc0010070
mov ecx, eax
call fcn.0043b1e0
mov dword [esi + 0x30], eax
jmp 0x4409a0
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