joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c952
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4ca6c8
call fcn.00496fcc
sub esp, 0x830
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.004b025e
and word [ebp - 0x83c], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x83a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x83c]
push 0x3ff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x83c]
lea ecx, [ebp - 0x14]
push eax
call fcn.004b21aa
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.004b2527
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00496ff0
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.00498724
add esp, 0x14
test eax, eax
jne 0x42c9f4
mov eax, dword [ebp - 0x20]
push ecx
mov ecx, esp
mov esi, eax
mov dword [ebp - 0x18], esp
mov dword [ecx], eax
lea ecx, [ebp - 0x10]
call fcn.00422dd1
test eax, eax
je 0x42c9f4
mov dword [ebp - 0x10], esi
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
mov dword [esi], eax
call fcn.004b2136
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x42ec36
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x4cad0a
call fcn.00496fcc
push ecx
mov eax, dword [0x505148]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [0x505148]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 0x10], eax
mov ebx, 0x50975c
mov byte [ebp - 4], 1
push ebx
mov dword [esi], 0x4d4f9c
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call fcn.004b22cd
push ebx
lea ecx, [esi + 0x10]
call fcn.004b22cd
mov ecx, dword [ebp - 0xc]
push 0x64
pop eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x432d90
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cb198
call fcn.00496fcc
push ecx
push esi
mov esi, ecx
test byte [esi + 9], 0x10
je 0x432dac
push 1
pop eax
jmp 0x432f84
test byte [esi + 4], 1
jne 0x432dc3
push dword [esi + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x432dc3
or dword [esi + 8], 1
push ebx
lea eax, [esi + 0x44]
push edi
push eax
lea ecx, [esi + 0x128]
call fcn.004b227d
lea eax, [esi + 0x48]
lea ecx, [esi + 0x12c]
push eax
call fcn.004b227d
lea edi, [esi + 0x130]
lea eax, [esi + 0x94]
push eax
mov ecx, edi
call fcn.004b227d
mov ecx, edi
call fcn.004afb49
mov ecx, edi
call fcn.004afabd
mov eax, dword [edi]
cmp dword [eax - 8], 0
jne 0x432e1e
push dword [esi + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
mov ecx, edi
call fcn.004b22cd
lea ebx, [esi + 0x2fc]
mov edi, 0x50975c
push edi
mov ecx, ebx
call fcn.004b22cd
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
xor edx, edx
cmp eax, edx
jl 0x432e6c
jg 0x432e43
cmp ecx, edx
jbe 0x432e6c
push edx
push edx
push edx
push eax
lea eax, [ebp - 0x10]
push ecx
push eax
call fcn.00429196
add esp, 0x18
and dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.004b227d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b2136
lea ebx, [esi + 0x300]
push edi
mov ecx, ebx
call fcn.004b22cd
lea ecx, [esi + 0x304]
push edi
call fcn.004b22cd
lea ecx, [esi + 0x308]
push edi
call fcn.004b22cd
lea ecx, [esi + 0x30c]
push edi
call fcn.004b22cd
lea ecx, [esi + 0x38]
call fcn.004393a5
mov edi, eax
test edi, edi
je 0x432f6d
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x38]
test ecx, ecx
jl 0x432ed0
jg 0x432ec0
test eax, eax
jbe 0x432ed0
push ecx
push eax
push str._d_f
push ebx
call fcn.004afa67
add esp, 0x10
mov eax, dword [edi + 0x58]
cmp eax, 0x2d0
jne 0x432ee1
push str.HD_720
jmp 0x432f17
cmp eax, 0x438
jne 0x432eef
push str.HD_1080
jmp 0x432f17
cmp eax, 0x5a0
jne 0x432efd
push str.QHD_2K
jmp 0x432f17
cmp eax, 0x870
jne 0x432f0b
push str.UHD_4K
jmp 0x432f17
cmp eax, 0x10e0
jne 0x432f22
push str.UHD_8K
lea ecx, [esi + 0x304]
call fcn.004b22cd
mov eax, dword [edi + 0x54]
mov ebx, str._dx_d
test eax, eax
jle 0x432f47
mov ecx, dword [edi + 0x58]
test ecx, ecx
jle 0x432f47
push ecx
push eax
lea eax, [esi + 0x308]
push ebx
push eax
call fcn.004afa67
add esp, 0x10
mov eax, dword [edi + 0x80]
test eax, eax
jle 0x432f6d
mov edi, dword [edi + 0x84]
test edi, edi
jle 0x432f6d
push edi
push eax
lea eax, [esi + 0x30c]
push ebx
push eax
call fcn.004afa67
add esp, 0x10
lea eax, [esi + 0xc]
lea ecx, [esi + 0x310]
push eax
call fcn.004b227d
or byte [esi + 9], 0x10
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x432ffc
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cb1ac
call fcn.00496fcc
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp dword [eax - 8], 0
je 0x43302c
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43302c
push dword [esi + 0x10]
mov ecx, esi
call fcn.004332e9
test eax, eax
je 0x43309e
test byte [esi + 4], 1
jne 0x433079
mov eax, dword [0x505148]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.004330b2
test eax, eax
jne 0x43306d
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004332e9
test eax, eax
jne 0x43306d
or byte [esi + 5], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b2136
jmp 0x43309e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b2136
push 0x4eff9c
push dword [esi + 0x128]
call fcn.00497085
pop ecx
test eax, eax
pop ecx
jne 0x4330a2
mov ecx, esi
call fcn.00433153
test eax, eax
jne 0x4330a2
or byte [esi + 5], 2
xor eax, eax
jmp 0x4330a5
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x433007
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cb1ac
call fcn.00496fcc
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp dword [eax - 8], 0
je 0x43302c
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43302c
push dword [esi + 0x10]
mov ecx, esi
call fcn.004332e9
test eax, eax
je 0x43309e
test byte [esi + 4], 1
jne 0x433079
mov eax, dword [0x505148]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.004330b2
test eax, eax
jne 0x43306d
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004332e9
test eax, eax
jne 0x43306d
or byte [esi + 5], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b2136
jmp 0x43309e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b2136
push 0x4eff9c
push dword [esi + 0x128]
call fcn.00497085
pop ecx
test eax, eax
pop ecx
jne 0x4330a2
mov ecx, esi
call fcn.00433153
test eax, eax
jne 0x4330a2
or byte [esi + 5], 2
xor eax, eax
jmp 0x4330a5
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4330b2
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cb1c0
call fcn.00496fcc
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0xc]
cmp dword [eax - 8], 0
je 0x43313b
test byte [ebx + 4], 1
jne 0x43313b
and dword [ebp - 0x10], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], str..jpg
mov dword [ebp - 0x1c], str..jpeg
mov dword [ebp - 0x18], str..png
mov dword [ebp - 0x14], str..bmp
lea esi, [ebp - 0x20]
push dword [esi]
mov eax, dword [ebx + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0041d0af
add esp, 0xc
and dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.004b227d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004b2136
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43314f
inc dword [ebp - 0x10]
add esi, 4
cmp dword [ebp - 0x10], 4
jb 0x4330f9
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
xor eax, eax
jmp 0x43313e

Function at 0x434be6
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cb450
call fcn.00496fcc
sub esp, 0x4c
push dword [ebp + 8]
mov dword [ebp - 0x18], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x434d46
push ebx
push esi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
call fcn.004b21aa
xor ebx, ebx
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], ebx
call fcn.0042e1f2
push ebx
lea ecx, [ebp - 0x58]
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0042e29c
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.004b21aa
mov eax, dword [0x505148]
mov dword [ebp - 0x10], eax
push 0x4fe6f8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004b2527
lea ecx, [ebp - 0x38]
call fcn.004962bd
push ebx
lea ecx, [ebp - 0x38]
push dword [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00496382
xor esi, esi
cmp eax, ebx
je 0x434d07
push edi
lea ecx, [ebp - 0x38]
call fcn.004965a8
lea ecx, [ebp - 0x38]
mov edi, eax
call fcn.0049656b
test eax, eax
jne 0x434cfe
lea eax, [ebp + 8]
lea ecx, [ebp - 0x38]
push eax
call fcn.00496677
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.004b227d
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.004b2136
mov eax, dword [ebp - 0x38]
push 0x10
lea ecx, [ebp - 0x38]
call dword [eax + 0x38]
cmp eax, ebx
je 0x434cda
cmp dword [ebp + 0x10], ebx
je 0x434cfe
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.00434be6
jmp 0x434cfc
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 8], ebx
je 0x434cf1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
call fcn.0042e374
test eax, eax
je 0x434cfe
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.004349b3
add esi, eax
cmp edi, ebx
jne 0x434c78
pop edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.004962fc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004b2136
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004b2136
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.0042e260
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004b2136
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x434d54
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4cb465
call fcn.00496fcc
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x1e8]
cmp eax, edi
jne 0x434d79
call fcn.00434e0f
push 1
pop eax
jmp 0x434df1
push 0x74
call fcn.004b270a
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x434d95
push esi
call fcn.004333a0
jmp 0x434d97
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, edi
mov dword [esi + 0x1f8], eax
je 0x434dcb
push edi
push edi
push 4
mov ecx, eax
call fcn.004b63c4
test eax, eax
jne 0x434dd0
mov ecx, dword [esi + 0x1f8]
cmp ecx, edi
je 0x434dc5
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x1f8], edi
or eax, 0xffffffff
jmp 0x434df1
mov eax, dword [esi + 0x1f8]
push edi
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 0x1f8]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x434e0f
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4cb479
call fcn.00496fcc
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x168]
test eax, eax
jne 0x434e2e
push 1
pop eax
jmp 0x434e94
xor ebx, ebx
lea esi, [edi + 0x1fc]
push 0x78
call fcn.004b270a
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x434e54
push edi
push ebx
mov ecx, eax
call fcn.0043345a
jmp 0x434e56
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi], eax
test eax, eax
je 0x434ebf
push 0
push 0
push 4
mov ecx, eax
call fcn.004b63c4
test eax, eax
je 0x434ea3
mov eax, dword [esi]
push 0xffffffffffffffff
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
inc ebx
add esi, 4
cmp ebx, 2
jl 0x434e36
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
mov ecx, dword [edi + ebx*4 + 0x1fc]
lea esi, [edi + ebx*4 + 0x1fc]
test ecx, ecx
je 0x434ebc
mov eax, dword [ecx]
push 1
call dword [eax + 4]
and dword [esi], 0
or eax, 0xffffffff
jmp 0x434e94

Function at 0x43516f
Capabilities:
Check if file exists

Disassembly:
push dword [0x509814]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x435194
push 0
push 0x414
push dword [0x509814]
call fcn.0041ceb5
add esp, 0xc
ret
Function at 0x43a178
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cbe30
call fcn.00496fcc
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov edi, 0x509764
push str._sMediaProbe.exe
push edi
call fcn.004afa67
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [0x509764]
call esi
test eax, eax
jne 0x43a1bc
push str.MediaProbe.exe
mov ecx, edi
call fcn.004b22cd
push ebx
mov edi, 0x509768
push str._sMediaEncode.exe
push edi
call fcn.004afa67
add esp, 0xc
push dword [0x509768]
call esi
test eax, eax
jne 0x43a1e8
push str.MediaEncode.exe
mov ecx, edi
call fcn.004b22cd
push dword [0x509768]
lea eax, [ebp - 0x14]
push eax
call fcn.0041cfa4
pop ecx
pop ecx
and dword [ebp - 4], 0
push str.Presets
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004b23db
push eax
mov ecx, 0x50976c
mov byte [ebp - 4], 1
call fcn.004b227d
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004b2136
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b2136
push ebx
mov edi, 0x509770
push str._sMediaPlay.exe
push edi
call fcn.004afa67
add esp, 0xc
push dword [0x509770]
call esi
test eax, eax
jne 0x43a25f
push str.MediaPlay.exe
mov ecx, edi
call fcn.004b22cd
cmp dword [0x509774], 0
jne 0x43a363
mov eax, dword [0x505148]
mov dword [ebp + 8], eax
push 2
lea eax, [ebp + 8]
pop edi
push ebx
push str._s_avcodec_60.dll
push eax
mov dword [ebp - 4], edi
call fcn.004afa67
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43a29f
mov dword [0x509774], 6
cmp dword [0x509774], 0
jne 0x43a357
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_59.dll
push eax
call fcn.004afa67
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43a2d1
mov dword [0x509774], 5
cmp dword [0x509774], 0
jne 0x43a357
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_58.dll
push eax
call fcn.004afa67
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43a2ff
mov dword [0x509774], 4
cmp dword [0x509774], 0
jne 0x43a357
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_57.dll
push eax
call fcn.004afa67
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43a32d
mov dword [0x509774], 3
cmp dword [0x509774], 0
jne 0x43a357
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_56.dll
push eax
call fcn.004afa67
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43a357
mov dword [0x509774], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004b2136
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [0x509778], 1
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43a37e
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [0x509770]
call esi
test eax, eax
je 0x43a39e
xor eax, eax
push eax
push eax
push eax
push dword [0x509770]
jmp 0x43a3ce
push dword [0x509768]
call esi
test eax, eax
je 0x43a3b7
xor eax, eax
push eax
push eax
push eax
push dword [0x509768]
jmp 0x43a3ce
push dword [0x509764]
call esi
test eax, eax
je 0x43a3d6
xor eax, eax
push eax
push eax
push eax
push dword [0x509764]
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop esi
ret

Function at 0x43b443
Capabilities:
Check if file exists
Set current directory

Disassembly:
mov eax, 0x4cbf28
call fcn.00496fcc
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43b481
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0041cfa4
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x10]
call fcn.004b2136
lea eax, [ebp - 0x14]
push eax
call fcn.0041f1ad
pop ecx
mov eax, dword [eax]
and dword [ebp - 4], 0
push 1
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.0041c4b6
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004b2136
push dword [ebp + 8]
lea edi, [esi + 0x70]
mov ecx, edi
call fcn.004b22cd
push dword [ebp + 0x10]
mov eax, esi
neg eax
push dword [ebp - 0x24]
lea ecx, [esi + 0x68]
sbb eax, eax
and eax, ecx
mov ecx, esi
push eax
call fcn.0043b224
test eax, eax
je 0x43b4d8
mov esi, eax
jmp 0x43b50d
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
push ebx
push dword [ebp - 0x24]
call dword [eax + 0x28]
test eax, eax
je 0x43b4f2
or esi, 0xffffffff
jmp 0x43b50d
mov edi, dword [edi]
mov eax, dword [esi]
push edi
push ebx
mov ecx, esi
call dword [eax + 0x2c]
or esi, 0xffffffff
cmp eax, esi
je 0x43b50d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0041c523
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x4aea80
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004971d0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4aeb4b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4aeb4b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4aeafe
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4aeb09
or bh, 8
and edi, 0x8000000
je 0x4aeb24
mov eax, dword [0x50d69c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4aeb4b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b4f37
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 0x4b4f79
call fcn.004c4d92
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x4b4f79
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b4f70
xor eax, eax
jmp 0x4b4f81
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b4f87
pop edi
pop esi
pop ebx
ret 4

Function at 0x4bc4c5
Capabilities:
Set registry value

Disassembly:
mov eax, 0x4cddbc
call fcn.00496fcc
push ecx
push ecx
push esi
push 0x10
call fcn.004b270a
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
and dword [ebp - 4], 0
test esi, esi
je 0x4bc512
mov ecx, esi
call fcn.004b76f1
mov eax, dword [0x505148]
lea ecx, [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov dword [esi], vtable.CArchiveException.0
mov dword [esi + 8], eax
call fcn.004b22cd
jmp 0x4bc514
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push 0x4eba38
push eax
mov dword [ebp - 0x10], esi
call fcn.0049862c
pop esi
Function at 0x406740
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SOFTWARE11_Mail__Media_GmbHToolbar_IE8
push reloc.OLEAUT32.dll_SysReAllocString
xor bl, bl
mov dword [esi], 0
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4067b7
mov eax, dword [ebp - 4]
push edi
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
push esi
lea edx, [ebp - 0xc]
push edx
push 0
push ecx
push eax
mov edi, eax
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4067a4
cmp dword [ebp - 0xc], 4
jne 0x4067a4
mov bl, 1
test edi, edi
je 0x4067af
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4067c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x570c50
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x5bafe0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax + 0x14], 8
mov byte [esp + 0x13], bl
mov dword [eax + 0x10], ebx
jb 0x406800
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
lea edx, [esp + 0x14]
push edx
push 0x20019
push ebx
push str.SOFTWARE11_Mail__Media_GmbHToolbar_IE8
mov dword [esp + 0x58], ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x406911
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ebx
lea ecx, [esp + 0x24]
push ecx
push ebx
push 0x591650
push esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x406906
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x40687e
cmp eax, 2
jne 0x406906
mov eax, dword [esp + 0x18]
shr eax, 1
mov dword [esp + 0x18], eax
cmp eax, 1
jbe 0x406901
lea edx, [eax - 1]
cmp edx, 0x80
ja 0x406901
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], 1
call fcn.00408f30
mov esi, dword [esp + 0x2c]
push 0x591650
lea eax, [esp + 0x24]
push eax
lea edi, [esp + 0x20]
call fcn.00412a20
test eax, eax
jne 0x4068f4
mov eax, dword [esp + 0x18]
cmp eax, 1
jbe 0x4068f4
dec eax
push eax
lea ecx, [esp + 0x30]
call fcn.00408f30
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [ebp + 8]
push ecx
push edx
call fcn.004092d0
lea ecx, [esp + 0x2c]
call fcn.00413b40
mov esi, dword [esp + 0x14]
mov byte [esp + 0x13], 1
cmp esi, ebx
je 0x406911
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret