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

Disassembly:
mov eax, 0x4c837c
call fcn.004943d8
push ecx
push esi
mov esi, ecx
test byte [esi + 9], 0x10
je 0x42fffe
push 1
pop eax
jmp 0x4301d6
test byte [esi + 4], 1
jne 0x430015
push dword [esi + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x430015
or dword [esi + 8], 1
push ebx
lea eax, [esi + 0x44]
push edi
push eax
lea ecx, [esi + 0x128]
call fcn.004af69d
lea eax, [esi + 0x48]
lea ecx, [esi + 0x12c]
push eax
call fcn.004af69d
lea edi, [esi + 0x130]
lea eax, [esi + 0x94]
push eax
mov ecx, edi
call fcn.004af69d
mov ecx, edi
call fcn.004acf69
mov ecx, edi
call fcn.004acedd
mov eax, dword [edi]
cmp dword [eax - 8], 0
jne 0x430070
push dword [esi + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
mov ecx, edi
call fcn.004af6ed
lea ebx, [esi + 0x2fc]
mov edi, 0x505770
push edi
mov ecx, ebx
call fcn.004af6ed
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
xor edx, edx
cmp eax, edx
jl 0x4300be
jg 0x430095
cmp ecx, edx
jbe 0x4300be
push edx
push edx
push edx
push eax
lea eax, [ebp - 0x10]
push ecx
push eax
call fcn.0042666a
add esp, 0x18
and dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.004af69d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004af556
lea ebx, [esi + 0x300]
push edi
mov ecx, ebx
call fcn.004af6ed
lea ecx, [esi + 0x304]
push edi
call fcn.004af6ed
lea ecx, [esi + 0x308]
push edi
call fcn.004af6ed
lea ecx, [esi + 0x30c]
push edi
call fcn.004af6ed
lea ecx, [esi + 0x38]
call fcn.004364e8
mov edi, eax
test edi, edi
je 0x4301bf
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x38]
test ecx, ecx
jl 0x430122
jg 0x430112
test eax, eax
jbe 0x430122
push ecx
push eax
push str._d_f
push ebx
call fcn.004ace87
add esp, 0x10
mov eax, dword [edi + 0x58]
cmp eax, 0x2d0
jne 0x430133
push str.HD_720
jmp 0x430169
cmp eax, 0x438
jne 0x430141
push str.HD_1080
jmp 0x430169
cmp eax, 0x5a0
jne 0x43014f
push str.QHD_2K
jmp 0x430169
cmp eax, 0x870
jne 0x43015d
push str.UHD_4K
jmp 0x430169
cmp eax, 0x10e0
jne 0x430174
push str.UHD_8K
lea ecx, [esi + 0x304]
call fcn.004af6ed
mov eax, dword [edi + 0x54]
mov ebx, str._dx_d
test eax, eax
jle 0x430199
mov ecx, dword [edi + 0x58]
test ecx, ecx
jle 0x430199
push ecx
push eax
lea eax, [esi + 0x308]
push ebx
push eax
call fcn.004ace87
add esp, 0x10
mov eax, dword [edi + 0x80]
test eax, eax
jle 0x4301bf
mov edi, dword [edi + 0x84]
test edi, edi
jle 0x4301bf
push edi
push eax
lea eax, [esi + 0x30c]
push ebx
push eax
call fcn.004ace87
add esp, 0x10
lea eax, [esi + 0xc]
lea ecx, [esi + 0x310]
push eax
call fcn.004af69d
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 0x430304
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c83a4
call fcn.004943d8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0xc]
cmp dword [eax - 8], 0
je 0x43038d
test byte [ebx + 4], 1
jne 0x43038d
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.0041a963
add esp, 0xc
and dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.004af69d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004af556
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4303a1
inc dword [ebp - 0x10]
add esi, 4
cmp dword [ebp - 0x10], 4
jb 0x43034b
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 0x430390

Function at 0x431e4d
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c8634
call fcn.004943d8
sub esp, 0x4c
push dword [ebp + 8]
mov dword [ebp - 0x18], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431fad
push ebx
push esi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
call fcn.004af5ca
xor ebx, ebx
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], ebx
call fcn.0042b64f
push ebx
lea ecx, [ebp - 0x58]
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0042b6f9
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.004af5ca
mov eax, dword [0x501140]
mov dword [ebp - 0x10], eax
push 0x4fa690
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004af947
lea ecx, [ebp - 0x38]
call fcn.004936c6
push ebx
lea ecx, [ebp - 0x38]
push dword [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0049378b
xor esi, esi
cmp eax, ebx
je 0x431f6e
push edi
lea ecx, [ebp - 0x38]
call fcn.004939b1
lea ecx, [ebp - 0x38]
mov edi, eax
call fcn.00493974
test eax, eax
jne 0x431f65
lea eax, [ebp + 8]
lea ecx, [ebp - 0x38]
push eax
call fcn.00493a80
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.004af69d
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.004af556
mov eax, dword [ebp - 0x38]
push 0x10
lea ecx, [ebp - 0x38]
call dword [eax + 0x38]
cmp eax, ebx
je 0x431f41
cmp dword [ebp + 0x10], ebx
je 0x431f65
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.00431e4d
jmp 0x431f63
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 8], ebx
je 0x431f58
push dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
call fcn.0042b7d1
test eax, eax
je 0x431f65
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.00431c1a
add esi, eax
cmp edi, ebx
jne 0x431edf
pop edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00493705
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004af556
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004af556
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.0042b6bd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004af556
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x431fbb
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4c8649
call fcn.004943d8
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x1e8]
cmp eax, edi
jne 0x431fe0
call fcn.00432076
push 1
pop eax
jmp 0x432058
push 0x74
call fcn.004afb2a
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x431ffc
push esi
call fcn.004305f2
jmp 0x431ffe
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, edi
mov dword [esi + 0x1f8], eax
je 0x432032
push edi
push edi
push 4
mov ecx, eax
call fcn.004b4455
test eax, eax
jne 0x432037
mov ecx, dword [esi + 0x1f8]
cmp ecx, edi
je 0x43202c
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x1f8], edi
or eax, 0xffffffff
jmp 0x432058
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 0x432076
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4c865d
call fcn.004943d8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x168]
test eax, eax
jne 0x432095
push 1
pop eax
jmp 0x4320fb
xor ebx, ebx
lea esi, [edi + 0x1fc]
push 0x78
call fcn.004afb2a
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x4320bb
push edi
push ebx
mov ecx, eax
call fcn.004306ac
jmp 0x4320bd
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi], eax
test eax, eax
je 0x432126
push 0
push 0
push 4
mov ecx, eax
call fcn.004b4455
test eax, eax
je 0x43210a
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 0x43209d
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 0x432123
mov eax, dword [ecx]
push 1
call dword [eax + 4]
and dword [esi], 0
or eax, 0xffffffff
jmp 0x4320fb

Function at 0x4323d6
Capabilities:
Check if file exists

Disassembly:
push dword [0x505828]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4323fb
push 0
push 0x414
push dword [0x505828]
call fcn.0041a769
add esp, 0xc
ret
Function at 0x4352a4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x4c8d8f
call fcn.004943d8
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x188]
mov dword [ebp - 4], 0x25
call fcn.004af556
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0x24
call fcn.004af556
lea ecx, [esi + 0x180]
mov byte [ebp - 4], 0x23
call fcn.004af556
lea ecx, [esi + 0x17c]
mov byte [ebp - 4], 0x22
call fcn.004af556
lea ecx, [esi + 0x178]
mov byte [ebp - 4], 0x21
call fcn.004af556
lea ecx, [esi + 0x174]
mov byte [ebp - 4], 0x20
call fcn.004af556
lea ecx, [esi + 0x140]
mov byte [ebp - 4], 0x1f
call fcn.004af556
lea ecx, [esi + 0x134]
mov byte [ebp - 4], 0x1e
call fcn.004af556
lea ecx, [esi + 0x130]
mov byte [ebp - 4], 0x1d
call fcn.004af556
lea ecx, [esi + 0x128]
mov byte [ebp - 4], 0x1c
call fcn.004af556
lea ecx, [esi + 0x124]
mov byte [ebp - 4], 0x1b
call fcn.004af556
lea ecx, [esi + 0x120]
mov byte [ebp - 4], 0x1a
call fcn.004af556
lea ecx, [esi + 0x11c]
mov byte [ebp - 4], 0x19
call fcn.004af556
mov byte [ebp - 4], 0x18
lea ecx, [esi + 0x104]
call fcn.004af556
lea ecx, [esi + 0x100]
mov byte [ebp - 4], 0x17
call fcn.004af556
lea ecx, [esi + 0xfc]
mov byte [ebp - 4], 0x16
call fcn.004af556
lea ecx, [esi + 0xf4]
mov byte [ebp - 4], 0x15
call fcn.004af556
lea ecx, [esi + 0xf0]
mov byte [ebp - 4], 0x14
call fcn.004af556
lea ecx, [esi + 0xec]
mov byte [ebp - 4], 0x13
call fcn.004af556
lea ecx, [esi + 0xe8]
mov byte [ebp - 4], 0x12
call fcn.004af556
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 0x11
call fcn.004af556
lea ecx, [esi + 0xbc]
mov byte [ebp - 4], 0x10
call fcn.004af556
lea ecx, [esi + 0xb8]
mov byte [ebp - 4], 0xf
call fcn.004af556
lea ecx, [esi + 0xb4]
mov byte [ebp - 4], 0xe
call fcn.004af556
lea ecx, [esi + 0xb0]
mov byte [ebp - 4], 0xd
call fcn.004af556
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 0xc
call fcn.004af556
lea ecx, [esi + 0xa4]
mov byte [ebp - 4], 0xb
call fcn.004af556
lea ecx, [esi + 0xa0]
mov byte [ebp - 4], 0xa
call fcn.004af556
lea ecx, [esi + 0x9c]
mov byte [ebp - 4], 9
call fcn.004af556
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 8
call fcn.004af556
lea ecx, [esi + 0x84]
mov byte [ebp - 4], 7
call fcn.004af556
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 6
call fcn.004af556
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 5
call fcn.004af556
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 4
call fcn.004af556
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 3
call fcn.004af556
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call fcn.004af556
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 1
call fcn.004af556
and byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.004af556
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.004af556
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x435b83
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c8ece
call fcn.004943d8
sub esp, 0x248
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.0041c773
pop ecx
mov eax, dword [eax]
push 1
xor esi, esi
push 1
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.00419d6a
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004af556
lea ecx, [ebp - 0x8c]
call fcn.00435a61
push dword [ebp + 0x2c]
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 3
push dword [ebp + 0x28]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x20]
push dword [ebp + 8]
call fcn.004356eb
cmp eax, esi
je 0x435bff
mov byte [ebp - 4], 4
mov esi, eax
jmp 0x435ce8
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x435c18
mov byte [ebp - 4], 5
or esi, 0xffffffff
jmp 0x435ce8
push esi
lea ecx, [ebp - 0x254]
call fcn.0043bc30
push 3
lea ecx, [ebp - 0x254]
push dword [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.0043ce70
test al, al
jne 0x435c66
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 3
mov dword [ebp - 0x254], 0x4d02f8
call fcn.0043bd00
lea ecx, [ebp - 0x254]
call fcn.0043bc50
mov byte [ebp - 4], 7
jmp 0x435c10
cmp dword [ebp + 0x24], esi
jle 0x435cb0
cmp dword [ebp + 0x20], esi
jle 0x435cb0
push edi
lea ecx, [ebp - 0x254]
call fcn.00439d00
lea ecx, [ebp - 0x254]
mov edi, eax
call fcn.00439cf0
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
lea eax, [ebp + 0x18]
push edi
push eax
call fcn.00437258
push dword [ebp + 0x1c]
lea eax, [ebp - 0x254]
push dword [ebp + 0x18]
push eax
call fcn.00417f81
add esp, 0x20
pop edi
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x254]
push esi
push eax
call fcn.0043c250
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 3
mov dword [ebp - 0x254], 0x4d02f8
call fcn.0043bd00
lea ecx, [ebp - 0x254]
call fcn.0043bc50
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x74]
call fcn.004af556
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x8c], 0x4d07c4
call fcn.00419dd7
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4372bb
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c9014
call fcn.004943d8
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov edi, 0x50577c
push str._sMediaProbe.exe
push edi
call fcn.004ace87
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [0x50577c]
call esi
test eax, eax
jne 0x4372ff
push str.MediaProbe.exe
mov ecx, edi
call fcn.004af6ed
push ebx
mov edi, 0x505780
push str._sMediaEncode.exe
push edi
call fcn.004ace87
add esp, 0xc
push dword [0x505780]
call esi
test eax, eax
jne 0x43732b
push str.MediaEncode.exe
mov ecx, edi
call fcn.004af6ed
push dword [0x505780]
lea eax, [ebp - 0x14]
push eax
call fcn.0041a858
pop ecx
pop ecx
and dword [ebp - 4], 0
push str.Presets
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004af7fb
push eax
mov ecx, 0x505784
mov byte [ebp - 4], 1
call fcn.004af69d
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004af556
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004af556
push ebx
mov edi, 0x505788
push str._sMediaPlay.exe
push edi
call fcn.004ace87
add esp, 0xc
push dword [0x505788]
call esi
test eax, eax
jne 0x4373a2
push str.MediaPlay.exe
mov ecx, edi
call fcn.004af6ed
cmp dword [0x50578c], 0
jne 0x4374a6
mov eax, dword [0x501140]
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.004ace87
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x4373e2
mov dword [0x50578c], 6
cmp dword [0x50578c], 0
jne 0x43749a
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_59.dll
push eax
call fcn.004ace87
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x437414
mov dword [0x50578c], 5
cmp dword [0x50578c], 0
jne 0x43749a
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_58.dll
push eax
call fcn.004ace87
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x437442
mov dword [0x50578c], 4
cmp dword [0x50578c], 0
jne 0x43749a
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_57.dll
push eax
call fcn.004ace87
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x437470
mov dword [0x50578c], 3
cmp dword [0x50578c], 0
jne 0x43749a
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_56.dll
push eax
call fcn.004ace87
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43749a
mov dword [0x50578c], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004af556
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [0x505790], 1
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4374c1
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [0x505788]
call esi
test eax, eax
je 0x4374e1
xor eax, eax
push eax
push eax
push eax
push dword [0x505788]
jmp 0x437511
push dword [0x505780]
call esi
test eax, eax
je 0x4374fa
xor eax, eax
push eax
push eax
push eax
push dword [0x505780]
jmp 0x437511
push dword [0x50577c]
call esi
test eax, eax
je 0x437519
xor eax, eax
push eax
push eax
push eax
push dword [0x50577c]
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop esi
ret

Function at 0x4379da
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4c9052
call fcn.004943d8
push ecx
push ebx
push esi
push edi
push 1
mov esi, ecx
pop edi
mov dword [ebp - 0x10], esi
and dword [esi + 8], 0
mov dword [esi + 4], 0xbb8
mov dword [esi], 0x4d2e2c
mov dword [esi + 0xc], edi
mov eax, dword [0x501140]
and dword [ebp - 4], 0
lea ebx, [esi + 0x20]
mov dword [ebx], eax
mov eax, dword [0x501140]
mov dword [esi + 0x24], eax
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 2
call fcn.00408ede
and dword [esi + 0x10], 0
and dword [esi + 0x1c], 0
mov dword [esi], 0x4d2f50
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov eax, dword [0x50578c]
test eax, eax
je 0x437a5b
cmp eax, 2
jg 0x437a5b
push str.windib
mov ecx, ebx
call fcn.004af6ed
push str.dsound
jmp 0x437a6c
push 0x4fb2b8
mov ecx, ebx
call fcn.004af6ed
push str.winmm
lea ecx, [esi + 0x24]
call fcn.004af6ed
mov ecx, dword [ebp - 0xc]
xor eax, eax
or dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x30], 0x64
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43852d
Capabilities:
Check if file exists
Set current directory

Disassembly:
mov eax, 0x4c910c
call fcn.004943d8
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 0x43856b
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0041a858
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x10]
call fcn.004af556
lea eax, [ebp - 0x14]
push eax
call fcn.0041c773
pop ecx
mov eax, dword [eax]
and dword [ebp - 4], 0
push 1
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00419d6a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004af556
push dword [ebp + 8]
lea edi, [esi + 0x18]
mov ecx, edi
call fcn.004af6ed
push dword [ebp + 0x10]
mov eax, esi
neg eax
push dword [ebp - 0x24]
lea ecx, [esi + 0x10]
sbb eax, eax
and eax, ecx
mov ecx, esi
push eax
call fcn.0043830a
test eax, eax
je 0x4385c2
mov esi, eax
jmp 0x4385f7
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 + 0x24]
test eax, eax
je 0x4385dc
or esi, 0xffffffff
jmp 0x4385f7
mov edi, dword [edi]
mov eax, dword [esi]
push edi
push ebx
mov ecx, esi
call dword [eax + 0x28]
or esi, 0xffffffff
cmp eax, esi
je 0x4385f7
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.00419dd7
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x44a2c0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x44a2f0
push esi
call fcn.0044a7c0
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x44a2e9
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x44a373
mov eax, dword [esi + 0x1a0]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x44a35f
mov eax, dword [esi + 8]
test eax, eax
je 0x44a314
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1a0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44a35b
cmp eax, 2
je 0x44a35f
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44a307
cmp eax, 3
je 0x44a33a
cmp eax, 1
jne 0x44a307
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44a307
mov edx, dword [esi + 0x120]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44a307
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.0044a3a0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44a393
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.0044a3a0
add esp, 4
pop esi
ret
Function at 0x472230
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x47224a
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x47224a
mov edx, dword [esp + 8]
push edx
push ecx
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x473e20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 8], esi
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
push eax
push ecx
push 1
call fcn.00475810
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, esi
jne 0x473e53
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov eax, 0xf4240
mov dword [edx + 0x258], eax
mov ecx, dword [ebp - 4]
push 0x40
mov dword [ecx + 0x25c], eax
push fcn.004977d4
mov edx, dword [ebp - 4]
push edx
call fcn.004721d0
push esi
push eax
call fcn.00497850
add esp, 0x14
test eax, eax
je 0x473e8f
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push eax
push ecx
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00475a30
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00472290
mov edi, dword [ebp + 8]
add esp, 0x20
cmp edi, esi
mov ebx, 0x20000
je 0x473ef9
push 0
call fcn.004729c0
mov dl, byte [esi + edi]
mov cl, byte [eax + esi]
add esp, 4
cmp dl, cl
je 0x473ee7
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x70]
or ecx, ebx
mov dword [eax + 0x70], ecx
push 0
call fcn.004729c0
mov al, byte [eax + esi]
add esp, 4
inc esi
test al, al
jne 0x473ec8
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x70]
test ebx, eax
je 0x473f71
test edi, edi
je 0x473f6a
mov bl, byte [edi]
push 0
call fcn.004729c0
mov cl, byte [eax]
add esp, 4
cmp bl, cl
jne 0x473f3d
cmp bl, 0x31
jne 0x473f32
push 0
call fcn.004729c0
mov dl, byte [edi + 2]
mov cl, byte [eax + 2]
add esp, 4
cmp dl, cl
jne 0x473f3d
cmp byte [edi], 0x30
jne 0x473f71
cmp byte [edi + 2], 0x39
jge 0x473f71
test edi, edi
je 0x473f6a
push 0
call fcn.004729c0
push eax
push edi
push str.Application_built_with_libpng__.20s_but_running_with__.20s
lea eax, [ebp - 0x58]
push 0x50
push eax
call fcn.00497c62
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00471ff0
add esp, 0x20
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0xb4], 0x2000
mov eax, dword [ebp - 8]
test eax, eax
jne 0x473fbf
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xb4]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00475a00
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xb0], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xb0]
test eax, eax
jne 0x473fb8
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
test eax, eax
je 0x473ffc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xb0]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004759b0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x20]
push ecx
mov dword [eax + 0xb0], 0
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004758b0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00475790
mov edx, dword [ebp - 4]
push edx
call fcn.00474520
add esp, 0x14
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret