joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403a70
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b8da
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x47b008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x46daa8
mov dword [edi + 0x10], 0x46dab4
mov dword [edi + 0x68], 0x46daa0
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x46daa4
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
call fcn.00402ea0
lea ebx, [edi + 0x18]
mov dword [esi + 0x3c], 0
push 0x20
mov ecx, esi
mov dword [esi + 0x38], ebx
call fcn.00407a70
cmp dword [esi + 0x38], 0
mov word [esi + 0x40], ax
jne 0x403b2a
mov eax, dword [esi + 0xc]
mov ecx, esi
or eax, 4
push 0
push eax
call fcn.00402df0
lea edx, [edi + 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], 0x46dabc
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x46dab0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + edi - 4], eax
mov dword [ebp - 4], 5
mov eax, dword [edi]
push 8
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x46db38
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ebx
lea eax, [ecx - 0x68]
mov dword [ecx + edi - 4], eax
mov dword [ebx], 0x46dafc
call fcn.0042208d
mov esi, eax
push 1
mov byte [ebp - 4], 6
call fcn.0042352e
mov dword [esi + 4], eax
lea ecx, [ebx + 8]
lea eax, [ebx + 4]
mov dword [ebx + 0x34], esi
mov dword [ebx + 0xc], eax
add esp, 8
lea eax, [ebx + 0x14]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x24]
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov dword [ecx], 0
mov eax, dword [ebx + 0x20]
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov dword [ebx], 0x46dac0
mov eax, edi
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x409550
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45be10
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x47b008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94], edx
mov edi, ecx
push 0x10
lea eax, [ebp - 0x30]
push eax
push 0x59
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x409698
xor eax, eax
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
lea ecx, [ebp - 0x48]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x34], 7
push eax
call fcn.00401590
lea edx, [ebp - 0x48]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.0040b5f0
mov esi, eax
cmp edi, esi
je 0x409612
mov ecx, edi
call fcn.00401680
mov ecx, dword [esi]
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x78]
call fcn.00401680
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.00401520
push 0x10
lea eax, [ebp - 0x30]
push eax
push 0x5a
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x409698
xor eax, eax
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
lea ecx, [ebp - 0x60]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x4c], 7
push eax
call fcn.00401590
lea edx, [ebp - 0x60]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.0040b5f0
mov ecx, dword [ebp - 0x94]
push eax
call fcn.00403900
lea ecx, [ebp - 0x90]
call fcn.00401680
lea ecx, [ebp - 0x60]
call fcn.00401520
mov al, 1
jmp 0x40969a
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042207c
mov esp, ebp
pop ebp
ret
Function at 0x40b3d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 4], edx
test esi, esi
je 0x40b3e8
mov dword [esi], 0
test ebx, ebx
jne 0x40b3f4
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push 8
call fcn.0042208d
add esp, 4
mov edi, eax
mov eax, dword [ebp - 4]
mov dword [ebp + 8], edi
push 0
push 0
push edi
push 0x40b3a0
push 0
push 0
mov dword [edi], ebx
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
setne bl
test eax, eax
je 0x40b44c
test esi, esi
je 0x40b438
pop edi
mov dword [esi], eax
mov al, bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x40b457
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
push 8
push edi
call fcn.004220bd
add esp, 8
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b940
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x47b008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x47da0c], 0
push esi
push edi
je 0x40b970
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042207c
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x46dca4
lea ecx, [ebp - 0x210]
call fcn.0040b4e0
add esp, 4
lea eax, [ebp - 0x210]
push 0x46dca8
push eax
lea eax, [ebp - 0x418]
push str._s_s
push eax
call fcn.0040b530
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea eax, [ebp - 0x418]
add esp, 0x10
push eax
call esi
mov edi, eax
lea eax, [ebp - 0x210]
push str.crypt32.dll
push eax
lea eax, [ebp - 0x418]
push str._s_s
push eax
call fcn.0040b530
add esp, 0x10
lea eax, [ebp - 0x418]
push eax
call esi
mov esi, eax
test edi, edi
je 0x40bb22
test esi, esi
je 0x40bb22
push ecx
mov edx, str.WinVerifyTrust
mov ecx, edi
call fcn.0040bf90
mov dword [0x47da1c], eax
test eax, eax
je 0x40bb22
push ecx
mov edx, str.CryptDecodeObject
mov ecx, esi
call fcn.0040bf90
mov dword [0x47da18], eax
test eax, eax
je 0x40bb22
push ecx
mov edx, str.CryptQueryObject
mov ecx, esi
call fcn.0040bf90
mov dword [0x47da08], eax
test eax, eax
je 0x40bb22
push ecx
mov edx, str.CryptMsgGetParam
mov ecx, esi
call fcn.0040bf90
mov dword [0x47da2c], eax
test eax, eax
je 0x40bb22
push ecx
mov edx, str.CertEnumCertificatesInStore
mov ecx, esi
call fcn.0040bf90
mov dword [0x47da00], eax
test eax, eax
je 0x40bb22
push ecx
mov edx, str.CertFindCertificateInStore
mov ecx, esi
call fcn.0040bf90
mov dword [0x47da14], eax
test eax, eax
je 0x40bb22
push ecx
mov edx, str.CertGetNameStringW
mov ecx, esi
call fcn.0040bf90
mov dword [0x47da28], eax
test eax, eax
je 0x40bb22
push ecx
mov edx, str.CertFreeCertificateContext
mov ecx, esi
call fcn.0040bf90
mov dword [0x47da04], eax
test eax, eax
je 0x40bb22
push ecx
mov edx, str.CertOpenSystemStoreW
mov ecx, esi
call fcn.0040bf90
mov dword [0x47da10], eax
test eax, eax
je 0x40bb22
push ecx
mov edx, str.CertCloseStore
mov ecx, esi
call fcn.0040bf90
mov dword [0x47da24], eax
test eax, eax
je 0x40bb22
push ecx
mov edx, str.CryptMsgClose
mov ecx, esi
call fcn.0040bf90
mov dword [0x47da20], eax
test eax, eax
je 0x40bb22
mov al, 1
mov byte [0x47da0c], al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042207c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [0x47da0c]
xor ecx, ebp
pop edi
pop esi
call fcn.0042207c
mov esp, ebp
pop ebp
ret
Function at 0x40bb40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x47b008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.0040b940
test al, al
jne 0x40bb77
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042207c
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x40bc96
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40bc96
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, 0xffffffff
je 0x40bc96
xor eax, eax
mov dword [ebp - 0x268], 0x10
push 0x30
push eax
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x298]
push eax
mov dword [ebp - 0x264], edi
call fcn.00438c00
lea eax, [ebp - 0x268]
mov dword [ebp - 0x298], 0x30
mov dword [ebp - 0x280], eax
add esp, 0xc
mov eax, dword fs:[0x30]
mov dword [ebp - 0x284], 1
mov dword [ebp - 0x28c], 2
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x27c], 1
mov dword [ebp - 0x270], 0x110
cmp dword [eax + 0xa4], 5
je 0x40bc39
mov dword [ebp - 0x270], 0x1110
lea eax, [ebp - 0x298]
push eax
push 0x47b9d0
push 0xffffffffffffffff
call dword [0x47da1c]
cmp eax, 0x800b0109
je 0x40bc60
xor ebx, ebx
test eax, eax
setne bl
add ebx, 3
jmp 0x40bc65
mov ebx, 4
lea eax, [ebp - 0x298]
mov dword [ebp - 0x27c], 2
push eax
push 0x47b9d0
push 0xffffffffffffffff
call dword [0x47da1c]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042207c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 2
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042207c
mov esp, ebp
pop ebp
ret

Function at 0x40bf00
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push ebx
mov ebx, ecx
push esi
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0xc]
test ebx, ebx
jne 0x40bf1a
mov eax, dword [esi + 0x18]
pop esi
pop ebx
ret
push edi
test esi, esi
je 0x40bf77
nop
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x40bf77
movzx edx, word [ebx]
mov eax, dword [esi + 0x30]
test dx, dx
jne 0x40bf37
cmp word [eax], dx
je 0x40bf80
mov cx, word [eax]
or edx, 0x20
or cx, 0x20
cmp dx, cx
jne 0x40bf71
mov edi, ebx
sub edi, eax
lea ebx, [ebx]
movzx edx, word [edi + eax + 2]
lea eax, [eax + 2]
test dx, dx
jne 0x40bf62
cmp word [eax], dx
je 0x40bf7d
mov cx, word [eax]
or edx, 0x20
or cx, 0x20
cmp dx, cx
je 0x40bf50
mov esi, dword [esi]
test esi, esi
jne 0x40bf20
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov ecx, dword [esi + 0x18]
pop edi
pop esi
mov eax, ecx
pop ebx
ret
Function at 0x40cda0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x47b008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
xor bl, bl
push esi
push eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
push 1
push str.D:_A_OICI_GA___BG__A_OICI_GA___AN__A_OICI_GRGWGX___AU__A_OICI_GA___BA_
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x40cee8
push str.GlobalEasyAntiCheatBin
push 0x400000
push 0
push 4
lea eax, [ebp - 0x28]
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [0x47ba04], eax
test eax, eax
je 0x40ce9a
push 0
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x47ba08], eax
test eax, eax
je 0x40ce9a
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push str.GlobalEasyAntiCheatEventModule
push 0
mov dword [eax], 0
lea eax, [ebp - 0x28]
push 1
push eax
call esi
mov dword [0x47ba10], eax
test eax, eax
je 0x40ce8c
push str.GlobalEasyAntiCheatEventDriver
push 0
push 1
lea eax, [ebp - 0x28]
push eax
call esi
mov dword [0x47ba14], eax
test eax, eax
je 0x40ce8c
push str.GlobalEasyAntiCheatEventGame
push 0
push 1
lea eax, [ebp - 0x28]
push eax
call esi
mov dword [0x47ba18], eax
test eax, eax
je 0x40ce8c
push dword [ebp - 0x24]
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042207c
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._EAC_Service___Error__CreateEvent_failed_with__i.
jmp 0x40cea6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._EAC_Service___Error__CreateFileMapping_MapViewOfFile_failed_with__i.
lea eax, [ebp - 0x1c]
push eax
call fcn.00411d70
add esp, 0xc
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 0x10
jb 0x40cebe
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x1c]
call fcn.00401680
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042207c
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1c]
push str._EAC_Service___Error__ConvertStringSecurityDescriptorToSecurityDescriptor_failed_with__i.
push eax
call fcn.00411d70
add esp, 0xc
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 0x10
jb 0x40cf0c
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x1c]
call fcn.00401680
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0042207c
mov esp, ebp
pop ebp
ret
Function at 0x40dff0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edx
push esi
mov dword [ebp - 4], esi
call fcn.00411d70
add esp, 8
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x40e00e
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40e250
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov eax, dword [esi]
mov dword [esi + 4], eax
test ebx, ebx
je 0x40e3ee
cmp dword [edx + 0x10], 0
je 0x40e3ee
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
je 0x40e3ee
cmp dword [edx + 0x14], 8
jb 0x40e289
mov edx, dword [edx]
cmp dword [eax + 0x14], 8
jb 0x40e291
mov eax, dword [eax]
push edi
push edx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x40e3e5
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x40e3e5
push dword [ebp - 8]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, eax
mov dword [ebp - 8], edx
test edx, edx
je 0x40e3e5
mov ebx, dword [esi]
lea eax, [edx + edi]
mov ecx, dword [esi + 8]
mov dword [ebp - 0xc], eax
sub ecx, ebx
mov eax, dword [esi + 4]
sub eax, ebx
mov dword [ebp - 4], eax
cmp edi, ecx
jbe 0x40e394
cmp edi, 0x7fffffff
ja 0x40e3f6
mov edx, ecx
mov eax, 0x7fffffff
shr edx, 1
sub eax, edx
cmp ecx, eax
ja 0x40e318
lea eax, [edx + ecx]
mov dword [ebp - 4], eax
cmp eax, edi
jae 0x40e31b
mov dword [ebp - 4], edi
test ebx, ebx
je 0x40e368
cmp ecx, 0x1000
jb 0x40e35e
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x40e3fb
mov ecx, eax
test bl, 0x1f
jne 0x40e3fb
mov eax, dword [ebx - 4]
cmp eax, ebx
jae 0x40e3fb
sub ebx, eax
cmp ebx, 4
jb 0x40e3fb
cmp ebx, 0x23
ja 0x40e3fb
mov ebx, eax
push ecx
push ebx
call fcn.004220bd
add esp, 8
push dword [ebp - 4]
mov ecx, esi
call fcn.0040be60
mov ecx, dword [ebp - 8]
mov esi, dword [esi]
push edi
push ecx
push esi
call fcn.00437af0
mov ecx, dword [ebp + 0xc]
lea eax, [esi + edi]
add esp, 0xc
mov dword [ecx + 4], eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, eax
jbe 0x40e3cb
push eax
push edx
push ebx
call fcn.00437af0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
mov esi, dword [esi + 4]
sub ebx, eax
push ebx
push eax
push esi
call fcn.00437af0
mov ecx, dword [ebp + 0xc]
lea eax, [ebx + esi]
add esp, 0x18
mov dword [ecx + 4], eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push edx
push ebx
call fcn.00437af0
add esp, 0xc
lea eax, [ebx + edi]
mov dword [esi + 4], eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00401510
call fcn.0043c2f4
int3
Function at 0x40fd30
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c438
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x47b008]
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 edi, ecx
lea eax, [ebp - 0x28]
push str._EAC_Setup___Info__Running_an_asynchronous_installation_procedure.
push eax
call fcn.00411d70
add esp, 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
jb 0x40fd7a
mov eax, dword [ebp - 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push eax
call ebx
lea ecx, [ebp - 0x28]
call fcn.00401680
mov eax, dword [edi + 0x3c]
lea esi, [edi + 0x3c]
test eax, eax
je 0x40fdb4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40fec9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 0xc
call fcn.0042208d
mov ecx, dword [ebp + 8]
mov ebx, eax
add esp, 4
mov dword [ebp - 0x5c], ebx
mov edx, ebx
mov dword [ebx], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 4], ecx
mov ecx, 0x40ff00
push esi
mov dword [ebx + 8], edi
call fcn.0040b3d0
add esp, 4
test al, al
jne 0x40feab
mov dword [edi + 0x40], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], 7
push str.CreateThread_failed_with__i
lea ecx, [ebp - 0x58]
mov word [ebp - 0x58], ax
call fcn.00401590
mov dword [ebp - 4], 0
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
jb 0x40fe2c
mov eax, dword [ebp - 0x58]
push esi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00411e60
mov esi, eax
lea ecx, [edi + 0x44]
add esp, 0xc
cmp ecx, esi
je 0x40fe7e
call fcn.00401520
mov ecx, dword [esi]
mov dword [edi + 0x44], ecx
mov eax, dword [esi + 4]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x54], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x58], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x40]
call fcn.00401520
push 0
push 2
push 0x401
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x58]
call fcn.00401520
push 0xc
push ebx
call fcn.004220bd
add esp, 8
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.0042207c
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x28]
push str._EAC_Setup___Error__Asynchronous__un_installation_procedure_already_running_
push eax
call fcn.00411d70
add esp, 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
jb 0x40fee6
mov eax, dword [ebp - 0x28]
push eax
call ebx
lea ecx, [ebp - 0x28]
call fcn.00401680
jmp 0x40feab
Function at 0x411450
Capabilities:
Create service
Modify service
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x47b008]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 0xc]
push esi
cmp dword [ebx + 0x14], 8
mov esi, edx
mov dword [esp + 0x14], ecx
mov ecx, ebx
push edi
mov dword [esp + 0x10], 0
mov dword [ebx + 0x10], 0
jb 0x411493
mov ecx, dword [ebx]
xor edx, edx
mov word [ecx], dx
cmp dword [eax + 0x14], 8
jb 0x4114a0
mov eax, dword [eax]
mov ecx, dword [esi + 0x14]
mov edi, esi
cmp ecx, 8
jb 0x4114ac
mov edi, dword [esi]
mov edx, esi
cmp ecx, 8
jb 0x4114b5
mov edx, dword [esi]
push 0
push 0
push 0
push 0
push 0
push eax
push 1
push 3
push 0x10
push 0xf01ff
push edi
push edx
push dword [esp + 0x44]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
test edi, edi
jne 0x411565
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x431
je 0x4115a3
call edi
mov esi, eax
lea eax, [esp + 0x1c]
push esi
push str._EAC_Setup___Error__CreateService_failed_with__i.
push eax
call fcn.00411e60
add esp, 0xc
lea ecx, [esp + 0x1c]
cmp dword [esp + 0x30], 8
jb 0x41151a
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esp + 0x1c]
call fcn.00401520
push esi
lea ecx, [esp + 0x20]
push str.CreateService_failed_with__i
push ecx
call fcn.00411e60
add esp, 0xc
mov ecx, ebx
push eax
call fcn.00403810
lea ecx, [esp + 0x1c]
call fcn.00401520
mov eax, 5
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0042207c
mov esp, ebp
pop ebp
ret
push dword [esp + 0x18]
lea ecx, [esp + 0x20]
call fcn.0040a660
cmp dword [esp + 0x30], 8
lea eax, [esp + 0x1c]
jb 0x411581
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [esp + 0x1c]
call fcn.00401520
mov edx, ebx
mov ecx, esi
call fcn.00418800
mov ecx, dword [esp + 0x34]
movzx eax, al
neg eax
pop edi
sbb eax, eax
pop esi
and eax, 0xfffffffa
pop ebx
xor ecx, esp
add eax, 6
call fcn.0042207c
mov esp, ebp
pop ebp
ret
Function at 0x413050
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x47b008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test ebx, ebx
je 0x41307f
push ebx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x200
lea eax, [ebp - 0x208]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test esi, esi
je 0x4130eb
lea ecx, [ebp - 0x208]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4130a0
sub ecx, edx
lea eax, [ebp - 0x210]
push eax
sar ecx, 1
lea eax, [ebp - 0x208]
push ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push 0x216
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042207c
mov esp, ebp
pop ebp
ret