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

Disassembly:
mov eax, 0x4c9548
call fcn.00495c00
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp dword [eax - 8], 0
je 0x42dbdc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42dbdc
push dword [esi + 0x10]
mov ecx, esi
call fcn.0042de99
test eax, eax
je 0x42dc4e
test byte [esi + 4], 1
jne 0x42dc29
mov eax, dword [0x502798]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.0042dc62
test eax, eax
jne 0x42dc1d
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0042de99
test eax, eax
jne 0x42dc1d
or byte [esi + 5], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b0d76
jmp 0x42dc4e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b0d76
push 0x4edd1c
push dword [esi + 0x128]
call fcn.00495cb5
pop ecx
test eax, eax
pop ecx
jne 0x42dc52
mov ecx, esi
call fcn.0042dd03
test eax, eax
jne 0x42dc52
or byte [esi + 5], 2
xor eax, eax
jmp 0x42dc55
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x42dbb7
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c9548
call fcn.00495c00
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp dword [eax - 8], 0
je 0x42dbdc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42dbdc
push dword [esi + 0x10]
mov ecx, esi
call fcn.0042de99
test eax, eax
je 0x42dc4e
test byte [esi + 4], 1
jne 0x42dc29
mov eax, dword [0x502798]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.0042dc62
test eax, eax
jne 0x42dc1d
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0042de99
test eax, eax
jne 0x42dc1d
or byte [esi + 5], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b0d76
jmp 0x42dc4e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b0d76
push 0x4edd1c
push dword [esi + 0x128]
call fcn.00495cb5
pop ecx
test eax, eax
pop ecx
jne 0x42dc52
mov ecx, esi
call fcn.0042dd03
test eax, eax
jne 0x42dc52
or byte [esi + 5], 2
xor eax, eax
jmp 0x42dc55
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x42dc62
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c955c
call fcn.00495c00
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0xc]
cmp dword [eax - 8], 0
je 0x42dceb
test byte [ebx + 4], 1
jne 0x42dceb
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.0041bfa6
add esp, 0xc
and dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.004b0ebd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004b0d76
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42dcff
inc dword [ebp - 0x10]
add esi, 4
cmp dword [ebp - 0x10], 4
jb 0x42dca9
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 0x42dcee

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

Disassembly:
mov eax, 0x4c9a86
call fcn.00495c00
push ecx
mov eax, dword [0x502798]
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 [0x502798]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 0x10], eax
mov ebx, 0x506dbc
mov byte [ebp - 4], 1
push ebx
mov dword [esi], 0x4d36e0
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call fcn.004b0f0d
push ebx
lea ecx, [esi + 0x10]
call fcn.004b0f0d
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 0x43001e
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4c9b90
call fcn.00495c00
sub esp, 0x48
push dword [ebp + 8]
mov dword [ebp - 0x18], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43015b
push ebx
push esi
lea ecx, [ebp - 0x54]
call fcn.0042d028
xor ebx, ebx
lea ecx, [ebp - 0x54]
push ebx
mov dword [ebp - 4], ebx
push dword [ebp + 0xc]
call fcn.0042d0d2
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.004b0dea
mov eax, dword [0x502798]
mov dword [ebp - 0x10], eax
push 0x4fb590
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004b1167
lea ecx, [ebp - 0x34]
call fcn.00494eee
push ebx
lea ecx, [ebp - 0x34]
push dword [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00494fb3
xor esi, esi
cmp eax, ebx
je 0x430128
push edi
lea ecx, [ebp - 0x34]
call fcn.004951d9
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.0049519c
test eax, eax
jne 0x43011f
lea eax, [ebp + 8]
lea ecx, [ebp - 0x34]
push eax
call fcn.004952a8
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.004b0ebd
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.004b0d76
mov eax, dword [ebp - 0x34]
push 0x10
lea ecx, [ebp - 0x34]
call dword [eax + 0x38]
cmp eax, ebx
je 0x430103
cmp dword [ebp + 0x10], ebx
je 0x43011f
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.0043001e
jmp 0x43011d
push dword [ebp - 0x10]
lea ecx, [ebp - 0x54]
call fcn.0042d1aa
test eax, eax
je 0x43011f
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.0042f530
add esi, eax
cmp edi, ebx
jne 0x4300a1
pop edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00494f2d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004b0d76
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004b0d76
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.0042d096
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x430169
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4c9ba5
call fcn.00495c00
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x1e8]
cmp eax, edi
jne 0x43018e
call fcn.00430224
push 1
pop eax
jmp 0x430206
push 0x74
call fcn.004b134a
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x4301aa
push esi
call fcn.0042df50
jmp 0x4301ac
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, edi
mov dword [esi + 0x1f8], eax
je 0x4301e0
push edi
push edi
push 4
mov ecx, eax
call fcn.004b5c75
test eax, eax
jne 0x4301e5
mov ecx, dword [esi + 0x1f8]
cmp ecx, edi
je 0x4301da
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x1f8], edi
or eax, 0xffffffff
jmp 0x430206
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 0x430224
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4c9bb9
call fcn.00495c00
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x168]
test eax, eax
jne 0x430243
push 1
pop eax
jmp 0x4302a9
xor ebx, ebx
lea esi, [edi + 0x1fc]
push 0x78
call fcn.004b134a
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x430269
push edi
push ebx
mov ecx, eax
call fcn.0042e004
jmp 0x43026b
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi], eax
test eax, eax
je 0x4302d4
push 0
push 0
push 4
mov ecx, eax
call fcn.004b5c75
test eax, eax
je 0x4302b8
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 0x43024b
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 0x4302d1
mov eax, dword [ecx]
push 1
call dword [eax + 4]
and dword [esi], 0
or eax, 0xffffffff
jmp 0x4302a9

Function at 0x430584
Capabilities:
Check if file exists

Disassembly:
push dword [0x506e74]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4305a9
push 0
push 0x414
push dword [0x506e74]
call fcn.0041bdac
add esp, 0xc
ret
Function at 0x436c69
Capabilities:
Contain obfuscated stackstrings

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

Disassembly:
mov eax, 0x4ca7aa
call fcn.00495c00
sub esp, 0x2a0
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0041e15c
pop ecx
mov eax, dword [eax]
push 1
xor edi, edi
push 1
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.0041b3ad
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004b0d76
lea ecx, [ebp - 0xe4]
call fcn.00437426
push dword [ebp + 0x2c]
lea ecx, [ebp - 0xe4]
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.004370b0
mov esi, eax
cmp esi, edi
je 0x437660
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.004b0d76
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x4d4674
call fcn.00430de0
jmp 0x437789
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x437696
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.004b0d76
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x4d4674
call fcn.00430de0
or esi, 0xffffffff
jmp 0x437789
push edi
lea ecx, [ebp - 0x2ac]
call fcn.0043b840
push 3
lea ecx, [ebp - 0x2ac]
push dword [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.0043e690
test al, al
jne 0x4376ea
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2ac], 0x4d00ac
call fcn.0043b910
lea ecx, [ebp - 0x2ac]
call fcn.0043b860
mov byte [ebp - 4], 7
or esi, 0xffffffff
jmp 0x43776c
cmp dword [ebp + 0x24], edi
jle 0x437732
cmp dword [ebp + 0x20], edi
jle 0x437732
lea ecx, [ebp - 0x2ac]
call fcn.0043b520
lea ecx, [ebp - 0x2ac]
mov esi, eax
call fcn.0043b510
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
lea eax, [ebp + 0x18]
push esi
push eax
call fcn.00438d3f
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2ac]
push dword [ebp + 0x18]
push eax
call fcn.0041960b
add esp, 0x20
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x2ac]
push edi
push eax
call fcn.0043be60
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2ac], 0x4d00ac
call fcn.0043b910
lea ecx, [ebp - 0x2ac]
call fcn.0043b860
mov byte [ebp - 4], 8
xor esi, esi
lea ecx, [ebp - 0x74]
call fcn.004b0d76
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x4d3d58
call fcn.00430d81
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0041b41a
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x438da2
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ca8f0
call fcn.00495c00
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov edi, 0x506dc4
push str._sMediaProbe.exe
push edi
call fcn.004ae6a7
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [0x506dc4]
call esi
test eax, eax
jne 0x438de6
push str.MediaProbe.exe
mov ecx, edi
call fcn.004b0f0d
push ebx
mov edi, 0x506dc8
push str._sMediaEncode.exe
push edi
call fcn.004ae6a7
add esp, 0xc
push dword [0x506dc8]
call esi
test eax, eax
jne 0x438e12
push str.MediaEncode.exe
mov ecx, edi
call fcn.004b0f0d
push dword [0x506dc8]
lea eax, [ebp - 0x14]
push eax
call fcn.0041be9b
pop ecx
pop ecx
and dword [ebp - 4], 0
push str.Presets
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004b101b
push eax
mov ecx, 0x506dcc
mov byte [ebp - 4], 1
call fcn.004b0ebd
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004b0d76
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b0d76
push ebx
mov edi, 0x506dd0
push str._sMediaPlay.exe
push edi
call fcn.004ae6a7
add esp, 0xc
push dword [0x506dd0]
call esi
test eax, eax
jne 0x438e89
push str.MediaPlay.exe
mov ecx, edi
call fcn.004b0f0d
cmp dword [0x506dd4], 0
jne 0x438f8d
mov eax, dword [0x502798]
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.004ae6a7
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x438ec9
mov dword [0x506dd4], 6
cmp dword [0x506dd4], 0
jne 0x438f81
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_59.dll
push eax
call fcn.004ae6a7
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x438efb
mov dword [0x506dd4], 5
cmp dword [0x506dd4], 0
jne 0x438f81
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_58.dll
push eax
call fcn.004ae6a7
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x438f29
mov dword [0x506dd4], 4
cmp dword [0x506dd4], 0
jne 0x438f81
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_57.dll
push eax
call fcn.004ae6a7
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x438f57
mov dword [0x506dd4], 3
cmp dword [0x506dd4], 0
jne 0x438f81
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_56.dll
push eax
call fcn.004ae6a7
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x438f81
mov dword [0x506dd4], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004b0d76
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [0x506dd8], 1
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x438fa8
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [0x506dd0]
call esi
test eax, eax
je 0x438fc8
xor eax, eax
push eax
push eax
push eax
push dword [0x506dd0]
jmp 0x438ff8
push dword [0x506dc8]
call esi
test eax, eax
je 0x438fe1
xor eax, eax
push eax
push eax
push eax
push dword [0x506dc8]
jmp 0x438ff8
push dword [0x506dc4]
call esi
test eax, eax
je 0x439000
xor eax, eax
push eax
push eax
push eax
push dword [0x506dc4]
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop esi
ret

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

Disassembly:
mov eax, 0x4ca9e8
call fcn.00495c00
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 0x43a0ab
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0041be9b
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x10]
call fcn.004b0d76
lea eax, [ebp - 0x14]
push eax
call fcn.0041e15c
pop ecx
mov eax, dword [eax]
and dword [ebp - 4], 0
push 1
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.0041b3ad
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004b0d76
push dword [ebp + 8]
lea edi, [esi + 0x70]
mov ecx, edi
call fcn.004b0f0d
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.00439e4e
test eax, eax
je 0x43a102
mov esi, eax
jmp 0x43a137
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 0x43a11c
or esi, 0xffffffff
jmp 0x43a137
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 0x43a137
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.0041b41a
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x4ad6c0
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.00495cf0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4ad78b
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 0x4ad78b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4ad73e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4ad749
or bh, 8
and edi, 0x8000000
je 0x4ad764
mov eax, dword [0x50addc]
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 0x4ad78b
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 0x4b3b76
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 0x4b3bb8
call fcn.004c39d2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x4b3bb8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b3baf
xor eax, eax
jmp 0x4b3bc0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b3bc6
pop edi
pop esi
pop ebx
ret 4

Function at 0x4bb105
Capabilities:
Set registry value

Disassembly:
mov eax, 0x4cc87c
call fcn.00495c00
push ecx
push ecx
push esi
push 0x10
call fcn.004b134a
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
and dword [ebp - 4], 0
test esi, esi
je 0x4bb152
mov ecx, esi
call fcn.004b6331
mov eax, dword [0x502798]
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.004b0f0d
jmp 0x4bb154
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push 0x4e9420
push eax
mov dword [ebp - 0x10], esi
call fcn.0049724f
pop esi
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424004]
jne 0x40100a
repz ret
jmp fcn.00401587

Function at 0x40444b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x424004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00401e3b
and dword [ebp - 0x14], 0
cmp dword [0x4265a8], 0
mov dword [ebp - 0x18], eax
jne 0x4044fe
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4045a6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4045a6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4265a8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4265ac], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4265b0], eax
call edi
push eax
call esi
mov dword [0x4265b8], eax
test eax, eax
je 0x4044fe
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4265b4], eax
mov eax, dword [0x4265b4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404557
cmp dword [0x4265b8], ecx
je 0x404557
push eax
call esi
push dword [0x4265b8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404557
test ebx, ebx
je 0x404557
call edi
test eax, eax
je 0x40454e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40454e
test byte [ebp - 8], 1
jne 0x404557
or dword [ebp + 0x10], 0x200000
jmp 0x40458a
mov eax, dword [0x4265ac]
cmp eax, dword [ebp - 0x18]
je 0x40458a
push eax
call esi
test eax, eax
je 0x40458a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40458a
mov eax, dword [0x4265b0]
cmp eax, dword [ebp - 0x18]
je 0x40458a
push eax
call esi
test eax, eax
je 0x40458a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4265a8]
call esi
test eax, eax
je 0x4045a6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4045a8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret