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

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x10], edi
jne 0x1002256a
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x10], eax
test eax, eax
je 0x10022580
cmp dword [esi + 0x14], edi
jne 0x10022588
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x14], eax
test eax, eax
jne 0x10022588
pop edi
mov eax, 0x80004005
pop esi
ret
pop edi
mov ecx, esi
pop esi
jmp 0x10022597
mov edi, edi
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0xc], ebx
jne 0x100225ee
lea edi, [esi + 8]
push edi
push 0x10022a20
push 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x100225e0
cmp dword [edi], ebx
je 0x100225e0
push ebx
push 4
push esi
push 0x10022a20
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x100225e7
push dword [edi]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [edi], ebx
mov eax, 0x80004005
jmp 0x1002260c
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x7d0
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 0x1c], ebx
jne 0x1002260a
mov ecx, esi
call fcn.1002266d
jmp 0x100225e0
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x10024c11
Capabilities:
Query environment variable

Disassembly:
push 0x220
mov eax, 0x100170cf
call fcn.1000e0b5
mov edi, ecx
mov ebx, dword [ebp + 8]
mov esi, 0x20019
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, eax
call fcn.1001f70a
test eax, eax
je 0x10024c40
mov esi, 0x20119
and dword [ebp - 0x220], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x220]
push eax
push esi
push ecx
mov edx, 0x10003ce0
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1001e786
test eax, eax
jne 0x10024d51
push 0x208
push eax
lea eax, [ebp - 0x21c]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x224], 0x206
lea eax, [ebp - 0x224]
mov edx, ebx
push eax
lea eax, [ebp - 0x21c]
push eax
push ecx
push ecx
mov ecx, dword [ebp - 0x220]
call fcn.1001f5c6
test eax, eax
jne 0x10024d51
mov word [ebp - 0x16], ax
call sub.ntdll.dll_RtlIsMultiUsersInSessionSku
test al, al
je 0x10024d26
lea ecx, [ebp - 0x22c]
call fcn.10014c61
push 0x104
push edi
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x22c]
call fcn.1001489c
push eax
call dword [sym.imp.profapi.dll_Ordinal_103]
mov esi, eax
test esi, esi
jns 0x10024d19
mov ecx, dword [ebp + 4]
mov edx, 0x187
push esi
push 0x10003c98
call fcn.10019a0c
lea ecx, [ebp - 0x22c]
call fcn.100130c8
lea ecx, [ebp - 0x220]
call fcn.10024bf4
mov eax, esi
jmp 0x10024d61
lea ecx, [ebp - 0x22c]
call fcn.100130c8
jmp 0x10024d42
mov esi, 0x104
lea eax, [ebp - 0x21c]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x10024d51
cmp eax, esi
jae 0x10024d51
lea ecx, [ebp - 0x220]
call fcn.10024bf4
xor eax, eax
jmp 0x10024d61
lea ecx, [ebp - 0x220]
call fcn.10024bf4
mov eax, 0x80004005
call fcn.1000e052
ret 0xc
Function at 0x10026ccd
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x1002d150]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], 0
je 0x10026d46
lea eax, [ebp + 0x14]
mov edx, 0x200
push eax
push dword [ebp + 0x10]
lea ecx, [ebp - 0x404]
call fcn.1001c049
test eax, eax
js 0x10026d46
push edi
lea ecx, [ebp - 0x404]
call fcn.1001ecba
mov edi, eax
lea eax, [ebp - 0x408]
push 0
push eax
add edi, edi
lea eax, [ebp - 0x404]
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10026d45
mov eax, dword [ebp - 0x408]
sub eax, edi
neg eax
sbb eax, eax
and esi, eax
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000dba0
leave
ret

Function at 0x10026d5c
Capabilities:
Delete file
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor eax, eax
mov ebx, ecx
push eax
push pe_nt_image_headers32
push 2
push eax
push eax
push 0x40000000
push dword [ebp + 8]
mov esi, 0x80004005
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10026dc9
push 0
lea eax, [ebp - 4]
push eax
push 2
push 0x100053a4
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10026db5
cmp dword [ebp - 4], 2
jne 0x10026db5
push edi
mov ecx, ebx
call fcn.100252d1
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x10026dc9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x5fa008], 0x8088405
inc edx
mov dword [ebx + 0x5fa008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cf00
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cf31
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf19
add dl, dl
jne 0x41cf3c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf8d
xor eax, eax
add dl, dl
jne 0x41cf49
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d02a
add dl, dl
jne 0x41cf58
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf63
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf6e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf79
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cf83
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf28
mov eax, 1
add dl, dl
jne 0x41cf9b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf92
sub eax, ebx
mov ebx, 1
jne 0x41cfd9
mov ecx, 1
add dl, dl
jne 0x41cfbf
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cfca
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfb6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cff0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cffb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfe7
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d04b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cf28
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f04c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x5de53a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f09b
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f0ba
mov ecx, edx
add ecx, ebx
jmp 0x41f0ba
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f0ba
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f12c
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f115
test esi, esi
jbe 0x41f12c
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f107
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f12c
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f0e4
jmp 0x41f12c
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f12c
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5de541
ret
Function at 0x420284
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x5df89f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4202bf
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4202d8
lea eax, [ebp - 0x10]
mov edx, dword [0x5fc348]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4202eb
lea eax, [ebp - 0x10]
mov edx, dword [0x5fc348]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4202f7
adc edx, 0
mov edx, dword [edx*4 + 0x5fb178]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x420471
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420464
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420464
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420464
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420464
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420402
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420402
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420402
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420402
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420464
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420464
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420464
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420464
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420464
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420489
inc ebx
cmp ebx, 0x19
jne 0x4202b1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5df8a6
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x41202b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x41203a
pop dword [ebp - 0xc]
mov eax, 0x8626e634
sub eax, 0x85e5c5fa
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x5a129eb9
add dword [ebp - 0x1c], 0xf43fa692
mov dword [ebp - 0x18], 0x8abc7138
add dword [ebp - 0x18], 0xa776db0d
mov dword [ebp - 0x14], 0xa9241114
add dword [ebp - 0x14], 0xa328331a
mov dword [ebp - 0x10], 0xe01f1309
sub dword [ebp - 0x10], 0xe01f1309
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x45e899c2
add eax, 0xba61d6ea
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xf48dd7c2
sub dword [ebp - 0x1c], 0x801b6e6c
mov dword [ebp - 0x18], 0x1a7e51df
add dword [ebp - 0x18], 0x26ee0f96
mov dword [ebp - 0x14], 0xb0524490
sub dword [ebp - 0x14], 0x4ce2d824
mov dword [ebp - 0x10], 0xcdbeab3d
sub dword [ebp - 0x10], 0xcdbeab3d
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x5efbb
push 0
call eax
mov ecx, 0x56574281
sub ecx, 0x5656ff04
mov edx, eax
mov ebx, 0x7212487c
add ebx, 0x8e3aef84
add ebx, dword [ebp - 0xc]
mov edi, 0x5d7b8ebc
add edi, 0xb58a9f5a
mov esi, dword [ebx]
xor dword [ebp - 4], 0xdf10cf35
sub esi, edi
sub dword [ebp - 4], edx
mov dword [edx], esi
add dword [ebp - 4], 0x12938ec
add edx, 0x13e7acef
sub edx, 0x13e7aceb
add ebx, 0xaea271a3
add ebx, 0x515d8e61
loop 0x412157
add eax, 0x100c7
mov ebx, eax
add eax, 0x79fa3f8c
sub eax, 0x79fa3f87
mov ecx, 0x495a6836
add ecx, 0xb6e597ca
add ecx, dword [ebp - 0xc]
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.0041202b
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.0041202b
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.0041202b
cmp dword [0x4cb41c], 0xffffffff
pop ecx
jne 0x4748a4
push 0x4b9024
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.0041202b
push 0x4a6680
call fcn.0041202b
or dword [ebp - 4], 0xffffffff
mov dword [esp], 0x4cb41c
call fcn.0041202b
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.0041202b
test al, al
je 0x474998
push str.LogSession
lea ecx, [ebp - 0x24c]
call fcn.0041202b
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.0041202b
mov esi, eax
push str.IE_is_protected_mode_
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call fcn.0041202b
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.0041202b
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.0041202b
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.0041202b
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.0041202b
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.0041202b
and dword [ebp - 4], 0
push esi
call fcn.0048844b
mov esi, 0x4b9420
lea ecx, [ebp - 0x28]
push esi
call fcn.0041202b
or edi, 0xffffffff
jmp 0x4764d4
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0041202b
push eax
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041202b
push ecx
push 0x4b9428
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0041202b
cmp eax, edi
je 0x476477
push ecx
mov esi, 0x4b9428
lea ecx, [ebp - 0x40]
push esi
call fcn.0041202b
push eax
push 0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x40]
call fcn.0041202b
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.0041202b
push edi
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.0041202b
inc eax
lea ecx, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041202b
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.0041202b
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.0041202b
push esi
mov ecx, dword [eax]
add ecx, 0x28
call fcn.0041202b
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.0041202b
add eax, 2
lea ecx, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0041202b
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.0041202b
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.0041202b
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.0041202b
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.0041202b
mov byte [ebp - 4], 5
mov ecx, eax
mov dword [esp], 0x4b9560
call fcn.0041202b
push eax
lea ecx, [ebp - 0x82c]
mov dword [ebp - 0x82c], ebx
mov dword [ebp - 0x81c], ebx
mov dword [ebp - 0x818], ebx
call fcn.0041202b
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.0041202b
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.0041202b
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.0041202b
mov eax, esi
call fcn.0049f9de
ret