joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c5369
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x5c538b
cmp dword [edi + 0x3c], 0
jne 0x5c538b
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.005da826
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.005c53b8
pop edi
pop esi
pop ebx
ret 8

Function at 0x5c5406
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.005da826
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5c5437
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.005c544a
pop edi
pop esi
pop ebx
ret 8

Function at 0x5c6a63
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5c6a9b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.005c43c6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005c439e
jmp 0x5c6aa7
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x5c85f8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5c863a
call fcn.005da826
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5c863a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5c8631
xor eax, eax
jmp 0x5c8642
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005c8648
pop edi
pop esi
pop ebx
ret 4

Function at 0x5d8fdd
Capabilities:
Create http request

Disassembly:
mov eax, 0x5fd800
call fcn.004afa80
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x5d9015
call fcn.005da826
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x5d903a
push eax
push dword [esi + 4]
call fcn.005d9e6c
jmp 0x5d9046
push esi
push eax
mov ecx, 0x1b86b58
call fcn.005d9057
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x5d9353
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x5fd717
call fcn.004afa80
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.005cafa1
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x1b29e58]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.005c40a8
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.005c40a8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x5dad56
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x5dad84
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5dada2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005dacbc
jmp 0x5dada2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5dada2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005dacbc
test edi, edi
mov eax, edi
jne 0x5dad8c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10001018
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x1010b60c], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
jne 0x1000105c
call ebx
test eax, eax
jns 0x10001052
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x1010b608], eax
mov dword [0x1010b60c], 1
mov eax, dword [0x1010b608]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10001078
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
test eax, eax
jne 0x100010a8
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
test eax, eax
jne 0x1000109e
call ebx
test eax, eax
mov eax, dword [ebp + 8]
jns 0x10001093
push dword [eax + 0xc]
call dword [eax + 8]
jmp 0x10001098
push dword [eax + 4]
call dword [eax]
test eax, eax
je 0x100010a7
mov dword [edi], eax
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc

Function at 0x10001520
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x10001571
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x10001582
push 0xd
pop eax
jmp 0x100015af
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x10001585
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x10001fb7
Capabilities:
Capture webcam image

Disassembly:
push 0
push dword [esp + 8]
push 0x419
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4

Function at 0x100025d8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
or eax, 0x2001f
push eax
push dword [ebp + 8]
xor esi, esi
push dword [edi]
lea ecx, [ebp - 8]
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call fcn.100014df
mov ebx, eax
cmp ebx, esi
je 0x1000261b
lea ecx, [ebp - 8]
call fcn.1000146a
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x10002636
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 8]
call fcn.100025d8
cmp eax, esi
jne 0x1000266b
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x214]
push eax
push esi
push dword [ebp - 8]
mov dword [ebp - 0xc], pe_nt_image_headers32
call ebx
test eax, eax
je 0x10002623
lea ecx, [ebp - 8]
call fcn.1000146a
push dword [ebp + 8]
mov ecx, edi
call fcn.1000140f
lea ecx, [ebp - 8]
mov esi, eax
call fcn.1000146a
mov eax, esi
jmp 0x10002614
Function at 0x10004bf2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x100b74f7
call fcn.100a0664
sub esp, 0x418
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x424], edi
push 2
push edi
push dword [ebp + 8]
mov byte [ebp - 4], 1
call fcn.10002b9c
mov ebx, eax
mov dword [ebp - 0x14], ebx
cmp ebx, edi
jne 0x10004c40
call fcn.10001394
mov esi, eax
jmp 0x10004d37
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x10004c5d
call fcn.10001394
jmp 0x10004d2c
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0x10], eax
cmp eax, edi
je 0x10004c53
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp + 8], esi
cmp eax, esi
jae 0x10004cb9
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x10004c99
lea ecx, [ebp - 0x424]
call fcn.10001f4d
mov esi, 0x8007000e
lea ecx, [ebp - 0x18]
call fcn.10001e87
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 2
call fcn.1000334c
mov dword [ebp - 4], 1
jmp 0x10004ce4
cmp dword [ebp - 0x424], edi
jne 0x10004cf3
mov esi, 0x8007000e
jmp 0x10004d2e
push esi
push dword [ebp - 0x424]
push esi
push dword [ebp + 0x10]
push edi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
je 0x10004c53
mov edx, dword [ebp - 0x424]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x424]
lea ecx, [ebp - 0x20]
call fcn.100042b8
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x10004c9e
lea ecx, [ebp - 0x424]
call fcn.10001f4d
jmp 0x10004c9e
Function at 0x10007dbd
Capabilities:
Capture webcam image
Hide graphical window

Disassembly:
mov eax, 0x100b788d
call fcn.100a0664
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push dword [ebp + 8]
xor edi, edi
mov ebx, ecx
mov dword [ebp - 4], edi
call fcn.10006460
mov ecx, dword [ebx + 0x78]
lea eax, [ebp - 0x11]
push eax
push ebx
mov byte [ebp - 0x11], 0
call fcn.1006b272
cmp byte [ebp - 0x11], 0
mov dword [ebp - 0x18], eax
mov byte [ebp + 0xb], 1
jne 0x10007e24
push edi
push dword [ebx + 0x68]
lea eax, [ebx + 0x4c]
push ecx
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.100033f5
mov ecx, dword [ebx + 0x78]
add ecx, 0xe4
call fcn.100587da
cmp eax, edi
setne byte [ebp + 0xb]
movzx eax, byte [ebp + 0xb]
neg eax
sbb eax, eax
and eax, 5
push eax
lea esi, [ebx + 0x84]
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp + 0xb], 0
jne 0x10007e57
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 4
push edi
push edi
push 0xf1
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
push 7
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
pop ecx
xor eax, eax
mov dword [ebp - 0x70], 0x20
lea edi, [ebp - 0x6c]
rep stosd dword es:[edi], eax
lea ecx, [ebx + 0x38]
push eax
mov dword [ebp - 0x6c], 0xa
mov byte [ebp - 0x5f], 0x70
mov dword [ebp + 8], ecx
call fcn.10003413
lea ecx, [ebp - 0x70]
push ecx
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0xc]
push eax
mov edi, 0x440
push edi
push dword [ebp - 0x18]
call esi
mov eax, dword [ebx + 0xc]
push 0
push eax
push 0x419
push dword [ebp - 0x18]
call esi
lea ecx, [ebp - 0x50]
push ecx
push eax
push 0x41d
push dword [ebp - 0x18]
call esi
cmp byte [ebp - 0x11], 0
jne 0x10007efa
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x70]
push ecx
mov word [ebp - 0x5e], ax
mov eax, dword [ebx + 0xc]
push eax
push edi
push dword [ebp - 0x18]
mov dword [ebp - 0x6c], 0x48
mov byte [ebp - 0x5f], 0x60
call esi
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x100c503c
call fcn.100057f4
push 0x16
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Height
mov byte [ebp - 4], 1
call fcn.100057f4
mov byte [ebp - 4], 0
call fcn.10044598
sub eax, dword [ebp - 0x44]
add esp, 0xc
add eax, dword [ebp - 0x4c]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
add dword [ebp - 0x50], 2
push 1
lea eax, [ebp - 0x50]
lea edi, [ebx + 0x84]
push eax
mov ecx, edi
call fcn.10001cfe
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0xbc]
push 1
push eax
push 0x30
push dword [edi]
call esi
cmp byte [0x1010c39a], 0
jne 0x10007f83
mov ecx, dword [ebp + 8]
push 0
call fcn.10003413
push eax
jmp 0x10007f88
push 0x100c503c
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x10007e44
Function at 0x1000c8d9
Capabilities:
Parse url

Disassembly:
mov eax, 0x100b7b9b
call fcn.100a0664
sub esp, 0x3c
push ebx
push edi
mov ebx, ecx
xor edi, edi
push 0x38
lea eax, [ebp - 0x44]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.1009f9b0
push 0x200
mov dword [ebp - 0x48], 0x3c
call fcn.1009f1f8
push pe_nt_image_headers32
push edi
push eax
mov dword [ebp - 0x38], eax
call fcn.1009f9b0
push 0x1000
mov dword [ebp - 0x34], pe_nt_image_headers32
call fcn.1009f1f8
push 0x800
push edi
push eax
mov dword [ebp - 0x1c], eax
call fcn.1009f9b0
mov eax, dword [ebp + 0xc]
add esp, 0x2c
cmp dword [ebp + 0x20], 8
mov dword [ebp - 0x18], 0x7ff
jae 0x1000c951
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x48]
push ecx
push edi
push dword [ebp + 0x1c]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
push dword [ebp - 0x38]
mov ecx, ebx
call fcn.1000c7a2
push dword [ebp - 0x1c]
lea ecx, [ebx + 0x1c]
call fcn.1000c7a2
push dword [ebp - 0x38]
call fcn.1009f549
push dword [ebp - 0x1c]
call fcn.1009f549
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp + 8]
call fcn.1000bc62
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c

Function at 0x1000cfe5
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
mov eax, 0x100b7c9b
call fcn.100a0664
sub esp, 0x2c
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
push edi
add ecx, 0x54
mov dword [ebp - 4], edi
call fcn.10003413
push 0x24
push str.Alert
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x1000d030
mov eax, 0xfffffe6f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
push 0x7a
mov esi, 0x1000
xor ebx, ebx
pop eax
test eax, eax
je 0x1000d073
cmp eax, 0x7a
jne 0x1000d0a9
push edi
call fcn.100a0109
push esi
call fcn.1009f1f8
pop ecx
mov edi, eax
pop ecx
lea eax, [ebp - 0x14]
push eax
mov dword [edi], esi
mov dword [ebp - 0x14], esi
push edi
test ebx, ebx
jne 0x1000d08d
push ebx
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov ebx, eax
xor eax, eax
test ebx, ebx
setne al
jmp 0x1000d094
test dword [edi + 0xc], 0x100000
jne 0x1000d085
push dword [edi + 4]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], esi
push edi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
je 0x1000d09c
xor eax, eax
jmp 0x1000d0a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x14]
xor ecx, ecx
je 0x1000d03a
push edi
call fcn.100a0109
pop ecx
test ebx, ebx
je 0x1000d0bb
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
xor eax, eax
jmp 0x1000d01f
Function at 0x1000d43b
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
mov eax, 0x100b7d1b
call fcn.100a0664
sub esp, 0x2c
push ebx
push esi
add ecx, 0x54
mov eax, dword [ecx]
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], edi
cmp dword [eax - 0xc], edi
je 0x1000d481
push edi
call fcn.10003413
push 0x24
push str.Alert
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x1000d481
mov eax, 0xfffffe6f
jmp 0x1000d5a0
push 0x7a
mov esi, 0x1000
xor ebx, ebx
pop eax
test eax, eax
je 0x1000d552
cmp eax, 0x7a
jne 0x1000d58c
push edi
call fcn.100a0109
push esi
call fcn.1009f1f8
pop ecx
mov edi, eax
pop ecx
lea eax, [ebp - 0x14]
push eax
mov dword [edi], esi
mov dword [ebp - 0x14], esi
push edi
test ebx, ebx
jne 0x1000d56c
push ebx
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov ebx, eax
xor eax, eax
test ebx, ebx
setne al
jmp 0x1000d573
test dword [edi + 0xc], 0x100000
je 0x1000d564
push dword [edi + 4]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], esi
push edi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
je 0x1000d57b
xor eax, eax
jmp 0x1000d584
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x14]
xor ecx, ecx
je 0x1000d48b
push edi
call fcn.100a0109
pop ecx
test ebx, ebx
je 0x1000d59e
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x1000f4e4
Capabilities:
Check if file exists
Copy file

Disassembly:
mov eax, 0x100b80c0
call fcn.100a0664
sub esp, 0x238
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor edi, edi
mov esi, ecx
push edi
push str.temp
lea ecx, [esi + 0x6c]
mov dword [ebp - 4], edi
call fcn.10002fb2
cmp eax, 0xffffffff
jle 0x1000f607
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.100449b3
pop ecx
pop ecx
sub esi, 0xffffff80
push esi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
call fcn.10004f80
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.10001ccd
lea eax, [ebp - 0x18]
push eax
call fcn.10044b9e
pop ecx
push esi
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 4
call fcn.10004f80
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.10001ccd
xor eax, eax
push 0x206
mov word [ebp - 0x244], ax
lea eax, [ebp - 0x242]
push edi
push eax
call fcn.1009f9b0
push dword [ebp - 0x14]
lea eax, [ebp - 0x244]
push eax
call fcn.100a275e
add esp, 0x14
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1000f5d6
push ecx
lea eax, [ebp - 0x244]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.100057f4
call fcn.10029e5b
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000f5f1
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x1000f6a8
Capabilities:
Check if file exists
Copy file

Disassembly:
mov eax, 0x100b80fa
call fcn.100a0664
sub esp, 0x38
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x1c]
push 0
push eax
mov esi, ecx
call fcn.100449b3
pop ecx
pop ecx
lea edi, [esi + 0x80]
push edi
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.10004f80
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.10001ccd
lea eax, [ebp - 0x20]
push eax
call fcn.10044b9e
pop ecx
push edi
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 4
call fcn.10004f80
add esp, 0xc
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.10001ccd
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000f73b
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x68]
push eax
call fcn.100046db
lea ecx, [esi + 0x54]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
jne 0x1000f75c
push str.false
call fcn.100049c6
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.1000db4d
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov esi, eax
call fcn.10001ccd
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x100108eb
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100b8306
call fcn.100a0664
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
cmp byte [ebp + 0xc], bl
push ecx
mov esi, ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
mov dword [ebp - 4], ebx
push 0x100c503c
je 0x10010945
call fcn.100057f4
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.blockPopups
mov byte [ebp - 4], 1
call fcn.100057f4
mov byte [ebp - 4], bl
call fcn.10044774
mov eax, dword [esi + 0x48]
mov byte [eax + 0x1280], bl
mov byte [esi + 0x50], bl
jmp 0x100109ae
mov eax, dword [esi + 0x48]
cmp byte [eax + 0x1280], bl
je 0x1001097d
call fcn.100057f4
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.blockPopups
mov byte [ebp - 4], 2
call fcn.100057f4
mov byte [ebp - 4], bl
call fcn.10044774
mov eax, dword [esi + 0x48]
mov byte [eax + 0x1280], bl
jmp 0x100109aa
call fcn.100057f4
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.blockPopups
mov byte [ebp - 4], 3
call fcn.100057f4
mov byte [ebp - 4], bl
call fcn.10044774
mov eax, dword [esi + 0x48]
mov byte [eax + 0x1280], 1
mov byte [esi + 0x50], 1
add esp, 0xc
push ebx
lea ecx, [esi + 0x30]
call fcn.10003413
mov ecx, dword [esi + 0x48]
movzx ecx, byte [ecx + 0x1280]
mov edi, dword [ebp + 8]
mov edx, dword [edi]
push ecx
push eax
mov ecx, edi
call dword [edx + 0xc]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x7c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x10010dc5
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100b83a9
call fcn.100a0664
sub esp, 0xc0
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [esi + 0x48]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
push eax
call fcn.10068282
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10010e1c
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 8
mov eax, dword [esi + 0x48]
test eax, eax
je 0x10010e2b
lea ebx, [eax + 0xb8]
jmp 0x10010e2d
xor ebx, ebx
push 0
push ecx
mov dword [ebp - 0x1c], esp
mov ecx, esp
lea edi, [esi + 0x54]
push edi
call fcn.100033f5
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.1000cdc9
add esp, 0x10
mov byte [ebp - 4], 2
call fcn.100575ef
push esi
push ecx
mov byte [eax], 0
lea eax, [esi + 0x5c]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 3
call fcn.100033f5
push dword [esi + 0x60]
lea eax, [esi + 0x58]
push ecx
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 4
call fcn.100033f5
push ecx
mov dword [ebp - 0x18], esp
mov ecx, esp
push edi
mov byte [ebp - 4], 5
call fcn.100033f5
push dword [esi + 0x48]
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 3
call fcn.1008cf53
mov eax, dword [esi + 0x48]
lea ecx, [eax + 0xb8]
mov eax, dword [ecx]
mov byte [ebp - 4], 6
call dword [eax + 0x5c]
push 0
push eax
lea ecx, [ebp - 0xcc]
call fcn.1000c0d1
cmp eax, 1
jne 0x10010ee7
lea ecx, [ebp - 0xcc]
call fcn.1008c4e4
test al, al
jne 0x10010ee7
call fcn.100575ef
mov byte [eax], 1
mov ecx, dword [esi + 0x48]
call fcn.100684aa
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 3
call fcn.1008d1d3
mov dword [ebp - 4], 2
call fcn.100575ef
mov byte [eax], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10001ccd
jmp 0x10010dfe