joyce8/EMBER2024-capa huggingface dataset:
Function at 0x470be1
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x60c9f5
call fcn.0060bcd8
push ecx
push esi
push edi
xor esi, esi
xor eax, eax
inc esi
mov edi, ecx
push esi
push eax
push eax
push dword [edi]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x470c50
push esi
push 0
push dword [edi]
push str.IEXPLORE.EXE
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x470c50
lea ecx, [ebp - 0x10]
call fcn.0046fb48
and dword [ebp - 4], 0
sub esp, 0xc
mov edx, dword [edi]
mov ecx, dword [ebp - 0x10]
call fcn.0046f01a
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
mov esi, eax
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x470e1c
Capabilities:
Get file size

Disassembly:
mov eax, 0x610e47
call fcn.0060bcd8
sub esp, 0x20
push ebx
push esi
push edi
mov ebx, edx
mov edi, ecx
xor edx, edx
lea ecx, [ebp - 0x14]
call fcn.0040afda
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jle 0x470ea2
cmp dword [eax - 4], 1
jle 0x470e5b
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
call fcn.00406af0
mov eax, dword [ebp - 0x14]
mov ecx, eax
call fcn.00403ffd
mov esi, eax
test esi, esi
je 0x470e9f
mov edx, dword [esi]
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call dword [edx + 0x18]
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x470e7f
mov eax, dword [eax]
push eax
mov ecx, edi
call fcn.004060f8
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004044ec
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov eax, dword [ebp - 0x14]
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x470f0d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
je 0x470f06
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
push ecx
push ecx
addsd xmm0, qword [eax*8 + 0x6a04c0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x6a0308]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str._0.2f_MB
push ebx
call fcn.00406cc8
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4733ee
Capabilities:
Check if file exists
Delete file

Disassembly:
mov eax, 0x6110fe
call fcn.0060bcd8
mov ecx, dword [ecx]
sub esp, 0xa4
cmp dword [ecx - 0xc], 0
push ebx
push esi
push edi
mov esi, edx
je 0x473547
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x473547
push 3
lea eax, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xac], eax
call fcn.00408f48
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
push dword [ebp - 0xac]
call fcn.00413e4d
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 2
cmp dword [ebp - 0xac], eax
je 0x473466
push dword [ebp - 0xac]
call fcn.005f0063
pop ecx
mov dword [ebp - 0x28], 0x69ce5c
call fcn.00404f47
push eax
lea ecx, [ebp - 0x1c]
call fcn.004065d8
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
push dword [esi]
call fcn.004060f8
mov eax, dword [ebp - 0x20]
cmp dword [ebp + 0xc], 0
push dword [esi]
cmovne eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4734ca
push str.file_exists_already__delete
push 0x6c8880
call fcn.0048de14
pop ecx
pop ecx
push dword [esi]
call ebx
cmp dword [ebp + 0x10], 0
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
jne 0x4734dd
push 0x12c
jmp 0x4734e0
push dword [ebp + 0x10]
call fcn.00473080
mov edi, eax
pop ecx
push dword [esi]
test edi, edi
je 0x473509
call ebx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4734f9
mov dword [eax], edi
mov esi, 0x109
cmp edi, 0x2a
lea eax, [esi - 0xf]
cmovne esi, eax
jmp 0x47351a
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x473518
push 0x35
pop esi
jmp 0x47351a
xor esi, esi
cmp dword [ebp - 0x18], 0
je 0x47352d
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00404ea9
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00404ea9
mov eax, esi
jmp 0x47354a
push 0x33
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47357d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [edi], esi
je 0x4735ff
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 8]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 8], 1
je 0x4735b1
cmp dword [ebp - 8], 2
jne 0x4735ff
mov ecx, dword [ebp + 0xc]
call fcn.00406271
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
shr eax, 1
inc eax
push eax
call fcn.0040682a
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
push ecx
push eax
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 8]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4735ff
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, dword [ebp - 0xc]
shr eax, 1
push 0xffffffffffffffff
mov word [ecx + eax*2], dx
mov ecx, dword [ebp + 0xc]
call fcn.00408f1c
xor esi, esi
inc esi
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4742bf
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
cmp dword [eax - 0xc], 0
jne 0x4742d2
mov eax, 0x13a
jmp 0x47432f
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4742e4
mov eax, 0x13b
jmp 0x47432f
push dword [esi + 0x20]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
call fcn.0046f13e
pop ecx
test eax, eax
je 0x4742fb
xor eax, eax
jmp 0x47432f
push dword [esi + 0x20]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
call fcn.0046eead
pop ecx
test eax, eax
jne 0x4742f7
mov edx, dword [esi + 0x10]
push ecx
push dword [esi + 0x20]
mov ecx, dword [esi + 0xc]
push eax
call fcn.0046e601
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xfffffec7
add eax, 0x139
pop esi
ret 4

Function at 0x474408
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x60d4ac
call fcn.0060bcd8
sub esp, 0x18
push ebx
push esi
push edi
push ecx
xor esi, esi
mov dword [ebp - 0x20], str.driverupdate.exe
push ecx
mov edi, 0x69cfe8
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x24], edi
call fcn.00416a2f
pop ecx
pop ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
push edi
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.0040aec1
pop ecx
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x18]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
call fcn.00404ea9
add bl, 1
jne 0x47447b
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov edi, dword [ebp + eax*4 - 0x24]
test edi, edi
jne 0x47443e
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x478a61
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x6118fe
call fcn.0060bcd8
sub esp, 0x230
mov eax, dword [ecx + 0xb8]
push ebx
push esi
push edi
mov edi, dword [eax + 4]
xor ebx, ebx
sub edi, dword [eax]
sar edi, 2
mov dword [ebp - 0x30], eax
test edi, edi
jle 0x478c24
add ecx, 0xa4
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x478aab
mov eax, dword [ecx + ebx*4]
jmp 0x478aad
xor eax, eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], eax
push ecx
mov ecx, eax
call fcn.00490541
and dword [ebp - 4], 0
call fcn.00404f47
push eax
lea ecx, [ebp - 0x14]
call fcn.004065d8
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x24]
push eax
push esi
call fcn.004728fd
test eax, eax
jne 0x478c01
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push eax
call fcn.00490561
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x134]
mov eax, dword [eax]
push 3
mov dword [ebp - 0x138], ecx
lea ecx, [ebp - 0x138]
push eax
call fcn.004066f6
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
push dword [ebp - 0x138]
call fcn.00406173
lea eax, [ebp - 0x134]
cmp dword [ebp - 0x138], eax
je 0x478b45
push dword [ebp - 0x138]
call fcn.005f0063
pop ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
call fcn.00472f2a
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x478bf6
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
push eax
call fcn.0046c59f
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x238]
mov eax, dword [eax]
push 3
mov dword [ebp - 0x23c], ecx
lea ecx, [ebp - 0x23c]
push eax
call fcn.004066f6
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
push dword [ebp - 0x23c]
call fcn.00406173
lea eax, [ebp - 0x238]
cmp dword [ebp - 0x23c], eax
je 0x478bc9
push dword [ebp - 0x23c]
call fcn.005f0063
pop ecx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00404ea9
mov edx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x10]
push 1
push 0
call fcn.0046e601
mov ecx, dword [ebp - 0x20]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00404ea9
mov eax, dword [ebp - 0x30]
inc ebx
cmp ebx, edi
jl 0x478a98
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x479eb9
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x479eef
push 0x3e8
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x479ee2
push 0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 8], 0
xor eax, eax
inc eax
pop esi
ret 4
Function at 0x47a1d1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
cmp dword [edi], esi
je 0x47a246
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x47a246
cmp dword [edi + 8], esi
je 0x47a20a
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x47a205
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], esi
cmp dword [edi + 8], esi
jne 0x47a246
mov eax, dword [edi]
push 0xc
mov dword [ebp + 8], eax
call fcn.00430c2b
pop ecx
test eax, eax
je 0x47a23a
mov ecx, dword [ebp + 8]
push esi
push esi
push eax
push 0x47a3d8
push esi
push esi
mov dword [eax], ecx
mov dword [eax + 8], esi
mov dword [eax + 4], ebx
call fcn.005f3950
add esp, 0x18
mov esi, eax
xor eax, eax
mov dword [edi + 8], esi
test esi, esi
setne al
jmp 0x47a248
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x47a601
Capabilities:
Delete file

Disassembly:
mov eax, 0x60ff3d
call fcn.0060bcd8
sub esp, 0x18
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
call fcn.00404f47
push eax
lea ecx, [ebp - 0x18]
call fcn.004065d8
push edi
push str.GetPacketData__d
push 0x6c8880
mov dword [ebp - 4], edi
mov ebx, edi
call fcn.0048de14
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0047a71a
mov esi, eax
push esi
push str.GetPacketData_return:_d
push 0x6c8880
mov dword [ebp - 0x20], esi
call fcn.0048de14
add esp, 0xc
test esi, esi
mov esi, dword [ebp - 0x18]
jne 0x47a67b
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x1c], 1
jmp 0x47a6e4
push 0x24
call fcn.00430c2b
pop ecx
test eax, eax
je 0x47a692
mov ecx, eax
call fcn.0042ae2d
mov ebx, eax
jmp 0x47a694
mov ebx, edi
test ebx, ebx
je 0x47a6e4
push str.Extract...
push 0x6c8880
call fcn.0048de14
mov eax, dword [ebx]
pop ecx
pop ecx
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x20]
push ebx
call dword [eax]
xor ecx, ecx
mov edi, eax
test edi, edi
sete cl
push ecx
push str.Extract_return:_d
push 0x6c8880
call fcn.0048de14
add esp, 0xc
test edi, edi
je 0x47a6db
xor edi, edi
jmp 0x47a6fd
mov dword [ebp - 0x14], 1
xor edi, edi
cmp dword [esi - 0xc], edi
je 0x47a6f0
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test ebx, ebx
je 0x47a6fa
mov eax, dword [ebx]
push ebx
call dword [eax + 0xc]
mov edi, dword [ebp - 0x14]
lea ecx, [esi - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47a805
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
lea eax, [ebp - 0x208]
push ebx
push esi
push edi
push 0x208
xor esi, esi
mov ebx, ecx
push esi
push eax
call fcn.005e1720
add esp, 0xc
lea eax, [ebp - 0x208]
push 0x104
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x47a887
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadImageToMem_CreateFile_error:_d__path:_ws
push 0x6c8880
call fcn.0048de14
add esp, 0x10
jmp 0x47a8fb
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
push eax
push esi
push 2
push esi
push edi
mov dword [ebx + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebx], eax
test edi, edi
jne 0x47a8ba
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileByMem_CreateFileMapping_error:_d__path:_ws
jmp 0x47a8e2
push dword [ebx + 8]
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx + 4], eax
test eax, eax
jne 0x47a8f1
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileByMem_MapViewOfFile_error:_d__path:_ws
push 0x6c8880
call fcn.0048de14
add esp, 0x10
jmp 0x47a8f4
xor esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47bcb7
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x611c08
call fcn.0060bcd8
push ecx
push ecx
push esi
push edi
call fcn.00404f47
push eax
lea ecx, [ebp - 0x10]
call fcn.004065d8
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.0047bb9f
mov edi, eax
test edi, edi
je 0x47bd7c
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
call fcn.00406173
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x10]
push ecx
mov edi, esp
mov dword [ebp + 8], edi
lea eax, [esi - 0x10]
push eax
call fcn.004067cf
add eax, 0x10
mov dword [edi], eax
pop ecx
mov byte [ebp - 4], 0
call fcn.0047b2da
mov edi, eax
test edi, edi
je 0x47bd7f
mov eax, dword [0x6c8ccc]
mov ecx, dword [esi - 0xc]
cmp ecx, dword [eax - 0xc]
jl 0x47bd7f
lea eax, [ebp - 0x10]
mov ecx, 0x6c8ccc
push eax
call fcn.00406123
push str.product_tag_cmpc_ch.tag
lea ecx, [ebp - 0x10]
call fcn.00469744
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47bd70
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x47bd70
mov dword [0x6c8cc8], 0x12
jmp 0x47bd7f
mov dword [0x6c8cc8], 0x65
jmp 0x47bd7f
mov esi, dword [ebp - 0x10]
lea ecx, [esi - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x47cbfe
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x611bba
call fcn.0060bcd8
push ecx
push esi
push edi
xor edi, edi
xor esi, esi
push str.DownLoadFileFromAdder
inc edi
push 0x6c8880
mov dword [ebp - 4], edi
call fcn.0048de14
push 0x12c
push esi
push esi
lea edx, [ebp + 0xc]
lea ecx, [ebp + 8]
call fcn.004733ee
add esp, 0x14
test eax, eax
jne 0x47cc49
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
cmovne esi, edi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00404ea9
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x47d498
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x611de5
call fcn.0060bcd8
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 4], 1
xor ebx, ebx
mov edi, dword [ebp + 8]
add edi, 0xfffffff0
push edi
call fcn.004067cf
pop ecx
mov dword [ebp - 0x14], eax
lea edx, [eax + 0x10]
mov dword [ebp - 0x18], edx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0040b0eb
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00404ea9
test esi, esi
je 0x47d528
push ecx
mov esi, esp
mov dword [ebp - 0x10], esp
push edi
mov dword [ebp - 0x1c], esi
call fcn.004067cf
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 3
mov esi, esp
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esi
push eax
call fcn.004067cf
add eax, 0x10
mov dword [esi], eax
pop ecx
mov byte [ebp - 4], 2
call fcn.0047cbfe
pop ecx
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x14]
call fcn.00404ea9
mov ecx, edi
call fcn.00404ea9
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47d9d8
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x611ea9
call fcn.0060bcd8
mov eax, dword [0x6c882c]
sub esp, 0x18
cmp dword [eax - 0xc], 0
push ebx
push esi
push edi
mov ebx, edx
mov edi, ecx
je 0x47da07
cmp dword [0x6c87f8], 4
je 0x47da07
xor eax, eax
jmp 0x47dbbd
call fcn.00404f47
push eax
lea ecx, [ebp - 0x1c]
call fcn.004065d8
and dword [ebp - 4], 0
call fcn.00404f47
push eax
lea ecx, [ebp - 0x18]
call fcn.004065d8
mov byte [ebp - 4], 1
mov eax, dword [0x6c87f8]
mov dword [ebp - 0x24], 1
test eax, eax
je 0x47db23
cmp eax, 5
je 0x47db23
cmp eax, 4
je 0x47db23
cmp eax, 3
je 0x47db3a
push str.http:__dubacdn.cmcmcdn.com_sem_installer_ald__d.png
lea ecx, [ebp - 0x14]
call fcn.00406173
mov byte [ebp - 4], 2
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47daf5
call fcn.00404f47
push eax
lea ecx, [ebp - 0x10]
call fcn.004065d8
mov byte [ebp - 4], 3
call fcn.00404f47
push eax
lea ecx, [ebp - 0x20]
call fcn.004065d8
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x10]
mov ecx, ebx
call fcn.0047d555
pop ecx
lea ecx, [ebp - 0x20]
call fcn.0047cc71
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
push 0
push esi
call fcn.0040a98a
cmp eax, 0xffffffff
je 0x47dad1
mov dword [0x6c8804], 1
jmp 0x47dade
push str.http:__dubacdn.cmcmcdn.com_sem_installer_ald2__d.png
lea ecx, [ebp - 0x14]
call fcn.004060f8
lea ecx, [esi - 0x10]
call fcn.00404ea9
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
push edi
push dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
call fcn.00406cc8
add esp, 0xc
lea ecx, [ebp - 0x18]
push str.110.png
call fcn.004060f8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
jmp 0x47db3a
lea edx, [ebp - 0x1c]
mov ecx, edi
call fcn.0047d968
push str.100.png
lea ecx, [ebp - 0x18]
call fcn.004060f8
mov eax, dword [ebx]
sub eax, 0x10
push eax
call fcn.004067cf
add eax, 0x10
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
mov esi, dword [ebp - 0x18]
push dword [esi - 0xc]
push esi
call fcn.00406668
push ecx
mov edi, esp
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x24], eax
call fcn.004067cf
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 6
mov edi, esp
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp - 0x20]
add ebx, 0xfffffff0
push ebx
call fcn.004067cf
add eax, 0x10
mov dword [edi], eax
pop ecx
mov byte [ebp - 4], 5
call fcn.0047d498
pop ecx
pop ecx
mov ecx, ebx
mov edi, eax
call fcn.00404ea9
lea ecx, [esi - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x24]
call fcn.00404ea9
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4828e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x611da1
call fcn.0060bcd8
sub esp, 0x224
push ebx
mov ebx, ecx
cmp dword [ebx + 0x14], 0
jne 0x482900
xor eax, eax
jmp 0x482a97
push esi
push edi
call fcn.00404f47
push eax
lea ecx, [ebp - 0x10]
call fcn.004065d8
and dword [ebp - 4], 0
lea eax, [ebp - 0x230]
push 0x208
push 0
push eax
call fcn.005e1720
add esp, 0xc
lea eax, [ebp - 0x230]
push 0x104
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x10]
call fcn.004060f8
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x10]
call fcn.004060f8
mov esi, dword [ebp - 0x10]
push 0x2e
push esi
call fcn.005e3330
mov dword [ebp - 0x1c], 1
pop ecx
pop ecx
test eax, eax
je 0x4829af
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4829af
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.00405d36
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00406123
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov esi, dword [ebp - 0x10]
call fcn.00404f47
push eax
lea ecx, [ebp - 0x14]
call fcn.004065d8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
movsd xmm0, qword [0x6a0388]
push eax
lea eax, [ebp - 0x14]
movsd qword [ebp - 0x28], xmm0
push eax
push ecx
push dword [ebp + 8]
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.00482702
mov edi, dword [ebp - 0x14]
test eax, eax
je 0x482a7e
push 0x69ec58
push edi
push dword [ebx + 0x14]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x482a7e
push eax
push dword [ebx + 0x14]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 8], eax
test eax, eax
je 0x482a7e
push dword [ebp - 0x18]
push dword [ebx + 0x14]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x482a7e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x482a7e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
inc eax
push eax
mov dword [ebp - 0x20], eax
call fcn.00406a4b
test eax, eax
je 0x482a5a
push dword [ebp + 8]
push dword [ebp - 0x18]
push eax
call fcn.005e0220
add esp, 0xc
push dword [ebp - 0x20]
mov ecx, dword [ebp + 0x10]
call fcn.00413e9a
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x482a82
movsd xmm0, qword [ebp - 0x28]
movsd qword [eax], xmm0
jmp 0x482a82
and dword [ebp - 0x1c], 0
lea ecx, [edi - 0x10]
call fcn.00404ea9
lea ecx, [esi - 0x10]
call fcn.00404ea9
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10