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

Disassembly:
mov eax, 0x4c7e88
call fcn.004571b8
push ecx
push esi
mov esi, ecx
test byte [esi + 9], 0x10
je 0x42c1f7
push 1
pop eax
jmp 0x42c3cf
test byte [esi + 4], 1
jne 0x42c20e
push dword [esi + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42c20e
or dword [esi + 8], 1
push ebx
lea eax, [esi + 0x44]
push edi
push eax
lea ecx, [esi + 0x128]
call fcn.004af76d
lea eax, [esi + 0x48]
lea ecx, [esi + 0x12c]
push eax
call fcn.004af76d
lea edi, [esi + 0x130]
lea eax, [esi + 0x94]
push eax
mov ecx, edi
call fcn.004af76d
mov ecx, edi
call fcn.004ad039
mov ecx, edi
call fcn.004acfad
mov eax, dword [edi]
cmp dword [eax - 8], 0
jne 0x42c269
push dword [esi + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
mov ecx, edi
call fcn.004af7bd
lea ebx, [esi + 0x2fc]
mov edi, 0x504b6c
push edi
mov ecx, ebx
call fcn.004af7bd
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
xor edx, edx
cmp eax, edx
jl 0x42c2b7
jg 0x42c28e
cmp ecx, edx
jbe 0x42c2b7
push edx
push edx
push edx
push eax
lea eax, [ebp - 0x10]
push ecx
push eax
call fcn.0042692e
add esp, 0x18
and dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.004af76d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004af626
lea ebx, [esi + 0x300]
push edi
mov ecx, ebx
call fcn.004af7bd
lea ecx, [esi + 0x304]
push edi
call fcn.004af7bd
lea ecx, [esi + 0x308]
push edi
call fcn.004af7bd
lea ecx, [esi + 0x30c]
push edi
call fcn.004af7bd
lea ecx, [esi + 0x38]
call fcn.0043680e
mov edi, eax
test edi, edi
je 0x42c3b8
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x38]
test ecx, ecx
jl 0x42c31b
jg 0x42c30b
test eax, eax
jbe 0x42c31b
push ecx
push eax
push str._d_f
push ebx
call fcn.004acf57
add esp, 0x10
mov eax, dword [edi + 0x58]
cmp eax, 0x2d0
jne 0x42c32c
push str.HD_720
jmp 0x42c362
cmp eax, 0x438
jne 0x42c33a
push str.HD_1080
jmp 0x42c362
cmp eax, 0x5a0
jne 0x42c348
push str.QHD_2K
jmp 0x42c362
cmp eax, 0x870
jne 0x42c356
push str.UHD_4K
jmp 0x42c362
cmp eax, 0x10e0
jne 0x42c36d
push str.UHD_8K
lea ecx, [esi + 0x304]
call fcn.004af7bd
mov eax, dword [edi + 0x54]
mov ebx, str._dx_d
test eax, eax
jle 0x42c392
mov ecx, dword [edi + 0x58]
test ecx, ecx
jle 0x42c392
push ecx
push eax
lea eax, [esi + 0x308]
push ebx
push eax
call fcn.004acf57
add esp, 0x10
mov eax, dword [edi + 0x80]
test eax, eax
jle 0x42c3b8
mov edi, dword [edi + 0x84]
test edi, edi
jle 0x42c3b8
push edi
push eax
lea eax, [esi + 0x30c]
push ebx
push eax
call fcn.004acf57
add esp, 0x10
lea eax, [esi + 0xc]
lea ecx, [esi + 0x310]
push eax
call fcn.004af76d
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 0x42c447
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c7e9c
call fcn.004571b8
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp dword [eax - 8], 0
je 0x42c477
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c477
push dword [esi + 0x10]
mov ecx, esi
call fcn.0042c734
test eax, eax
je 0x42c4e9
test byte [esi + 4], 1
jne 0x42c4c4
mov eax, dword [0x4fcda8]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.0042c4fd
test eax, eax
jne 0x42c4b8
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0042c734
test eax, eax
jne 0x42c4b8
or byte [esi + 5], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004af626
jmp 0x42c4e9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004af626
push 0x4ebe08
push dword [esi + 0x128]
call fcn.00457275
pop ecx
test eax, eax
pop ecx
jne 0x42c4ed
mov ecx, esi
call fcn.0042c59e
test eax, eax
jne 0x42c4ed
or byte [esi + 5], 2
xor eax, eax
jmp 0x42c4f0
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x42c452
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c7e9c
call fcn.004571b8
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp dword [eax - 8], 0
je 0x42c477
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c477
push dword [esi + 0x10]
mov ecx, esi
call fcn.0042c734
test eax, eax
je 0x42c4e9
test byte [esi + 4], 1
jne 0x42c4c4
mov eax, dword [0x4fcda8]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.0042c4fd
test eax, eax
jne 0x42c4b8
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0042c734
test eax, eax
jne 0x42c4b8
or byte [esi + 5], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004af626
jmp 0x42c4e9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004af626
push 0x4ebe08
push dword [esi + 0x128]
call fcn.00457275
pop ecx
test eax, eax
pop ecx
jne 0x42c4ed
mov ecx, esi
call fcn.0042c59e
test eax, eax
jne 0x42c4ed
or byte [esi + 5], 2
xor eax, eax
jmp 0x42c4f0
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x42c4fd
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c7eb0
call fcn.004571b8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0xc]
cmp dword [eax - 8], 0
je 0x42c586
test byte [ebx + 4], 1
jne 0x42c586
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.0041aae9
add esp, 0xc
and dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.004af76d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004af626
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42c59a
inc dword [ebp - 0x10]
add esi, 4
cmp dword [ebp - 0x10], 4
jb 0x42c544
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 0x42c589

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

Disassembly:
mov eax, 0x4c83da
call fcn.004571b8
push ecx
mov eax, dword [0x4fcda8]
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 [0x4fcda8]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 0x10], eax
mov ebx, 0x504b6c
mov byte [ebp - 4], 1
push ebx
mov dword [esi], 0x4d2108
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call fcn.004af7bd
push ebx
lea ecx, [esi + 0x10]
call fcn.004af7bd
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 0x42e8d2
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c84e4
call fcn.004571b8
sub esp, 0x48
push dword [ebp + 8]
mov dword [ebp - 0x18], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42ea0f
push ebx
push esi
lea ecx, [ebp - 0x54]
call fcn.0042b969
xor ebx, ebx
lea ecx, [ebp - 0x54]
push ebx
mov dword [ebp - 4], ebx
push dword [ebp + 0xc]
call fcn.0042ba13
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.004af69a
mov eax, dword [0x4fcda8]
mov dword [ebp - 0x10], eax
push 0x4f9350
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004afa17
lea ecx, [ebp - 0x34]
call fcn.004564a6
push ebx
lea ecx, [ebp - 0x34]
push dword [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0045656b
xor esi, esi
cmp eax, ebx
je 0x42e9dc
push edi
lea ecx, [ebp - 0x34]
call fcn.00456791
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.00456754
test eax, eax
jne 0x42e9d3
lea eax, [ebp + 8]
lea ecx, [ebp - 0x34]
push eax
call fcn.00456860
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.004af76d
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.004af626
mov eax, dword [ebp - 0x34]
push 0x10
lea ecx, [ebp - 0x34]
call dword [eax + 0x38]
cmp eax, ebx
je 0x42e9b7
cmp dword [ebp + 0x10], ebx
je 0x42e9d3
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.0042e8d2
jmp 0x42e9d1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x54]
call fcn.0042baeb
test eax, eax
je 0x42e9d3
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.0042dde9
add esi, eax
cmp edi, ebx
jne 0x42e955
pop edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.004564e5
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004af626
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004af626
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.0042b9d7
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x42ea1d
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4c84f9
call fcn.004571b8
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x1e8]
cmp eax, edi
jne 0x42ea42
call fcn.0042ead8
push 1
pop eax
jmp 0x42eaba
push 0x74
call fcn.004afbfa
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x42ea5e
push esi
call fcn.0042c7eb
jmp 0x42ea60
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, edi
mov dword [esi + 0x1f8], eax
je 0x42ea94
push edi
push edi
push 4
mov ecx, eax
call fcn.004b39c2
test eax, eax
jne 0x42ea99
mov ecx, dword [esi + 0x1f8]
cmp ecx, edi
je 0x42ea8e
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x1f8], edi
or eax, 0xffffffff
jmp 0x42eaba
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 0x42ead8
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4c850d
call fcn.004571b8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x168]
test eax, eax
jne 0x42eaf7
push 1
pop eax
jmp 0x42eb5d
xor ebx, ebx
lea esi, [edi + 0x1fc]
push 0x78
call fcn.004afbfa
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x42eb1d
push edi
push ebx
mov ecx, eax
call fcn.0042c89f
jmp 0x42eb1f
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi], eax
test eax, eax
je 0x42eb88
push 0
push 0
push 4
mov ecx, eax
call fcn.004b39c2
test eax, eax
je 0x42eb6c
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 0x42eaff
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 0x42eb85
mov eax, dword [ecx]
push 1
call dword [eax + 4]
and dword [esi], 0
or eax, 0xffffffff
jmp 0x42eb5d

Function at 0x42ee38
Capabilities:
Check if file exists

Disassembly:
push dword [0x504c20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42ee5d
push 0
push 0x414
push dword [0x504c20]
call fcn.0041a8ef
add esp, 0xc
ret
Function at 0x437638
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c9244
call fcn.004571b8
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov edi, 0x504b74
push str._sMediaProbe.exe
push edi
call fcn.004acf57
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [0x504b74]
call esi
test eax, eax
jne 0x43767c
push str.MediaProbe.exe
mov ecx, edi
call fcn.004af7bd
push ebx
mov edi, 0x504b78
push str._sMediaEncode.exe
push edi
call fcn.004acf57
add esp, 0xc
push dword [0x504b78]
call esi
test eax, eax
jne 0x4376a8
push str.MediaEncode.exe
mov ecx, edi
call fcn.004af7bd
push dword [0x504b78]
lea eax, [ebp - 0x14]
push eax
call fcn.0041a9de
pop ecx
pop ecx
and dword [ebp - 4], 0
push str.Presets
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004af8cb
push eax
mov ecx, 0x504b7c
mov byte [ebp - 4], 1
call fcn.004af76d
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004af626
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004af626
push ebx
mov edi, 0x504b80
push str._sMediaPlay.exe
push edi
call fcn.004acf57
add esp, 0xc
push dword [0x504b80]
call esi
test eax, eax
jne 0x43771f
push str.MediaPlay.exe
mov ecx, edi
call fcn.004af7bd
cmp dword [0x504b84], 0
jne 0x437823
mov eax, dword [0x4fcda8]
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.004acf57
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43775f
mov dword [0x504b84], 6
cmp dword [0x504b84], 0
jne 0x437817
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_59.dll
push eax
call fcn.004acf57
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x437791
mov dword [0x504b84], 5
cmp dword [0x504b84], 0
jne 0x437817
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_58.dll
push eax
call fcn.004acf57
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x4377bf
mov dword [0x504b84], 4
cmp dword [0x504b84], 0
jne 0x437817
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_57.dll
push eax
call fcn.004acf57
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x4377ed
mov dword [0x504b84], 3
cmp dword [0x504b84], 0
jne 0x437817
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_56.dll
push eax
call fcn.004acf57
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x437817
mov dword [0x504b84], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004af626
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [0x504b88], 1
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43783e
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [0x504b80]
call esi
test eax, eax
je 0x43785e
xor eax, eax
push eax
push eax
push eax
push dword [0x504b80]
jmp 0x43788e
push dword [0x504b78]
call esi
test eax, eax
je 0x437877
xor eax, eax
push eax
push eax
push eax
push dword [0x504b78]
jmp 0x43788e
push dword [0x504b74]
call esi
test eax, eax
je 0x437896
xor eax, eax
push eax
push eax
push eax
push dword [0x504b74]
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop esi
ret

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

Disassembly:
mov eax, 0x4c933c
call fcn.004571b8
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 0x438941
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0041a9de
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x10]
call fcn.004af626
lea eax, [ebp - 0x14]
push eax
call fcn.0041ca6b
pop ecx
mov eax, dword [eax]
and dword [ebp - 4], 0
push 1
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00419ef0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004af626
push dword [ebp + 8]
lea edi, [esi + 0x70]
mov ecx, edi
call fcn.004af7bd
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.004386e4
test eax, eax
je 0x438998
mov esi, eax
jmp 0x4389cd
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 0x4389b2
or esi, 0xffffffff
jmp 0x4389cd
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 0x4389cd
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.00419f5d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x46ec90
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.004572b0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x46ed5b
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 0x46ed5b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x46ed0e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x46ed19
or bh, 8
and edi, 0x8000000
je 0x46ed34
mov eax, dword [0x508abc]
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 0x46ed5b
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 0x4b0adf
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4b0b17
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004afae4
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004afabb
jmp 0x4b0b23
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4b2423
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 0x4b2465
call fcn.004c22eb
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x4b2465
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b245c
xor eax, eax
jmp 0x4b246d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b2473
pop edi
pop esi
pop ebx
ret 4

Function at 0x4b99e7
Capabilities:
Set registry value

Disassembly:
mov eax, 0x4cb1cc
call fcn.004571b8
push ecx
push ecx
push esi
push 0x10
call fcn.004afbfa
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
and dword [ebp - 4], 0
test esi, esi
je 0x4b9a34
mov ecx, esi
call fcn.004b4c13
mov eax, dword [0x4fcda8]
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.004af7bd
jmp 0x4b9a36
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push 0x4e7e90
push eax
mov dword [ebp - 0x10], esi
call fcn.0045880f
pop esi
Function at 0x405590
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4055ae
or eax, eax
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0xc], eax
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [esp + 4]
push 0x10
push edx
push esi
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4055ef
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x419610
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11000]
push edi
or ebp, 0xffffffff
jmp 0x419632
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419639
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419628
mov eax, 1
add ebx, ebx
jne 0x41964b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419640
jne 0x41965c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419640
xor ecx, ecx
sub eax, 3
jb 0x419670
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4196e2
mov ebp, eax
add ebx, ebx
jne 0x41967b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419688
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4196ac
inc ecx
add ebx, ebx
jne 0x419698
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41968d
jne 0x4196a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41968d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4196cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4196bd
jmp 0x41962e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4196cc
add edi, ecx
jmp 0x41962e
pop esi
mov edi, esi
mov ecx, 0x5ce
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4196ea
cmp byte [edi], 0
jne 0x4196ea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x4196ef
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x41975e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x191e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1924c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41971c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19250]
or eax, eax
je 0x419758
mov dword [ebx], eax
add ebx, 4
jmp 0x419739
call dword [esi + 0x19254]
popal
jmp 0x40e274