joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6fd93c50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x24
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 4], 0xffffffeb
mov dword [esp], esi
call sym._GetWindowLongW_8
sub esp, 8
cmp ebx, 0x110
je 0x6fd93da0
cmp ebx, 0x40a
je 0x6fd93d44
cmp ebx, 0x4e
je 0x6fd93ca0
xor ebx, ebx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov edi, eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
mov eax, dword [eax + 8]
cmp eax, 0xffffff37
je 0x6fd93e45
cmp eax, 0xffffff38
jne 0x6fd93c91
mov dword [esp], esi
call sym._GetParent_4
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x470
mov dword [esp], eax
call sym._PostMessageW_16
lea eax, [edi + 0x1c]
sub esp, 0x10
mov dword [esp + 8], 2
mov dword [esp + 4], eax
mov eax, dword [edi + 0x18]
mov dword [esp], eax
call dword [sym.imp.setupapi.dll_SetupDiDestroyDriverInfoList]
lea eax, [ebp - 0x14]
sub esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], sym._FindDriverProc_4
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateThread_24
sub esp, 0x18
mov dword [0x6fd9c004], eax
jmp 0x6fd93c91
mov eax, dword [0x6fd9c004]
mov dword [esp], eax
call sym._CloseHandle_4
mov edx, dword [ebp + 0x10]
mov dword [0x6fd9c004], 0
sub esp, 4
test edx, edx
mov dword [esp], esi
je 0x6fd93e30
call sym._GetParent_4
sub esp, 4
mov dword [esp + 0xc], 0xcb
mov dword [esp + 8], 0
mov dword [esp + 4], 0x472
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
jmp 0x6fd93c8f
mov eax, dword [ebp + 0x14]
mov edi, dword [eax + 0x1c]
mov dword [esp + 4], 0xffffffeb
mov dword [esp], esi
mov dword [esp + 8], edi
call sym._SetWindowLongW_12
mov dword [edi + 0x14], esi
sub esp, 0xc
mov dword [esp], esi
call sym._GetParent_4
sub esp, 4
mov ebx, eax
call sym._CenterWindow
mov eax, dword [edi + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xc
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x7d0
mov dword [esp], esi
call sym._SendDlgItemMessageW_20
sub esp, 0x14
mov dword [esp + 4], 0xfffffff0
mov dword [esp], ebx
call sym._GetWindowLongW_8
sub esp, 8
and eax, 0xfff7ffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0xfffffff0
mov dword [esp], ebx
call sym._SetWindowLongW_12
sub esp, 0xc
jmp 0x6fd93c8f
call sym._GetParent_4
sub esp, 4
mov dword [esp + 0xc], 0xcc
jmp 0x6fd93d7c
mov eax, dword [0x6fd9c004]
test eax, eax
je 0x6fd93c91
mov dword [esp + 8], 1
mov ebx, 1
mov dword [esp + 4], 0
mov dword [esp], esi
call sym._SetWindowLongW_12
sub esp, 0xc
jmp 0x6fd93c91
Function at 0x6fd94c50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp + 4], 0xffffffeb
mov dword [esp], ebx
call sym._GetWindowLongW_8
sub esp, 8
cmp esi, 0x4e
je 0x6fd94d60
cmp esi, 0x110
jne 0x6fd94d4d
mov eax, dword [ebp + 0x14]
mov esi, dword [eax + 0x1c]
mov dword [esp + 4], 0xffffffeb
mov dword [esp], ebx
mov dword [esp + 8], esi
call sym._SetWindowLongW_12
sub esp, 0xc
mov dword [esp], ebx
call sym._GetParent_4
sub esp, 4
call sym._CenterWindow
mov dword [esp], ebx
call sym._GetParent_4
sub esp, 4
mov dword [esp + 4], 2
mov dword [esp], eax
call sym._GetDlgItem_8
sub esp, 8
mov edi, eax
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._ShowWindow_8
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], edi
call sym._EnableWindow_8
lea eax, [esi + 0x44]
sub esp, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xc
mov dword [esp + 4], 0x7d0
mov dword [esp], ebx
call sym._SendDlgItemMessageW_20
sub esp, 0x14
mov dword [esp + 0x10], 1
mov eax, dword [esi]
mov dword [esp + 8], 0x30
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x7db
mov dword [esp], ebx
call sym._SendDlgItemMessageW_20
sub esp, 0x14
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
cmp dword [eax + 8], 0xffffff38
jne 0x6fd94d4d
mov dword [esp], ebx
call sym._GetParent_4
sub esp, 4
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], 0x470
mov dword [esp], eax
call sym._PostMessageW_16
sub esp, 0x10
jmp 0x6fd94d4d
Function at 0x6fd94f80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x24c
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 4], 0xffffffeb
mov dword [esp], esi
call sym._GetWindowLongW_8
sub esp, 8
cmp ebx, 0x110
je 0x6fd95110
mov edi, eax
cmp ebx, 0x40b
je 0x6fd95060
cmp ebx, 0x4e
je 0x6fd94fd2
xor ebx, ebx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
xor ebx, ebx
mov eax, dword [eax + 8]
cmp eax, 0xffffff37
je 0x6fd951e0
cmp eax, 0xffffff38
jne 0x6fd94fc6
mov dword [esp], esi
call sym._GetParent_4
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x470
mov dword [esp], eax
call sym._PostMessageW_16
lea eax, [ebp - 0x23c]
sub esp, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], sym._InstallDriverProc_4
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateThread_24
sub esp, 0x18
mov dword [0x6fd9c004], eax
jmp 0x6fd94fc6
mov eax, dword [0x6fd9c004]
mov dword [esp], eax
call sym._CloseHandle_4
mov edx, dword [ebp + 0x10]
mov dword [0x6fd9c004], 0
sub esp, 4
test edx, edx
jne 0x6fd951a0
lea ebx, [edi + 0x1c]
mov eax, dword [edi + 0x18]
xor ecx, ecx
mov edx, ebx
call sym._SetFailedInstall
lea eax, [ebp - 0x23c]
mov dword [esp + 4], ebx
mov dword [ebp - 0x23c], 0x22c
mov dword [esp + 8], eax
mov eax, dword [edi + 0x18]
mov dword [esp], eax
call dword [sym.imp.setupapi.dll_SetupDiGetDeviceInstallParamsW]
sub esp, 0xc
test eax, eax
je 0x6fd951a0
test dword [ebp - 0x238], 0x180
mov dword [esp], esi
jne 0x6fd95212
call sym._GetParent_4
sub esp, 4
mov dword [esp + 0xc], 0xcf
mov dword [esp + 8], 0
mov dword [esp + 4], 0x472
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
jmp 0x6fd94fc4
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax + 0x1c]
mov dword [esp + 4], 0xffffffeb
mov dword [esp], esi
mov dword [esp + 8], ebx
add ebx, 0x44
call sym._SetWindowLongW_12
mov dword [ebx - 0x30], esi
sub esp, 0xc
mov dword [esp], esi
call sym._GetParent_4
sub esp, 4
mov edi, eax
call sym._CenterWindow
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xc
mov dword [esp + 4], 0x7d0
mov dword [esp], esi
call sym._SendDlgItemMessageW_20
sub esp, 0x14
mov dword [esp + 4], 0xfffffff0
mov dword [esp], edi
call sym._GetWindowLongW_8
sub esp, 8
and eax, 0xfff7ffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0xfffffff0
mov dword [esp], edi
call sym._SetWindowLongW_12
sub esp, 0xc
jmp 0x6fd94fc4
mov dword [esp], esi
xor ebx, ebx
call sym._GetParent_4
sub esp, 4
mov dword [esp + 0xc], 0xcd
mov dword [esp + 8], 0
mov dword [esp + 4], 0x472
mov dword [esp], eax
call sym._SendMessageW_16
mov eax, ebx
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [0x6fd9c004]
test eax, eax
je 0x6fd94fc6
mov dword [esp + 8], 1
mov ebx, 1
mov dword [esp + 4], 0
mov dword [esp], esi
call sym._SetWindowLongW_12
sub esp, 0xc
jmp 0x6fd94fc6
call sym._GetParent_4
sub esp, 4
mov dword [esp + 0xc], 0xce
jmp 0x6fd950e6
Function at 0x6fd95d80
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_InstallSelectedDevice___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], str.newdev.dll
mov dword [ebp - 0x40], str.InstallSelectedDevice
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4

Function at 0x6fd95de0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_InstallWindowsUpdateDriver___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], str.newdev.dll
mov dword [ebp - 0x40], str.InstallWindowsUpdateDriver
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4

Function at 0x6fd95e40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 0x50]
sub esp, 0x5c
mov dword [esp], str.WARNING:_calling_stub_RollbackDriver___n
call sym._DbgPrint
xor eax, eax
mov ecx, 0x12
mov dword [ebp - 0x58], 0x80000100
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [esp], eax
mov dword [ebp - 0x44], str.newdev.dll
mov dword [ebp - 0x40], str.RollbackDriver
mov dword [ebp - 0x48], 2
call sym._RtlRaiseException_4
Function at 0x6fd97c50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea esi, [ebp + 0xc]
sub esp, 0x10
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], 0x6fd9b0bc
call sym._fwrite
mov eax, dword [ebp + 8]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll_vfprintf]
call sym._abort
lea esi, [esi]
Function at 0x43898e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x43899d
pop dword [ebp - 0x2c]
mov eax, 0x43899d
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x5a889aa3
add dword [ebp - 0x3c], 0xf3c9aaa8
mov dword [ebp - 0x38], 0x4277edc7
add dword [ebp - 0x38], 0xefbb5e7e
mov dword [ebp - 0x34], 0xb2b761aa
sub dword [ebp - 0x34], 0x666b1d7c
mov dword [ebp - 0x30], 0xf6ac6310
sub dword [ebp - 0x30], 0xf6ac6310
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xe8912974
add dword [ebp - 0x3c], 0x8be13fe2
mov dword [ebp - 0x38], 0x6bd3c132
add dword [ebp - 0x38], 0xd598a043
mov dword [ebp - 0x34], 0xd692ad37
sub dword [ebp - 0x34], 0x732340cb
mov dword [ebp - 0x30], 0x7301c977
sub dword [ebp - 0x30], 0x7301c977
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x6466c
push 0
call eax
mov ecx, 0x3e32a062
sub ecx, 0x3e324640
xor edx, edx
add edx, eax
mov ebx, 0x4d3800
add ebx, dword [ebp - 0x2c]
mov edi, 0x2c774c9d
xor dword [ebp - 0x1c], edx
mov esi, dword [ebx]
add dword [ebp - 0xc], eax
add esi, edi
mov dword [edx], esi
mov dword [ebp - 0x1c], 0x457bedd1
add edx, 4
add ebx, 4
loop 0x438aa6
add eax, 0x80e8a775
add eax, 0x7f18b3e6
mov ebx, eax
add eax, 0x188bb708
sub eax, 0x188bb703
mov ecx, 0x400000
add ecx, dword [ebp - 0x2c]
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.0043898e
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.0043898e
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.0043898e
cmp dword [0x4cb41c], 0xffffffff
pop ecx
jne 0x4748a4
push 0x4b9024
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.0043898e
push 0x4a6680
call fcn.0043898e
or dword [ebp - 4], 0xffffffff
mov dword [esp], 0x4cb41c
call fcn.0043898e
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.0043898e
test al, al
je 0x474998
push str.LogSession
lea ecx, [ebp - 0x24c]
call fcn.0043898e
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.0043898e
mov esi, eax
push str.IE_is_protected_mode_
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call fcn.0043898e
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.0043898e
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.0043898e
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.0043898e
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.0043898e
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.0043898e
and dword [ebp - 4], 0
push esi
call fcn.0048844b
mov esi, 0x4b9420
lea ecx, [ebp - 0x28]
push esi
call fcn.0043898e
or edi, 0xffffffff
jmp 0x4764d4
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0043898e
push eax
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0043898e
push ecx
push 0x4b9428
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0043898e
cmp eax, edi
je 0x476477
push ecx
mov esi, 0x4b9428
lea ecx, [ebp - 0x40]
push esi
call fcn.0043898e
push eax
push 0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x40]
call fcn.0043898e
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.0043898e
push edi
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.0043898e
inc eax
lea ecx, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0043898e
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.0043898e
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.0043898e
push esi
mov ecx, dword [eax]
add ecx, 0x28
call fcn.0043898e
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.0043898e
add eax, 2
lea ecx, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0043898e
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.0043898e
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.0043898e
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.0043898e
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.0043898e
mov byte [ebp - 4], 5
mov ecx, eax
mov dword [esp], 0x4b9560
call fcn.0043898e
push eax
lea ecx, [ebp - 0x82c]
mov dword [ebp - 0x82c], ebx
mov dword [ebp - 0x81c], ebx
mov dword [ebp - 0x818], ebx
call fcn.0043898e
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.0043898e
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.0043898e
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.0043898e
mov eax, esi
call fcn.0049f9de
ret