joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465d30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f6e0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor bl, bl
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
cmp dword [esi + 0x10], 0
je 0x465ea8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x465d7d
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x465ea8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x465d96
mov eax, dword [esi]
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x465ea8
push 0
push str.ime_shared
lea eax, [ebp - 0x40]
push 0x25
push eax
call fcn.00447330
push 0
push str.ime_shared
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push 0x24
push eax
call fcn.00447330
mov ebx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push ebx
push edi
push esi
push eax
mov byte [ebp - 4], 1
call fcn.00465ed0
add esp, 0x30
test al, al
jne 0x465e10
push ebx
push edi
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00465ed0
add esp, 0x10
test al, al
jne 0x465e10
push ebx
push edi
push esi
call fcn.004678c0
add esp, 0xc
test al, al
jne 0x465e10
xor bl, bl
jmp 0x465e12
mov bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x465e50
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 2
cmp edx, 0x1000
jb 0x465e46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465ec6
push edx
push ecx
call fcn.0040a1a2
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x465ea8
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 3
cmp edx, 0x1000
jb 0x465e9e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465ec6
push edx
push ecx
call fcn.0040a1a2
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret
call fcn.0056e2db
int3
Function at 0x46b2f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
cmp esi, 0x804
ja 0x46b32d
je case.0x46b326.1027
lea eax, [esi - 0x403]
cmp eax, 0x2a
ja case.0x46b326.1032
movzx eax, byte [eax + 0x46b380]
jmp dword [eax*4 + 0x46b378]
cmp esi, 0xc0a
je case.0x46b326.1027
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0056aed0
add esp, 0xc
lea eax, [ebp - 0x404]
push 0x200
push eax
push 3
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x46b366
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call int.004016cd
mov esp, ebp
pop ebp
ret

Function at 0x46b335
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
cmp esi, 0x804
ja 0x46b32d
je case.0x46b326.1027
lea eax, [esi - 0x403]
cmp eax, 0x2a
ja case.0x46b326.1032
movzx eax, byte [eax + 0x46b380]
jmp dword [eax*4 + 0x46b378]
cmp esi, 0xc0a
je case.0x46b326.1027
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0056aed0
add esp, 0xc
lea eax, [ebp - 0x404]
push 0x200
push eax
push 3
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x46b366
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call int.004016cd
mov esp, ebp
pop ebp
ret

Function at 0x46c630
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bd38
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x62cf50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [edi + 0x28], 0
mov dword [ebp - 4], 0
jne 0x46c6f9
mov al, byte [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov byte [edi + 0x2a], al
mov eax, dword [ebp + 0xc]
mov byte [edi + 0x28], 1
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], eax
mov dword [edi + 0x34], 0
test ecx, ecx
je 0x46c6f9
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
mov dword [edi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp dword [edi + 0x2c], 0
mov dword [edi + 0x30], eax
je 0x46c6f9
test eax, eax
je 0x46c6f9
cmp byte [edi + 0x2a], 0
lea esi, [edi + 0x20]
push esi
push 0
push edi
mov ecx, 0x51d950
mov dword [esi], 0
mov eax, 0x46c820
cmovne eax, ecx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [esi], 0
mov dword [edi + 0x24], eax
je 0x46c6f9
test eax, eax
je 0x46c6f9
mov byte [edi + 0x29], 1
mov bl, byte [edi + 0x29]
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4787f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cac9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x1c], esi
mov ecx, esi
mov dword [ebp - 0x18], 0
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
push 0x5b4480
mov dword [ebp - 4], 0
mov word [esi], ax
call fcn.00409db0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 0x5c02fc
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x4788a6
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x4788a6
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x478885
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00409db0
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x47d4f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1400
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00454670
test al, al
je 0x47d566
push 0x1388
push dword [esi]
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x47d552
cmp dword [ebp - 0x14], 0x103
jne 0x47d566
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [esi + 0x24]
mov dword [esi + 0x24], 0
test edi, edi
je 0x47d586
mov ecx, edi
call fcn.0047d690
push 0x1c
push edi
call fcn.0040a1a2
add esp, 8
lea ecx, [esi + 0x34]
call fcn.004445a0
mov eax, dword [esi + 0x30]
mov dword [ebp - 4], 0
test eax, eax
je 0x47d5a5
push eax
call fcn.0040a1b5
add esp, 4
mov edi, dword [esi + 0x24]
test edi, edi
je 0x47d5be
mov ecx, edi
call fcn.0047d690
push 0x1c
push edi
call fcn.0040a1a2
add esp, 8
mov eax, dword [esi + 0x1c]
mov dword [ebp - 4], 1
test eax, eax
je 0x47d5e8
cmp eax, 0xffffffff
je 0x47d5e8
call fcn.00413e80
push dword [esi + 0x1c]
call fcn.00415030
add esp, 4
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x18]
mov dword [ebp - 4], 2
test eax, eax
je 0x47d612
cmp eax, 0xffffffff
je 0x47d612
call fcn.00413e80
push dword [esi + 0x18]
call fcn.00415030
add esp, 4
mov dword [esi + 0x18], 0
mov eax, dword [esi + 0x14]
mov dword [ebp - 4], 3
test eax, eax
je 0x47d63c
cmp eax, 0xffffffff
je 0x47d63c
call fcn.00413e80
push dword [esi + 0x14]
call fcn.00415030
add esp, 4
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 4], 4
test eax, eax
je 0x47d666
cmp eax, 0xffffffff
je 0x47d666
call fcn.00413e80
push dword [esi + 0x10]
call fcn.00415030
add esp, 4
mov dword [esi + 0x10], 0
mov ecx, esi
call fcn.00454400
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x47f6f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x631aca], 0
je 0x47f713
cmp byte [ebp + 8], 0
je 0x47f816
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SOFTWAREAdobeAdobe_AcrobatDCInstaller_
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47f80f
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x47f80f
cmp byte [0x631aca], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 4
jne 0x47f78d
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.bIsSingleClientApp
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47f78d
cmp dword [ebp - 0xc], 4
jne 0x47f78d
cmp dword [ebp - 8], eax
setne byte [0x631ac9]
cmp byte [0x631ac9], 0
je 0x47f806
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.bIsSCAcroAppInstalled
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47f7cd
cmp dword [ebp - 0xc], 4
jne 0x47f7cd
cmp dword [ebp - 8], eax
setne byte [0x631ac8]
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.SCAPackageLevel
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47f806
mov eax, dword [0x62b004]
cmp dword [ebp - 0xc], 4
cmove eax, dword [ebp - 8]
mov dword [0x62b004], eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [0x631aca], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x4804f0
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x14], eax
xor esi, esi
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x48062f
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push 0x190000
push 3
push esi
push 3
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x48058f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x48061a
push dword [ebp + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x48061a
push esi
push 0x190000
push 3
push esi
push 3
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x48061a
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
jne 0x48060e
cmp dword [ebp + 0x24], esi
je 0x4805da
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 0x8c]
test ebx, ebx
je 0x4805da
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
push edi
mov ecx, ebx
call dword [0x5b1854]
call ebx
test eax, eax
je 0x4805da
mov eax, dword [ebp - 8]
test eax, eax
je 0x4805da
cmp eax, dword [ebp + 0x24]
je 0x4805da
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 8], eax
jne 0x48060e
push 0
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x48060e
push 0
push dword [ebp - 0x10]
push dword [ebp + 0x18]
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
mov esi, eax
cmp edi, 0xffffffff
je 0x48061a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call int.004016cd
mov esp, ebp
pop ebp
ret 0x20
Function at 0x480b90
Capabilities:
Check if file exists
Check mutex on windows
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push 0x635558
push 0x208
call fcn.0041e564
mov esi, eax
add esp, 8
test esi, esi
je 0x480d61
push edi
push 0x208
push 0
push esi
call fcn.0056aed0
push 0x20a
lea eax, [ebp - 0x41c]
push 0
push eax
call fcn.0056aed0
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0056aed0
add esp, 0x24
mov dword [ebp - 0x420], 0
lea eax, [ebp - 0x210]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
push 0x105
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x420]
push eax
push 0x105
lea eax, [ebp - 0x41c]
push eax
push 0x5b485c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x480c92
mov edi, dword [ebp - 0x420]
xor ecx, ecx
nop dword [eax]
cmp ecx, 0x103
je 0x480c8c
mov eax, 0xcccccccd
mul edi
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub edi, eax
mov ax, word [edi*2 + str.0123456789]
mov edi, edx
mov word [esi + ecx*2], ax
inc ecx
test edi, edi
jne 0x480c60
xor eax, eax
mov word [esi + ecx*2], ax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x480cd2
push str.GlobalARM_Update_Mutex
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x480d3e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.thsnYaVieBoda
push 0x104
push esi
lfence
call fcn.004471d0
mov edi, str..pipe32B6B37A_4A7D_4e00_95F2_6F0BF3DE3E00
mov edx, 0x104
mov ecx, ebx
sub edi, ebx
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x480cfe
movzx eax, word [edi + ecx]
test ax, ax
je 0x480cfe
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x480ce0
test edx, edx
lea eax, [ecx - 2]
pop edi
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edx, edx
je 0x480d61
push esi
push 0x104
push ebx
call fcn.004471d0
test eax, eax
js 0x480d61
push esi
lfence
call fcn.0041e935
add esp, 4
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x480cbf
cmp dword [ebp + 0xc], 0
jne 0x480cbf
push str.TsnIorcAeBoda
jmp 0x480cc4
mov ecx, dword [ebp - 4]
mov eax, 8
pop esi
xor ecx, ebp
pop ebx
call int.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x480d80
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
push esi
push 0x190000
push 3
push esi
push esi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x480dd4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 0xd
pop esi
cmove eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 3
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x480e08
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
push 4
lea eax, [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x480e1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, 0xd
test esi, esi
cmove esi, eax
jmp 0x480eb0
cmp dword [ebp + 0x10], esi
je 0x480eb0
push edi
mov dword [ebp - 0xc], esi
xor edi, edi
nop
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x480e78
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, 0xd
test esi, esi
cmove esi, eax
cmp esi, 0xe8
jne 0x480e83
push 0xa
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0xa
jl 0x480e30
jmp 0x480e83
cmp dword [ebp - 8], 4
je 0x480e87
mov esi, 0xd
test esi, esi
jne 0x480eaf
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [ebp - 0xc]
inc ecx
cmp eax, ecx
mov dword [ebp - 8], eax
push edx
lea eax, [ebp - 0x10]
mov esi, 0xd
push eax
push 4
lea eax, [ebp - 8]
cmove esi, edx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call int.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x487620
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1de6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x430], 0
push 0x404
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
call fcn.0056aed0
add esp, 0xc
mov dword [ebp - 0x420], 0
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call fcn.00409830
mov esi, eax
mov dword [ebp - 0x428], esi
test esi, esi
jne 0x4876d6
push 2
push eax
push edi
call fcn.00409830
mov esi, eax
mov dword [ebp - 0x428], eax
test esi, esi
jne 0x4876d6
call fcn.00484b60
mov edi, eax
jmp 0x4877c4
push dword [ebp - 0x424]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4876f4
call fcn.00484b60
jmp 0x4877b7
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x487712
call fcn.00484b60
jmp 0x4877b7
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x42c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x487733
mov edi, 0x8007000e
jmp 0x4877b9
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x420]
push eax
lfence
call fcn.00484970
jmp 0x487760
cmp dword [ebp - 0x420], 0
mov dword [ebp - 4], 1
jne 0x487777
mov edi, 0x8007000e
jmp 0x4877b9
push edi
lfence
push dword [ebp - 0x420]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x48779a
call fcn.00484b60
jmp 0x4877b7
mov eax, dword [ebp - 0x420]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x420]
call fcn.00487470
mov edi, eax
test esi, esi
je 0x4877c4
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x420], eax
je 0x4877dd
lea ecx, [ebp - 0x420]
call fcn.00485d90
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret 0x10
Function at 0x48fb00
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x20019
push 0
push 0x5b7930
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48fb4f
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfUserChoice
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48fb89
push str.Application
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x48ffe0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2506
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x428], ecx
mov eax, dword [ebp + 8]
lea esi, [ecx + 4]
push esi
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x440], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebp - 0x424]
mov dword [ebp - 4], 0
test edi, edi
je 0x4900df
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0056aed0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
jle 0x4900df
cmp eax, 0x103
jae 0x4900df
lea eax, [ebp - 0x218]
push str.STATIC
push eax
call fcn.0040d741
add esp, 8
test eax, eax
jne 0x4900df
push 0x208
push eax
lea eax, [ebp - 0x420]
push eax
lfence
call fcn.0056aed0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x4900df
cmp eax, 0x103
jae 0x4900df
lea eax, [ebp - 0x420]
push str.swBrowser
push eax
call fcn.0040d741
add esp, 8
test eax, eax
sete bl
jmp 0x4900e1
xor bl, bl
mov edi, dword [ebp - 0x428]
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x43c]
push eax
lea ecx, [edi + 0x34]
call fcn.004270b0
mov ecx, dword [ebp - 0x434]
cmp byte [ecx + 0xd], 0
jne 0x490114
mov eax, dword [ebp - 0x424]
cmp eax, dword [ecx + 0x10]
jae 0x490192
cmp dword [edi + 0x38], 0xaaaaaaa
je 0x4901c1
mov edi, dword [edi + 0x34]
lea eax, [ebp - 0x424]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp - 0x428]
add eax, 0x34
mov dword [ebp - 0x430], eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x42c], 0
push 0x18
lfence
call fcn.00406b5e
mov ecx, dword [ebp - 0x424]
add esp, 4
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x428]
push eax
push dword [ebp - 0x438]
mov byte [eax + 0x14], 0
push dword [ebp - 0x43c]
mov dword [eax], edi
lea ecx, [ecx + 0x34]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov word [eax + 0xc], 0
call fcn.00411290
mov ecx, eax
mov byte [ecx + 0x14], bl
push esi
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret 4
call fcn.0047ea70
int3