joyce8/EMBER2024-capa huggingface dataset:
Function at 0x65b540
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x82f084]
xor eax, esp
mov dword [esp + 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
cmp byte [edi + 0x20], 0
je 0x65b6c7
cmp byte [edi + 0x28], 0
je 0x65b6c7
lea eax, [esp + 0x10]
mov dword [esi], 0
push eax
push dword [edi + 0xb0]
mov dword [esp + 0x18], 0
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x65b5fc
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
mov ecx, edi
call fcn.00659c00
mov edi, dword [0x855ab8]
test edi, edi
je 0x65b5b7
cmp byte [0x855a8a], 0
jne 0x65b5c2
call fcn.00653890
mov edi, dword [0x855ab8]
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [esi + 0x24]
mov ecx, esi
push eax
push str.Error__d_in_WinHttpQueryDataAvailable._n
push 0x75c10c
push edi
call dword [0x74835c]
call esi
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0067d681
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x10]
cmp ecx, dword [ebp + 0x14]
cmova ecx, dword [ebp + 0x14]
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x65b626
lea eax, [ecx + 2]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0067d681
mov esp, ebp
pop ebp
ret 0x10
push ecx
push 0
push dword [ebx]
call fcn.00690480
add esp, 0xc
push esi
push dword [esp + 0x14]
push dword [ebx]
push dword [edi + 0xb0]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x65b6a8
mov ecx, dword [0x855ab8]
test ecx, ecx
je 0x65b65c
cmp byte [0x855a8a], al
jne 0x65b667
call fcn.00653890
mov ecx, dword [0x855ab8]
mov eax, dword [ecx]
push str.Error__u_in_WinHttpReadData._n
push 0x75c10c
push ecx
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x74835c]
call esi
add esp, 0xc
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
mov ecx, edi
call fcn.00659c00
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0067d681
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esp + 0x10]
neg eax
sbb eax, eax
add eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0067d681
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [0x855ab8]
test ecx, ecx
je 0x65b6da
cmp byte [0x855a8a], 0
jne 0x65b6e5
call fcn.00653890
mov ecx, dword [0x855ab8]
mov eax, dword [ecx]
push str.downloader_is_not_initialized
push ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x74835c]
call esi
sub esp, 0x10
xor eax, eax
mov ecx, esp
push eax
push 0x75c10c
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.0042fe00
push 0
push 0x13
mov ecx, edi
call fcn.00659ac0
mov ecx, dword [esp + 0x14]
mov eax, 3
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0067d681
mov esp, ebp
pop ebp
ret 0x10
Function at 0x65b750
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0xc], ecx
cmp byte [edi + 0x20], 0
je 0x65b824
cmp byte [edi + 0x28], 0
je 0x65b824
mov esi, dword [ebp + 0x18]
cmp esi, dword [ebp + 0x14]
mov dword [ebx], 0
cmova esi, dword [ebp + 0x14]
test esi, esi
jne 0x65b79a
lea eax, [esi + 2]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push esi
push 0
push dword [ecx]
call fcn.00690480
mov eax, dword [esp + 0x18]
add esp, 0xc
push ebx
push esi
push dword [eax]
push dword [edi + 0xb0]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x65b812
mov ecx, dword [0x855ab8]
test ecx, ecx
je 0x65b7d1
cmp byte [0x855a8a], al
jne 0x65b7dc
call fcn.00653890
mov ecx, dword [0x855ab8]
mov eax, dword [ecx]
push str.Error__u_in_WinHttpReadData._n
push 0x75c10c
push ecx
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x74835c]
call esi
add esp, 0xc
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
mov ecx, edi
call fcn.00659c00
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebx]
neg eax
sbb eax, eax
add eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [0x855ab8]
test ecx, ecx
je 0x65b837
cmp byte [0x855a8a], 0
jne 0x65b842
call fcn.00653890
mov ecx, dword [0x855ab8]
mov eax, dword [ecx]
push str.downloader_is_not_initialized
push ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x74835c]
call esi
sub esp, 0x10
xor eax, eax
mov ecx, esp
push eax
push 0x75c10c
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.0042fe00
push 0
push 0x13
mov ecx, edi
call fcn.00659ac0
pop edi
pop esi
mov eax, 3
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x65e200
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x82f084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
cmp byte [edi + 4], 0
jne 0x65e267
mov ecx, dword [0x855ab8]
test ecx, ecx
je 0x65e22d
cmp byte [0x855a8a], 0
jne 0x65e238
call fcn.00653890
mov ecx, dword [0x855ab8]
push str.Thread_is_not_initialized__so_it_cannot_run
mov eax, dword [ecx]
push 0x75c10c
push ecx
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x74835c]
call esi
add esp, 0xc
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067d681
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x24], 0
mov dword [edi + 0x34], 1
je 0x65e2b2
mov eax, dword [0x855ab8]
test eax, eax
je 0x65e286
cmp byte [0x855a8a], 0
jne 0x65e290
call fcn.00653890
mov eax, dword [0x855ab8]
mov esi, dword [eax]
push dword [edi + 0x38]
push str.thread___d__is_already_running._Closing_it_first
mov esi, dword [esi + 4]
mov ecx, esi
push eax
call dword [0x74835c]
call esi
add esp, 0xc
mov ecx, edi
call fcn.0065e550
lea eax, [ebp - 8]
push eax
push 4
push edi
push 0x65dff0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [edi + 0x24], eax
test eax, eax
jne 0x65e2f6
mov ecx, dword [0x855ab8]
test ecx, ecx
je 0x65e2e1
cmp byte [0x855a8a], al
jne 0x65e2ec
call fcn.00653890
mov ecx, dword [0x855ab8]
push str.failed_to_create_a_new_thread._Fatal_Error
jmp 0x65e23d
push eax
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
cmp eax, 0xffffffff
jne 0x65e35f
mov ecx, dword [0x855ab8]
test ecx, ecx
je 0x65e315
cmp byte [0x855a8a], 0
jne 0x65e320
call fcn.00653890
mov ecx, dword [0x855ab8]
mov eax, dword [ecx]
push str.thread_failed_to_resumed._fatal_error
push 0x75c10c
push ecx
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x74835c]
call esi
add esp, 0xc
push dword [edi + 0x24]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [edi + 0x24], 0
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067d681
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [edi + 0x38], eax
xor ecx, ebp
pop edi
mov al, 1
pop esi
call fcn.0067d681
mov esp, ebp
pop ebp
ret
Function at 0x65e550
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
cmp byte [ebx + 4], 0
je 0x65e6e6
lea eax, [ebx + 0xc]
mov dword [ebx + 0x34], 2
push eax
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov edi, dword [ebx + 0x28]
test edi, edi
je 0x65e667
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x74835c]
mov ecx, edi
call esi
mov eax, dword [ebx + 0x28]
xor ecx, ecx
cmp dword [eax + 8], 3
je 0x65e667
mov edx, eax
cmp dword [eax + 8], 5
je 0x65e667
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0x12c
jne 0x65e609
mov ecx, dword [0x855ab8]
test ecx, ecx
je 0x65e5ca
cmp byte [0x855a8a], 0
jne 0x65e5d8
call fcn.00653890
mov eax, dword [ebx + 0x28]
mov ecx, dword [0x855ab8]
mov esi, dword [ecx]
push dword [eax + 4]
push str.forcing_the_job___d__to_terminate.
mov esi, dword [esi + 0x14]
push ecx
mov ecx, esi
call dword [0x74835c]
call esi
mov edi, dword [ebx + 0x28]
add esp, 0xc
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x74835c]
mov ecx, edi
call esi
jmp 0x65e611
cmp ecx, 0x3e8
je 0x65e62d
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [ebx + 0x28]
mov edx, eax
mov ecx, dword [ebp - 4]
cmp dword [eax + 8], 3
jne 0x65e5a1
jmp 0x65e667
mov eax, dword [0x855ab8]
test eax, eax
je 0x65e63f
cmp byte [0x855a8a], 0
jne 0x65e64c
call fcn.00653890
mov edx, dword [ebx + 0x28]
mov eax, dword [0x855ab8]
mov esi, dword [eax]
push dword [edx + 4]
push str.job___d__is_still_not_terminated._Closing_the_thread_handle_now
mov esi, dword [esi + 0x14]
mov ecx, esi
push eax
call dword [0x74835c]
call esi
add esp, 0xc
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x65e6df
push 0x61a8
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov edi, eax
test edi, edi
je 0x65e6cf
mov ecx, dword [0x855ab8]
test ecx, ecx
je 0x65e69d
cmp byte [0x855a8a], 0
jne 0x65e6a8
call fcn.00653890
mov ecx, dword [0x855ab8]
mov esi, dword [ecx]
push edi
push dword [ebx + 0x38]
mov esi, dword [esi + 0x14]
push str.Forcing_the_thread___d__to_terminate_forcibly._Thread_seem_to_get_hanged._Error____d
push ecx
mov ecx, esi
call dword [0x74835c]
call esi
add esp, 0x10
push 0
push dword [ebx + 0x24]
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
push dword [ebx + 0x24]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x34], 3
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x65f450
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e3a60
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x82f084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ebx, [esi + 0x228]
mov ecx, ebx
call fcn.00658cd0
mov ecx, esi
call fcn.0065eda0
lea edi, [esi + 0x48c]
mov ecx, edi
call fcn.0065ecc0
lea eax, [esi + 0x4b4]
mov byte [esi + 0x2d8], 0
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteCriticalSection]
lea eax, [esi + 0x4d0]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteCriticalSection]
lea ecx, [esi + 0x510]
call fcn.00662d90
mov eax, dword [esi + 0x508]
add esi, 0x508
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00442110
push 0x40
push dword [esi]
call fcn.0067d913
add esp, 8
mov ecx, edi
call fcn.0065ecc0
lea eax, [edi + 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteCriticalSection]
mov edi, dword [ebp - 0x10]
lea ecx, [edi + 0x374]
call fcn.0065c970
mov eax, dword [edi + 0x36c]
lea esi, [edi + 0x36c]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00663500
push 0x20
push dword [esi]
call fcn.0067d913
add esp, 8
lea ecx, [edi + 0x348]
call fcn.0042fd70
lea ecx, [edi + 0x324]
call fcn.00452880
lea ecx, [edi + 0x31c]
call fcn.00452880
lea ecx, [edi + 0x2f8]
call fcn.0042fd70
lea ecx, [edi + 0x2e4]
call fcn.00456700
lea ecx, [edi + 0x2dc]
call fcn.0065f040
mov ecx, ebx
call fcn.006587f0
lea ecx, [edi + 0x218]
call fcn.00663110
lea ecx, [edi + 0x60]
call fcn.00663bf0
mov ecx, edi
call fcn.0065eda0
lea eax, [edi + 0x48]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteCriticalSection]
lea ecx, [edi + 0x30]
call fcn.0044d2d0
lea eax, [edi + 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteCriticalSection]
mov ecx, edi
call fcn.0044d2d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x667640
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70b828
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x82f084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebx + 0x568]
mov dword [ebp - 0x14], eax
lea eax, [ebx + 0x580]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp byte [ebx + 4], 0
jne 0x66769a
mov esi, 0xffffffd8
jmp 0x6677e5
cmp dword [ebx + 0x564], 4
je 0x6676e8
cmp dword [ebx + 0x564], 0x20
je 0x6676e8
cmp dword [ebx + 0x564], 8
je 0x6676e8
call fcn.006675c0
cmp dword [eax], 0
je 0x6676de
call fcn.006675c0
push str.PDM_is_either_running_already_or_closed
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x74835c]
call esi
add esp, 8
mov esi, 0x1e
jmp 0x6677e5
mov eax, dword [ebx + 0x2f8]
push ebx
mov esi, dword [eax]
mov ecx, esi
call dword [0x74835c]
lea ecx, [ebx + 0x2f8]
call esi
test al, al
jne 0x667722
call fcn.006675c0
cmp dword [eax], 0
je 0x6677d2
call fcn.006675c0
push str.Failed_to_generate_workflow
jmp 0x6677b8
mov ecx, ebx
call fcn.006679a0
push 8
lea edi, [ebx + 0x318]
call fcn.0067d692
add esp, 4
mov esi, eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], esi
push 0
push 0
push esi
push 0x629860
push 0
movq qword [esi], xmm0
push 0
mov dword [esi], 0x667830
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
jne 0x6677d7
push 8
push esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.0067d913
add esp, 8
call fcn.006675c0
cmp dword [eax], 0
je 0x6677a4
call fcn.006675c0
push str.Could_not_make_manager_thread
push str.PackageDownloadManager
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x24]
mov ecx, esi
call dword [0x74835c]
call esi
add esp, 0xc
call fcn.006675c0
cmp dword [eax], 0
je 0x6677d2
call fcn.006675c0
push str.Failed_to_run_the_thread_for_the_workflow
mov eax, dword [eax]
push str.PackageDownloadManager
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x24]
mov ecx, esi
call dword [0x74835c]
call esi
add esp, 0xc
or esi, 0xffffffff
jmp 0x6677e5
mov dword [ebx + 0x310], eax
test edi, edi
je 0x6677e3
mov dword [edi], eax
xor esi, esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x66c330
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 8
mov edi, ecx
call fcn.0067d692
add esp, 4
mov esi, eax
xorps xmm0, xmm0
mov dword [ebp - 4], esi
push 0
push 0
push esi
push 0x629860
push 0
movq qword [esi], xmm0
push 0
mov dword [esi], 0x66cdc0
mov dword [esi + 4], edi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
jne 0x66c387
push 8
push esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.0067d913
add esp, 8
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x29c], eax
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x677840
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70c7d8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x82f084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.00677980
add esp, 4
test al, al
jne 0x67789a
xor bl, bl
jmp 0x677923
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
mov ebx, dword [ebp - 0x30]
lea edi, [ebp - 0x40]
cmovae edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
add ebx, edx
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 7
cmovae edi, dword [ebp - 0x40]
xor eax, eax
mov word [ebp - 0x28], ax
mov eax, ebx
sub eax, edi
push eax
call fcn.0043a030
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
push ebx
push edi
call fcn.006776b0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.006a8efd
add esp, 8
test eax, eax
je 0x677919
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x677919
xor bl, bl
jmp 0x67791b
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.0042fbd0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x677953
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x677949
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x677970
push edx
push ecx
call fcn.0067d913
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0067d681
mov esp, ebp
pop ebp
ret
call fcn.00692c95
int3

Function at 0x677980
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x82f084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x408]
push eax
push 0
push 0x400
push 0x7831c8
mov dword [ebp - 0x408], 0
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x677a47
push 0x400
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.00690480
push 0x400
push dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push eax
call fcn.006a93b9
lea eax, [ebp - 0x404]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6779f6
sub eax, edx
mov ecx, esi
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.00430160
push 1
push 0x781a34
mov ecx, esi
call fcn.00441730
push 0xb
push str.AdobeGCInfo
mov ecx, eax
call fcn.00441730
push dword [ebp - 0x408]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067d681
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.0067d681
mov esp, ebp
pop ebp
ret
Function at 0x677d70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70c87b
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x82f084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x42c], 0
push eax
push 0
push 0x400
push 0x783198
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
je 0x677dc9
xor al, al
jmp 0x677ef5
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.00690480
push 0x400
push dword [ebp - 0x42c]
lea eax, [ebp - 0x410]
push eax
call fcn.006a93b9
lea eax, [ebp - 0x410]
mov dword [ebp - 0x418], 0
add esp, 0x18
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
lea edx, [eax + 1]
nop word [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x677e20
sub eax, edx
lea ecx, [ebp - 0x428]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00430160
push 1
push 0x781a34
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], 0
call fcn.00441730
push 5
push 0x782900
mov ecx, eax
call fcn.00441730
push 1
push 0x781a34
lea ecx, [ebp - 0x428]
call fcn.00441730
push 0xd
push str.AdobeGCClient
mov ecx, eax
call fcn.00441730
push dword [ebp - 0x42c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
push 0
cmovae eax, dword [ebp - 0x428]
push eax
mov dword [ebp - 0x42c], 0
call fcn.006a8fd3
mov edx, dword [ebp - 0x414]
add esp, 8
test eax, eax
sete bl
cmp edx, 0x10
jb 0x677ef3
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x677ee9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x677f0f
push edx
push ecx
call fcn.0067d913
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0067d681
mov esp, ebp
pop ebp
ret
call fcn.00692c95
int3
Function at 0x6b0448
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.006b00f9

Function at 0x6b0453
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.006b0283

Function at 0x6be38c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop ebp
ret
Function at 0x406ff0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a44d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5cfc24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.004ddea2
mov edi, eax
add esp, 4
test edi, edi
je 0x40708d
push 1
mov dword [ebp - 4], 0
call fcn.004dcad5
add esp, 4
mov dword [edi + 4], eax
jmp 0x40708f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.00402e10
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x4070ea
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x4070ea
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x407106
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x407129
cmp byte [ebp + 0xc], 0
je 0x407115
push esi
call fcn.004dcf6a
add esp, 4
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
test cl, 4
je 0x407135
mov esi, str.ios_base::badbit_set
jmp 0x407145
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.00407350
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.004045e0
push 0x5c9e10
lea eax, [ebp - 0x28]
push eax
call fcn.004e0edb
int3
Function at 0x410100
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50aeb0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x5cfc24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov edi, dword [ebp + 8]
lea ecx, [esi + 4]
mov eax, dword [edi]
mov dword [esi], eax
lea eax, [edi + 4]
push eax
call fcn.004031d0
mov eax, dword [edi + 0x1c]
add edi, 0x20
mov dword [esi + 0x1c], eax
add esi, 0x20
lea eax, [ebp - 0xd]
mov dword [ebp - 4], 0
push 8
mov dword [ebp - 0x2c], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.004ddea2
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], esi
mov edx, dword [ecx + 0x2c]
mov eax, dword [ecx + 0x30]
add eax, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
cmp edx, eax
je 0x41023a
mov eax, edx
mov edx, dword [esi + 0x10]
nop dword [eax]
mov ecx, dword [ecx + 0x28]
mov edi, dword [ebp + 8]
dec ecx
and ecx, eax
mov eax, dword [edi + 0x24]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x18], eax
lea eax, [edx + 1]
cmp dword [esi + 8], eax
ja 0x4101e3
push 1
mov ecx, esi
call fcn.004127b0
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x10]
dec ecx
and dword [esi + 0xc], ecx
add eax, dword [esi + 0xc]
and eax, ecx
lea edi, [eax*4]
mov eax, dword [esi + 4]
cmp dword [edi + eax], 0
jne 0x410215
push 0x254
call fcn.004ddea2
mov edx, dword [esi + 4]
add esp, 4
mov dword [edi + edx], eax
mov ecx, dword [esi + 4]
push dword [ebp - 0x18]
mov ecx, dword [ecx + edi]
call fcn.0040fe70
mov edx, dword [ebp - 0x14]
inc dword [esi + 0x10]
inc edx
mov ecx, dword [ebp + 8]
mov eax, edx
mov dword [ebp - 0x14], edx
mov edx, dword [esi + 0x10]
cmp eax, dword [ebp - 0x1c]
jne 0x4101c0
mov al, byte [ecx + 0x34]
mov ecx, dword [ebp - 0x20]
mov byte [ecx + 0x34], al
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4