joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5839d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71d400
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x857060]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x50]
mov dword [esi], vtable.ViewMediatorSilent.0
call fcn.00663940
push dword [esi + 0x1c]
mov edx, str.Exit_Code:
mov ecx, 0x87bfc8
call fcn.004ad290
mov ecx, eax
call fcn.004d5a60
mov edx, 0x7f4f30
mov ecx, eax
call fcn.004ad290
push eax
call fcn.005620f0
add esp, 4
cmp dword [esi + 0x54], 0
je 0x583a5a
push 0
push 0xd
push 0x100
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
lea ecx, [esi + 0x38]
mov dword [esi], vtable.ViewMediatorBase.0
call fcn.0054c070
lea ecx, [esi + 0x20]
call fcn.00426ce0
test byte [ebp + 8], 1
je 0x583a81
push 0x58
push esi
call fcn.006d0bf7
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x584c70
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x741971
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x857060]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
mov dword [ebp - 4], eax
lea ecx, [esi + 0x34]
mov word [esi + 0x1c], 0x101
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
push 8
push 0x7f5fa4
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00426d40
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
push 0xf
xor eax, eax
mov dword [ecx + 0x10], 0
push str.messageFromHtml
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00426d40
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 2
push 0x11
xor eax, eax
mov dword [ecx + 0x10], 0
push str.messageFromNative
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00426d40
xor eax, eax
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 7
mov word [esi + 0x7c], ax
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], 7
mov word [esi + 0x94], ax
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc0], 7
mov word [esi + 0xac], ax
lea ecx, [esi + 0xc4]
mov byte [ebp - 4], 6
push 0x11
push str.Connecting_to_0
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00426d40
lea ecx, [esi + 0xdc]
mov byte [ebp - 4], 7
push 0xf
xor eax, eax
mov dword [ecx + 0x10], 0
push 0x7ee510
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00426d40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x586310
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, ecx
lea ecx, [edi + 0x1f8]
call fcn.00664850
lea ecx, [edi + 0x1f4]
call fcn.006647c0
cmp dword [edi + 0x70], 2
jne 0x58634b
push 5
push dword [edi + 0x1ec]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x1f0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [edi + 0x70], 0
pop edi
ret
Function at 0x587470
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74200b
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push edi
mov eax, dword [0x857060]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
cmp byte [edi + 0x259], al
je 0x587550
push 0xc
push str.networkError
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
call fcn.00426d40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x6c]
push 9
xor eax, eax
mov dword [ebp - 0x5c], 0
push 0x7f63d8
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
call fcn.00426d40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
push 0xb
xor eax, eax
mov dword [ebp - 0x44], 0
push str.signInError
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
call fcn.00426d40
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x54]
push eax
push ecx
mov ecx, edi
call fcn.005808c0
lea ecx, [ebp - 0x54]
call fcn.00426ce0
lea ecx, [ebp - 0x6c]
call fcn.00426ce0
lea ecx, [ebp - 0x84]
jmp 0x5875f7
push 0
push 0x799430
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.00426d40
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x24]
push 0xc
xor eax, eax
mov dword [ebp - 0x14], 0
push str.retryClicked
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.00426d40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x24]
cmovae ecx, dword [ebp - 0x3c]
cmp dword [ebp - 0x10], 8
push ecx
cmovae eax, dword [ebp - 0x24]
push eax
push str.Send_message_to_message_gateway._Message:__s_MessageData:__s
push 0x799430
push 0x799430
push str.ViewMediatorBase
push 0x799430
push 0x14
call fcn.0056c500
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x3c]
add esp, 0x20
push eax
lea eax, [ebp - 0x24]
push eax
push 1
call fcn.0057f290
lea ecx, [ebp - 0x24]
call fcn.00426ce0
lea ecx, [ebp - 0x3c]
call fcn.00426ce0
push 5
push dword [edi + 0x1ec]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x1f0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [edi + 0x70], 0
mov byte [edi + 0x25a], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x588fa0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7424f0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push edi
mov eax, dword [0x857060]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x70]
test eax, eax
jne 0x5890bc
cmp byte [edi + 0x74], 1
jne 0x5890a7
mov eax, dword [edi + 0x108]
cmp eax, 2
je 0x5890a7
cmp eax, 1
je 0x5890a7
call fcn.0058ad40
xor eax, eax
mov dword [ebp - 0x2c], 0
push eax
push 0x799430
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.00426d40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
push 0xd
xor eax, eax
mov dword [ebp - 0x14], 0
push str.cancelClicked
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.00426d40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x24]
cmovae ecx, dword [ebp - 0x3c]
cmp dword [ebp - 0x10], 8
push ecx
cmovae eax, dword [ebp - 0x24]
push eax
push str.Send_message_to_message_gateway._Message:__s_MessageData:__s
push 0x799430
push 0x799430
push str.ViewMediatorBase
push 0x799430
push 0x14
call fcn.0056c500
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x3c]
add esp, 0x20
push eax
lea eax, [ebp - 0x24]
push eax
push 1
call fcn.0057f290
lea ecx, [ebp - 0x24]
call fcn.00426ce0
lea ecx, [ebp - 0x3c]
jmp 0x5891cb
call fcn.0058c270
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x58911e
lea ecx, [edi + 0x1f8]
call fcn.00664850
lea ecx, [edi + 0x1f4]
call fcn.006647c0
cmp dword [edi + 0x70], 2
jne 0x5890f9
push 5
push dword [edi + 0x1ec]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x1f0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
mov dword [edi + 0x70], 0
call fcn.0058c270
mov byte [edi + 0x25b], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
call fcn.0058ad40
xor eax, eax
mov dword [ebp - 0x5c], 0
push eax
push 0x799430
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
call fcn.00426d40
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x54]
push 0xd
xor eax, eax
mov dword [ebp - 0x44], 0
push str.cancelClicked
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
call fcn.00426d40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6c]
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x54]
cmovae ecx, dword [ebp - 0x6c]
cmp dword [ebp - 0x40], 8
push ecx
cmovae eax, dword [ebp - 0x54]
push eax
push str.Send_message_to_message_gateway._Message:__s_MessageData:__s
push 0x799430
push 0x799430
push str.ViewMediatorBase
push 0x799430
push 0x14
call fcn.0056c500
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x6c]
add esp, 0x20
push eax
lea eax, [ebp - 0x54]
push eax
push 1
call fcn.0057f290
lea ecx, [ebp - 0x54]
call fcn.00426ce0
lea ecx, [ebp - 0x6c]
call fcn.00426ce0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x58a140
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x741c00
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push edi
mov eax, dword [0x857060]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x1f8]
call fcn.00664850
lea ecx, [edi + 0x1f4]
call fcn.006647c0
cmp dword [edi + 0x70], 2
jne 0x58a1a0
push 5
push dword [edi + 0x1ec]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x1f0]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov dword [edi + 0x70], 0
push eax
push 0x799430
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.00426d40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
push 0x11
xor eax, eax
mov dword [ebp - 0x14], 0
push str.showSpinnerScreen
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.00426d40
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.0058a040
lea ecx, [ebp - 0x24]
call fcn.00426ce0
lea ecx, [ebp - 0x3c]
call fcn.00426ce0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x58c340
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x741720
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push edi
mov eax, dword [0x857060]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x1f8]
call fcn.00664850
lea ecx, [edi + 0x1f4]
call fcn.006647c0
cmp dword [edi + 0x70], 2
jne 0x58c3a0
push 5
push dword [edi + 0x1ec]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x1f0]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x1ec]
mov dword [edi + 0x70], 0
call dword [sym.imp.USER32.dll_GetSystemMenu]
test eax, eax
je 0x58c3c7
push 3
push 0xf060
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
xor eax, eax
mov dword [ebp - 0x2c], 0
push eax
push 0x799430
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.00426d40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
push 0xe
xor eax, eax
mov dword [ebp - 0x14], 0
push str.showProxyAlert
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.00426d40
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.0058a040
lea ecx, [ebp - 0x24]
call fcn.00426ce0
lea ecx, [ebp - 0x3c]
call fcn.00426ce0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x58c7e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x741720
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push edi
mov eax, dword [0x857060]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x1f8]
call fcn.00664850
lea ecx, [edi + 0x1f4]
call fcn.006647c0
cmp dword [edi + 0x70], 2
jne 0x58c840
push 5
push dword [edi + 0x1ec]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x1f0]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov dword [edi + 0x70], 0
push eax
push 0x799430
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.00426d40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
push 0x13
xor eax, eax
mov dword [ebp - 0x14], 0
push str.showNoNetworkScreen
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.00426d40
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.0058a040
lea ecx, [ebp - 0x24]
call fcn.00426ce0
lea ecx, [ebp - 0x3c]
call fcn.00426ce0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x596650
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [ebp + 8], 1
push edi
mov edi, ecx
jne 0x5966e4
cmp dword [edi + 8], 0
push ebx
push esi
jne 0x596700
push 8
call fcn.006d0976
add esp, 4
mov esi, eax
xorps xmm0, xmm0
mov dword [ebp + 8], esi
push 0
push 0
push esi
push 0x670d70
push 0
movq qword [esi], xmm0
push 0
mov dword [esi], 0x596630
mov dword [esi + 4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x5966d8
push 8
push esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.006d0bf7
push str.failed_to_create_a_new_worker_thread.
push 0x799430
push 0x799430
push str.WorkflowBase
push 0x799430
push 0x28
call fcn.0056c500
add esp, 0x20
jmp 0x59672c
pop esi
pop ebx
mov dword [edi + 8], eax
pop edi
mov esp, ebp
pop ebp
ret 4
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
mov esp, ebp
pop ebp
ret 4
lea ecx, [edi + 8]
call fcn.00449040
push eax
push str.StartWorkflow:_thread___d__is_already_running
push 0x799430
push 0x799430
push str.WorkflowBase
push 0x799430
push 0x28
call fcn.0056c500
add esp, 0x1c
lea ecx, [ebp - 0xc]
call fcn.004a3120
push 0x853b78
lea eax, [ebp - 0xc]
push eax
call fcn.006e8e84
int3
Function at 0x596d00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7444f8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x857060]
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 ebx, ecx
mov eax, dword [ebp + 8]
lea edx, [ebx + 0x4c]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x30], ecx
cmp edx, eax
je 0x596d52
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x596d47
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edx
call fcn.00426d40
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x596da0
push 8
call fcn.006d0976
add esp, 4
mov esi, eax
mov dword [ebp - 0x34], esi
xorps xmm0, xmm0
push 0
push 0
push esi
push 0x670d70
push 0
movq qword [esi], xmm0
push 0
mov dword [esi], edi
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x596e7b
push 8
push esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.006d0bf7
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
sub esp, 0x18
mov dword [ebp - 4], eax
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
push 0x799430
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00426d40
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
xor eax, eax
push eax
push 0x799430
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00426d40
push 0
mov edx, 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0057af90
add esp, 0x34
mov dword [ebp - 0x3c], 0
xor eax, eax
mov dword [ebp - 0x38], 7
lea ecx, [ebp - 0x4c]
mov word [ebp - 0x4c], ax
push 0xf
push str.accInstallError
call fcn.00426d40
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
mov ecx, dword [ebx + 4]
push eax
lea eax, [ebp - 0x4c]
push eax
push 2
call fcn.0057f290
lea ecx, [ebp - 0x4c]
call fcn.00426ce0
lea ecx, [ebp - 0x2c]
call fcn.00426ce0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006d0965
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
jmp 0x596e5d
Function at 0x599cd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x744b78
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x857060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
lea edx, [ebp - 0x264]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x298]
call fcn.0065a6f0
cmp dword [ebp - 0x264], 2
jne 0x599d68
lea ecx, [ebp - 0x248]
call fcn.00650d20
test al, al
je 0x599dc4
push 0x15
push str.Adobe_Desktop_Common
jmp 0x599db9
push 0
push 0x2b
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x599dc4
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x599d90
sub eax, edx
lea ecx, [ebp - 0x248]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00426d40
push 0x1b
push str.AdobeAdobe_Desktop_Common
lea ecx, [ebp - 0x248]
call fcn.0044a2e0
lea ecx, [ebp - 0x260]
call fcn.00650ee0
test al, al
je 0x599de5
push 0xb
push str.OOBEPDApp
lea ecx, [ebp - 0x260]
call fcn.0044a2e0
xor eax, eax
mov dword [ebp - 0x284], 0
push eax
push 0x799430
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], ax
call fcn.00426d40
xor eax, eax
mov byte [ebp - 4], 2
push eax
push 0x799430
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
call fcn.00426d40
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push ecx
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 4
push eax
push ecx
lea eax, [ebp - 0x248]
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x27c]
call fcn.0065d5c0
add esp, 0x10
lea ecx, [ebp - 0x230]
call fcn.00426ce0
lea ecx, [ebp - 0x27c]
call fcn.00426ce0
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 1
call fcn.00426ce0
xor eax, eax
mov dword [ebp - 0x26c], 0
push eax
push 0x799430
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
call fcn.00426d40
xor eax, eax
mov byte [ebp - 4], 5
push eax
push 0x799430
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], ax
call fcn.00426d40
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push ecx
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 7
push eax
push ecx
lea eax, [ebp - 0x260]
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x294]
call fcn.0065d5c0
add esp, 0x10
lea ecx, [ebp - 0x230]
call fcn.00426ce0
lea ecx, [ebp - 0x294]
call fcn.00426ce0
lea ecx, [ebp - 0x27c]
call fcn.00426ce0
lea ecx, [ebp - 0x260]
call fcn.00426ce0
lea ecx, [ebp - 0x248]
call fcn.00426ce0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006d0965
mov esp, ebp
pop ebp
ret
Function at 0x59a1d0
Capabilities:
Create thread
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x744c3c
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x857060]
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 ebx, ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x250], eax
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x59a282
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x59a282
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x59a260
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.00426d40
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebx + 0x4c]
cmp ecx, esi
je 0x59a2b7
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x59a2ae
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.00426d40
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x59a308
push 8
call fcn.006d0976
add esp, 4
mov esi, eax
mov dword [ebp - 0x254], esi
xorps xmm0, xmm0
push 0
push 0
push esi
push 0x670d70
push 0
movq qword [esi], xmm0
push 0
mov dword [esi], edi
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x59a416
push 8
push esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.006d0bf7
add esp, 8
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x254], esp
push eax
push 0x799430
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00426d40
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
xor eax, eax
push eax
push 0x799430
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00426d40
push 0
mov edx, 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.0057af90
add esp, 0x34
mov dword [ebp - 0x25c], 0
xor eax, eax
mov dword [ebp - 0x258], 7
lea ecx, [ebp - 0x26c]
mov word [ebp - 0x26c], ax
push 0xe
push str.hdInstallError
call fcn.00426d40
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 3
mov ecx, dword [ebx + 4]
push eax
lea eax, [ebp - 0x26c]
push eax
push 2
call fcn.0057f290
lea ecx, [ebp - 0x26c]
call fcn.00426ce0
lea ecx, [ebp - 0x24c]
call fcn.00426ce0
lea ecx, [ebp - 0x234]
call fcn.00426ce0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006d0965
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x250]
mov dword [ecx], eax
jmp 0x59a3ed