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

Disassembly:
mov eax, 0x4cb138
call fcn.00496f6c
push ecx
push esi
mov esi, ecx
test byte [esi + 9], 0x10
je 0x432d9c
push 1
pop eax
jmp 0x432f74
test byte [esi + 4], 1
jne 0x432db3
push dword [esi + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x432db3
or dword [esi + 8], 1
push ebx
lea eax, [esi + 0x44]
push edi
push eax
lea ecx, [esi + 0x128]
call fcn.004b221d
lea eax, [esi + 0x48]
lea ecx, [esi + 0x12c]
push eax
call fcn.004b221d
lea edi, [esi + 0x130]
lea eax, [esi + 0x94]
push eax
mov ecx, edi
call fcn.004b221d
mov ecx, edi
call fcn.004afae9
mov ecx, edi
call fcn.004afa5d
mov eax, dword [edi]
cmp dword [eax - 8], 0
jne 0x432e0e
push dword [esi + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
mov ecx, edi
call fcn.004b226d
lea ebx, [esi + 0x2fc]
mov edi, 0x50832c
push edi
mov ecx, ebx
call fcn.004b226d
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
xor edx, edx
cmp eax, edx
jl 0x432e5c
jg 0x432e33
cmp ecx, edx
jbe 0x432e5c
push edx
push edx
push edx
push eax
lea eax, [ebp - 0x10]
push ecx
push eax
call fcn.00429186
add esp, 0x18
and dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.004b221d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b20d6
lea ebx, [esi + 0x300]
push edi
mov ecx, ebx
call fcn.004b226d
lea ecx, [esi + 0x304]
push edi
call fcn.004b226d
lea ecx, [esi + 0x308]
push edi
call fcn.004b226d
lea ecx, [esi + 0x30c]
push edi
call fcn.004b226d
lea ecx, [esi + 0x38]
call fcn.0043933c
mov edi, eax
test edi, edi
je 0x432f5d
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x38]
test ecx, ecx
jl 0x432ec0
jg 0x432eb0
test eax, eax
jbe 0x432ec0
push ecx
push eax
push str._d_f
push ebx
call fcn.004afa07
add esp, 0x10
mov eax, dword [edi + 0x58]
cmp eax, 0x2d0
jne 0x432ed1
push str.HD_720
jmp 0x432f07
cmp eax, 0x438
jne 0x432edf
push str.HD_1080
jmp 0x432f07
cmp eax, 0x5a0
jne 0x432eed
push str.QHD_2K
jmp 0x432f07
cmp eax, 0x870
jne 0x432efb
push str.UHD_4K
jmp 0x432f07
cmp eax, 0x10e0
jne 0x432f12
push str.UHD_8K
lea ecx, [esi + 0x304]
call fcn.004b226d
mov eax, dword [edi + 0x54]
mov ebx, str._dx_d
test eax, eax
jle 0x432f37
mov ecx, dword [edi + 0x58]
test ecx, ecx
jle 0x432f37
push ecx
push eax
lea eax, [esi + 0x308]
push ebx
push eax
call fcn.004afa07
add esp, 0x10
mov eax, dword [edi + 0x80]
test eax, eax
jle 0x432f5d
mov edi, dword [edi + 0x84]
test edi, edi
jle 0x432f5d
push edi
push eax
lea eax, [esi + 0x30c]
push ebx
push eax
call fcn.004afa07
add esp, 0x10
lea eax, [esi + 0xc]
lea ecx, [esi + 0x310]
push eax
call fcn.004b221d
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 0x432fec
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cb14c
call fcn.00496f6c
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp dword [eax - 8], 0
je 0x43301c
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43301c
push dword [esi + 0x10]
mov ecx, esi
call fcn.004332d9
test eax, eax
je 0x43308e
test byte [esi + 4], 1
jne 0x433069
mov eax, dword [0x503d10]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.004330a2
test eax, eax
jne 0x43305d
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004332d9
test eax, eax
jne 0x43305d
or byte [esi + 5], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b20d6
jmp 0x43308e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b20d6
push 0x4eef9c
push dword [esi + 0x128]
call fcn.00497025
pop ecx
test eax, eax
pop ecx
jne 0x433092
mov ecx, esi
call fcn.00433143
test eax, eax
jne 0x433092
or byte [esi + 5], 2
xor eax, eax
jmp 0x433095
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x432ff7
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cb14c
call fcn.00496f6c
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp dword [eax - 8], 0
je 0x43301c
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43301c
push dword [esi + 0x10]
mov ecx, esi
call fcn.004332d9
test eax, eax
je 0x43308e
test byte [esi + 4], 1
jne 0x433069
mov eax, dword [0x503d10]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.004330a2
test eax, eax
jne 0x43305d
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004332d9
test eax, eax
jne 0x43305d
or byte [esi + 5], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b20d6
jmp 0x43308e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b20d6
push 0x4eef9c
push dword [esi + 0x128]
call fcn.00497025
pop ecx
test eax, eax
pop ecx
jne 0x433092
mov ecx, esi
call fcn.00433143
test eax, eax
jne 0x433092
or byte [esi + 5], 2
xor eax, eax
jmp 0x433095
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4330a2
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cb160
call fcn.00496f6c
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0xc]
cmp dword [eax - 8], 0
je 0x43312b
test byte [ebx + 4], 1
jne 0x43312b
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.004b221d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004b20d6
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43313f
inc dword [ebp - 0x10]
add esi, 4
cmp dword [ebp - 0x10], 4
jb 0x4330e9
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 0x43312e

Function at 0x434bd6
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cb3f0
call fcn.00496f6c
sub esp, 0x4c
push dword [ebp + 8]
mov dword [ebp - 0x18], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x434d36
push ebx
push esi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
call fcn.004b214a
xor ebx, ebx
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], ebx
call fcn.0042e1e2
push ebx
lea ecx, [ebp - 0x58]
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0042e28c
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.004b214a
mov eax, dword [0x503d10]
mov dword [ebp - 0x10], eax
push 0x4fd2c4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004b24c7
lea ecx, [ebp - 0x38]
call fcn.0049625d
push ebx
lea ecx, [ebp - 0x38]
push dword [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00496322
xor esi, esi
cmp eax, ebx
je 0x434cf7
push edi
lea ecx, [ebp - 0x38]
call fcn.00496548
lea ecx, [ebp - 0x38]
mov edi, eax
call fcn.0049650b
test eax, eax
jne 0x434cee
lea eax, [ebp + 8]
lea ecx, [ebp - 0x38]
push eax
call fcn.00496617
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.004b221d
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.004b20d6
mov eax, dword [ebp - 0x38]
push 0x10
lea ecx, [ebp - 0x38]
call dword [eax + 0x38]
cmp eax, ebx
je 0x434cca
cmp dword [ebp + 0x10], ebx
je 0x434cee
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.00434bd6
jmp 0x434cec
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 8], ebx
je 0x434ce1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
call fcn.0042e364
test eax, eax
je 0x434cee
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.004349a3
add esi, eax
cmp edi, ebx
jne 0x434c68
pop edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.0049629c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004b20d6
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004b20d6
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.0042e250
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004b20d6
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x434d44
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4cb405
call fcn.00496f6c
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x1e8]
cmp eax, edi
jne 0x434d69
call fcn.00434dff
push 1
pop eax
jmp 0x434de1
push 0x74
call fcn.004b26aa
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x434d85
push esi
call fcn.00433390
jmp 0x434d87
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, edi
mov dword [esi + 0x1f8], eax
je 0x434dbb
push edi
push edi
push 4
mov ecx, eax
call fcn.004b6364
test eax, eax
jne 0x434dc0
mov ecx, dword [esi + 0x1f8]
cmp ecx, edi
je 0x434db5
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x1f8], edi
or eax, 0xffffffff
jmp 0x434de1
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 0x434dff
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4cb419
call fcn.00496f6c
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x168]
test eax, eax
jne 0x434e1e
push 1
pop eax
jmp 0x434e84
xor ebx, ebx
lea esi, [edi + 0x1fc]
push 0x78
call fcn.004b26aa
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x434e44
push edi
push ebx
mov ecx, eax
call fcn.0043344a
jmp 0x434e46
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi], eax
test eax, eax
je 0x434eaf
push 0
push 0
push 4
mov ecx, eax
call fcn.004b6364
test eax, eax
je 0x434e93
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 0x434e26
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 0x434eac
mov eax, dword [ecx]
push 1
call dword [eax + 4]
and dword [esi], 0
or eax, 0xffffffff
jmp 0x434e84

Function at 0x43515f
Capabilities:
Check if file exists

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

Disassembly:
mov eax, 0x4cbdd0
call fcn.00496f6c
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov edi, 0x508334
push str._sMediaProbe.exe
push edi
call fcn.004afa07
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [0x508334]
call esi
test eax, eax
jne 0x43a153
push str.MediaProbe.exe
mov ecx, edi
call fcn.004b226d
push ebx
mov edi, 0x508338
push str._sMediaEncode.exe
push edi
call fcn.004afa07
add esp, 0xc
push dword [0x508338]
call esi
test eax, eax
jne 0x43a17f
push str.MediaEncode.exe
mov ecx, edi
call fcn.004b226d
push dword [0x508338]
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.004b237b
push eax
mov ecx, 0x50833c
mov byte [ebp - 4], 1
call fcn.004b221d
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004b20d6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b20d6
push ebx
mov edi, 0x508340
push str._sMediaPlay.exe
push edi
call fcn.004afa07
add esp, 0xc
push dword [0x508340]
call esi
test eax, eax
jne 0x43a1f6
push str.MediaPlay.exe
mov ecx, edi
call fcn.004b226d
cmp dword [0x508344], 0
jne 0x43a2fa
mov eax, dword [0x503d10]
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.004afa07
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43a236
mov dword [0x508344], 6
cmp dword [0x508344], 0
jne 0x43a2ee
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_59.dll
push eax
call fcn.004afa07
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43a268
mov dword [0x508344], 5
cmp dword [0x508344], 0
jne 0x43a2ee
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_58.dll
push eax
call fcn.004afa07
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43a296
mov dword [0x508344], 4
cmp dword [0x508344], 0
jne 0x43a2ee
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_57.dll
push eax
call fcn.004afa07
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43a2c4
mov dword [0x508344], 3
cmp dword [0x508344], 0
jne 0x43a2ee
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_56.dll
push eax
call fcn.004afa07
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43a2ee
mov dword [0x508344], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004b20d6
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [0x508348], 1
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43a315
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [0x508340]
call esi
test eax, eax
je 0x43a335
xor eax, eax
push eax
push eax
push eax
push dword [0x508340]
jmp 0x43a365
push dword [0x508338]
call esi
test eax, eax
je 0x43a34e
xor eax, eax
push eax
push eax
push eax
push dword [0x508338]
jmp 0x43a365
push dword [0x508334]
call esi
test eax, eax
je 0x43a36d
xor eax, eax
push eax
push eax
push eax
push dword [0x508334]
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop esi
ret

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

Disassembly:
mov eax, 0x4cbec8
call fcn.00496f6c
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 0x43b418
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.004b20d6
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.004b20d6
push dword [ebp + 8]
lea edi, [esi + 0x70]
mov ecx, edi
call fcn.004b226d
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.0043b1bb
test eax, eax
je 0x43b46f
mov esi, eax
jmp 0x43b4a4
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 0x43b489
or esi, 0xffffffff
jmp 0x43b4a4
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 0x43b4a4
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 0x4aea20
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.00497170
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4aeaeb
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 0x4aeaeb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4aea9e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4aeaa9
or bh, 8
and edi, 0x8000000
je 0x4aeac4
mov eax, dword [0x50c25c]
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 0x4aeaeb
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 0x4b4ed7
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 0x4b4f19
call fcn.004c4d32
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x4b4f19
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b4f10
xor eax, eax
jmp 0x4b4f21
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b4f27
pop edi
pop esi
pop ebx
ret 4

Function at 0x4bc465
Capabilities:
Set registry value

Disassembly:
mov eax, 0x4cdd5c
call fcn.00496f6c
push ecx
push ecx
push esi
push 0x10
call fcn.004b26aa
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
and dword [ebp - 4], 0
test esi, esi
je 0x4bc4b2
mov ecx, esi
call fcn.004b7691
mov eax, dword [0x503d10]
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.004b226d
jmp 0x4bc4b4
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push 0x4eaa38
push eax
mov dword [ebp - 0x10], esi
call fcn.004985cc
pop esi
Function at 0x401910
Capabilities:
Copy file

Disassembly:
sub esp, 0x614
mov eax, dword [0x70bddc]
xor eax, esp
mov dword [esp + 0x610], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x118]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x114]
push 0x5c
push ecx
call fcn.005dcd40
mov esi, eax
inc esi
add esp, 8
cmp esi, 1
jne 0x40196b
push 0
push 0x14
push str..GenerateUpdaterXML.cpp
push str._DWORD_fname___1
call fcn.005b7080
add esp, 0x10
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x11c]
push ecx
call fcn.005b7ac0
add esp, 0xc
test al, al
jne 0x40199e
lea edx, [esp + 0x114]
push edx
push str.failed_to_get_crc_for__s_n
call fcn.005b6f40
add esp, 8
push str.1.6.1
push esi
lea eax, [esp + 0x18]
push str._s__s.exe
push eax
call fcn.00401aa0
add esp, 0x10
push 0
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x4019db
lea edx, [esp + 0x10]
push edx
push esi
push str.unable_to_copy__s___s_n
call fcn.005b6f40
add esp, 0xc
push 0x2f
push str.http:__147.50.253.115_TANAWANT_THONGPING_launcher_woupd.xml
call fcn.005dcd40
mov esi, eax
add esp, 8
test esi, esi
jne 0x401a05
push eax
push 0x21
push str..GenerateUpdaterXML.cpp
push str.updater_file
call fcn.005b7080
add esp, 0x10
lea edi, [esi + 1]
push 0x6d1550
push edi
call fcn.005b7fd0
mov esi, eax
push str._p__n
push esi
call fcn.005dcd6d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
push str.1.6.1
push ecx
lea edx, [esp + 0x2c]
push edx
push str.http:__147.50.253.115_TANAWANT_THONGPING_launcher_
push str.__u_url__s_s__crc__u__ver__s__size__u____n
push esi
call fcn.005dcd6d
push str.__p__n
push esi
call fcn.005dcd6d
push esi
call fcn.005dcf00
lea eax, [esp + 0x48]
push eax
push edi
lea ecx, [esp + 0x258]
push str.XML__s_generated_nnew_exe:_s
push ecx
call fcn.00401ac0
add esp, 0x48
push 0
push str.Updater_XML
lea edx, [esp + 0x220]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x618]
pop edi
pop esi
xor ecx, esp
call fcn.005dca77
add esp, 0x614
ret

Function at 0x402440
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemMultifunctionAdapter0DiskController0DiskPeripheral0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40248c
mov edx, dword [esp + 0xc]
lea ecx, [esp]
push ecx
add edx, 0x88
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push str.MHz
push eax
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 8
ret 4
Function at 0x403ba0
Capabilities:
Hide graphical window
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x62dd0e
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x70bddc]
xor eax, esp
mov dword [esp + 0x204], eax
push ebx
push esi
push edi
mov eax, dword [0x70bddc]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
call fcn.004134d0
cmp byte [0x8f2af4], 0
je 0x403c2d
call dword [sym.imp.KERNEL32.dll_AllocConsole]
call fcn.005ddd85
add eax, 0x20
push eax
push 0x6db844
push 0x6dbb4c
call fcn.005ddd5f
call fcn.005ddd85
push eax
push 0x6dbb54
push str.CONIN_
call fcn.005ddd5f
add esp, 0x18
mov dword [0x84db48], 1
jmp 0x403da7
mov eax, 0x8f3678
call fcn.004021c0
mov eax, dword [0x84dac8]
push 5
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [0x84dacc]
push eax
push 0
push 0x80
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [0x84dacc]
push 0x800000
push 0
push edx
call fcn.005b6510
mov eax, dword [0x84dacc]
push 0xc00000
push 0
push eax
call fcn.005b6510
mov ecx, dword [0x84dacc]
add esp, 0x18
push 0x403a10
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
call fcn.005c0b80
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateICA]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov esi, eax
push 8
push esi
call edi
push 0xa
push esi
mov ebx, eax
call edi
mov esi, eax
lea eax, [ebx - 0x311]
cdq
sub eax, edx
mov ecx, eax
push 0
lea eax, [esi - 0x28a]
cdq
push 0x28a
sub eax, edx
mov edx, dword [0x84dacc]
push 0x311
sar eax, 1
push eax
sar ecx, 1
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x102660
call fcn.005b8d20
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x220], 0
test eax, eax
je 0x403d20
mov ecx, eax
call fcn.005be540
jmp 0x403d22
xor eax, eax
mov dword [esp + 0x220], 0xffffffff
mov ecx, dword [0x84dacc]
push 0
push ecx
mov ecx, eax
mov dword [0x84db34], eax
call fcn.005b9ee0
call fcn.00403000
push str.Jun__8_2024_02:34:49
push str.1.6.1
lea edx, [esp + 0x1c]
push str.RKS_STUDIO__s___s_
push edx
call fcn.00406b40
mov ecx, dword [0x84dacc]
add esp, 0x10
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
call fcn.004033e0
mov edx, dword [0x84dacc]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call dword [sym.imp.USER32.dll_ClipCursor]
mov ecx, dword [0x84db3c]
call fcn.005c4320
mov ecx, dword [0x84db38]
call fcn.005c4560
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x204]
xor ecx, esp
call fcn.005dca77
add esp, 0x214
ret