joyce8/EMBER2024-capa huggingface dataset:
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, 0x50959c
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 [0x504f88]
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 0x4eff8c
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 [0x504f88]
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 0x4eff8c
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 [0x504f88]
mov dword [ebp - 0x10], eax
push 0x4fe53c
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 [0x509654]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x435194
push 0
push 0x414
push dword [0x509654]
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, 0x5095a4
push str._sMediaProbe.exe
push edi
call fcn.004afa67
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [0x5095a4]
call esi
test eax, eax
jne 0x43a1bc
push str.MediaProbe.exe
mov ecx, edi
call fcn.004b22cd
push ebx
mov edi, 0x5095a8
push str._sMediaEncode.exe
push edi
call fcn.004afa67
add esp, 0xc
push dword [0x5095a8]
call esi
test eax, eax
jne 0x43a1e8
push str.MediaEncode.exe
mov ecx, edi
call fcn.004b22cd
push dword [0x5095a8]
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, 0x5095ac
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, 0x5095b0
push str._sMediaPlay.exe
push edi
call fcn.004afa67
add esp, 0xc
push dword [0x5095b0]
call esi
test eax, eax
jne 0x43a25f
push str.MediaPlay.exe
mov ecx, edi
call fcn.004b22cd
cmp dword [0x5095b4], 0
jne 0x43a363
mov eax, dword [0x504f88]
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 [0x5095b4], 6
cmp dword [0x5095b4], 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 [0x5095b4], 5
cmp dword [0x5095b4], 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 [0x5095b4], 4
cmp dword [0x5095b4], 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 [0x5095b4], 3
cmp dword [0x5095b4], 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 [0x5095b4], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004b2136
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [0x5095b8], 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 [0x5095b0]
call esi
test eax, eax
je 0x43a39e
xor eax, eax
push eax
push eax
push eax
push dword [0x5095b0]
jmp 0x43a3ce
push dword [0x5095a8]
call esi
test eax, eax
je 0x43a3b7
xor eax, eax
push eax
push eax
push eax
push dword [0x5095a8]
jmp 0x43a3ce
push dword [0x5095a4]
call esi
test eax, eax
je 0x43a3d6
xor eax, eax
push eax
push eax
push eax
push dword [0x5095a4]
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 [0x50d4dc]
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 [0x504f88]
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 0x1000c560
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100bcee8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push dword [ebp + 8]
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.10001520
lea eax, [esp + 8]
push eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x30], 0
push dword [eax + 4]
mov ecx, esi
push dword [eax]
call fcn.1000c4f0
lea ecx, [esp + 8]
call fcn.10001560
mov ecx, dword [esp + 0x24]
mov dword [esi], vtable.std::ios_base::failure.0
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10014c80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100bcee8
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x40], 0
je 0x10014e0e
cmp byte [edi + 0x45], 0
je 0x10014e0e
call fcn.10001ad0
mov edx, dword [edi]
mov esi, eax
push esi
mov ecx, edi
call dword [edx + 0xc]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], esi
call fcn.1000be30
add esp, 8
test al, al
je 0x10014cf8
xor al, al
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 8
lea ecx, [esp + 0x28]
call fcn.1000ea10
mov dword [esp + 0x44], 0
lea ebx, [edi + 0x48]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
call fcn.10014bb0
mov ecx, eax
call fcn.10002c00
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.10001570
add esi, eax
push esi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
call fcn.10014bb0
mov ecx, eax
call fcn.10002c00
mov ecx, dword [edi + 0x40]
push eax
push ebx
call fcn.10014fc0
sub eax, 0
je 0x10014d87
dec eax
je 0x10014d8b
sub eax, 2
je 0x10014def
lea ecx, [esp + 0x20]
xor bl, bl
call fcn.10001560
mov al, bl
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x45], 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
call fcn.10014bb0
mov ecx, eax
call fcn.10002c00
mov esi, dword [esp + 0x14]
sub esi, eax
je 0x10014dd0
push dword [edi + 0x50]
lea eax, [esp + 0x20]
push esi
push 1
push eax
lea ecx, [esp + 0x30]
call fcn.10014bb0
mov ecx, eax
call fcn.10002c00
push eax
call fcn.10037a50
add esp, 0x10
cmp esi, eax
jne 0x10014d68
cmp byte [edi + 0x45], 0
je 0x10014def
test esi, esi
jne 0x10014d10
push esi
push 8
lea ecx, [esp + 0x28]
call fcn.10014b50
jmp 0x10014d10
lea ecx, [esp + 0x20]
mov bl, 1
call fcn.10001560
mov al, bl
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10018680
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100bd888
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x100fb4f0]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push esi
push edi
mov eax, dword [0x100fb4f0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [esp + 0x8c]
mov edi, dword [esp + 0x88]
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x14], ebx
call fcn.10018db0
add esp, 4
mov esi, eax
push 0x100e1fc8
mov edx, edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x84], 0
call fcn.100184e0
add esp, 4
push esi
mov edx, eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 1
call fcn.10018f50
add esp, 4
push str._is_not_a_valid_key_length
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x8c], 2
call fcn.10015af0
add esp, 0xc
mov esi, eax
mov ecx, ebx
mov byte [esp + 0x80], 3
call fcn.10036b5a
mov byte [esp + 0x80], 4
push esi
lea ecx, [ebx + 0x10]
mov dword [ebx], vtable.CryptoPP::Exception.0
mov dword [ebx + 0xc], 1
call fcn.10013d60
lea ecx, [esp + 0x44]
mov dword [ebx], vtable.CryptoPP::InvalidArgument.0
call fcn.10001560
lea ecx, [esp + 0x14]
call fcn.10001560
lea ecx, [esp + 0x2c]
call fcn.10001560
lea ecx, [esp + 0x5c]
call fcn.10001560
mov dword [ebx], vtable.CryptoPP::InvalidKeyLength.0
mov eax, ebx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.1003855b
add esp, 0x74
ret 8