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

Disassembly:
mov eax, 0x4cc71f
call fcn.0049cce0
sub esp, 0xdc
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi]
call ebx
test eax, eax
je 0x42b344
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
cmp eax, 0xc
je 0x42b341
cmp eax, 0xd
je 0x42b341
push dword [esi]
lea eax, [ebp - 0x10]
push eax
call fcn.00415be0
push dword [esi]
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.00415c4f
push dword [esi]
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
call fcn.00415c94
add esp, 0x18
cmp dword [edi], 0xb
mov byte [ebp - 4], 2
jne 0x42b231
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push eax
call fcn.00415f25
add esp, 0x10
push dword [ebp + 8]
mov byte [ebp - 4], 3
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push str._s_s._s
push esi
call fcn.004b58e1
add esp, 0x14
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.004b960e
jmp 0x42b31d
push dword [esi]
call ebx
test eax, eax
je 0x42b31d
mov ebx, str._s_s._s
push 0
lea ecx, [ebp - 0xe8]
call fcn.0040caa5
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x84]
push eax
mov byte [ebp - 4], 4
call fcn.004b9755
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x80]
push eax
call fcn.004b9755
lea eax, [ebp + 8]
lea ecx, [ebp - 0x7c]
push eax
call fcn.004b9755
lea ecx, [ebp - 0xe8]
call fcn.004b8f8e
dec eax
je 0x42b2b6
dec eax
je 0x42b308
dec eax
je 0x42b300
sub eax, 8
je 0x42b29b
dec eax
je 0x42b2f8
dec eax
je 0x42b2f0
jmp 0x42b2cf
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push ebx
push esi
call fcn.004b58e1
add esp, 0x14
mov dword [edi], 0xb
jmp 0x42b2cf
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push ebx
push esi
call fcn.004b58e1
add esp, 0x14
mov dword [edi], 1
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.0040cb5a
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b242
jmp 0x42b31d
mov dword [edi], 0xd
jmp 0x42b30e
mov dword [edi], 0xc
jmp 0x42b30e
mov dword [edi], 3
jmp 0x42b30e
mov dword [edi], 2
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.0040cb5a
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.004b960e
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004b960e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b960e
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x42d9b6
Capabilities:
Resume thread

Disassembly:
mov eax, 0x4ccda1
call fcn.0049cce0
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 8], edi
je 0x42d9d1
push 1
pop eax
jmp 0x42da40
push 0x70
mov dword [esi + 4], edi
call fcn.004b8a9c
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x42d9f3
push dword [ebp + 8]
push esi
call fcn.0042e432
jmp 0x42d9f5
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, edi
mov dword [esi + 8], eax
je 0x42da20
push edi
push edi
push 4
mov ecx, eax
call fcn.004b7f4b
test eax, eax
jne 0x42da25
mov ecx, dword [esi + 8]
cmp ecx, edi
je 0x42da1d
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 8], edi
or eax, 0xffffffff
jmp 0x42da40
mov eax, dword [esi + 8]
push edi
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 8]
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 4

Function at 0x42e282
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x4cceb8
call fcn.0049cce0
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
push 0x570804
lea ecx, [ebp - 0x10]
call fcn.004b9682
xor edi, edi
xor ebx, ebx
cmp dword [esi + 0x14], edi
mov dword [ebp - 4], edi
jle 0x42e310
cmp ebx, edi
jl 0x42e2b0
cmp ebx, dword [esi + 0x14]
jge 0x42e2b0
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ebx*4]
jmp 0x42e2b2
xor eax, eax
cmp dword [eax + 0x74], 0x64
jne 0x42e30a
cmp dword [eax + 0x7c], 0x64
jne 0x42e30a
push dword [eax + 0x5c8]
lea edi, [eax + 0x5c8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e308
test ebx, ebx
jle 0x42e2e5
push 0x4f4988
lea ecx, [ebp - 0x10]
call fcn.004b99ff
push 0x4f4984
lea ecx, [ebp - 0x10]
call fcn.004b99ff
push edi
lea ecx, [ebp - 0x10]
call fcn.004b9a3b
push 0x4f4984
lea ecx, [ebp - 0x10]
call fcn.004b99ff
xor edi, edi
inc ebx
cmp ebx, dword [esi + 0x14]
jl 0x42e29f
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x42e353
lea eax, [ebp - 0x14]
push eax
call fcn.00402052
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
push 1
push edi
je 0x42e33b
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
jmp 0x42e344
push edi
push dword [ebp - 0x10]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
call fcn.004b960e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b960e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43115c
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cd172
call fcn.0049cce0
sub esp, 0x2a0
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00418e09
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.0041584e
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004b960e
lea ecx, [ebp - 0xe4]
call fcn.004286d3
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.00430d70
mov esi, eax
cmp esi, edi
je 0x4311f6
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.004b960e
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x4d6488
call fcn.004284fd
jmp 0x43131f
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43122c
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.004b960e
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x4d6488
call fcn.004284fd
or esi, 0xffffffff
jmp 0x43131f
push edi
lea ecx, [ebp - 0x2ac]
call fcn.00461e20
push 3
lea ecx, [ebp - 0x2ac]
push dword [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00462b10
test al, al
jne 0x431280
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2ac], 0x4d5c98
call fcn.00461ef0
lea ecx, [ebp - 0x2ac]
call fcn.00461e40
mov byte [ebp - 4], 7
or esi, 0xffffffff
jmp 0x431302
cmp dword [ebp + 0x24], edi
jle 0x4312c8
cmp dword [ebp + 0x20], edi
jle 0x4312c8
lea ecx, [ebp - 0x2ac]
call fcn.00460f60
lea ecx, [ebp - 0x2ac]
mov esi, eax
call fcn.00460f50
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
lea eax, [ebp + 0x18]
push esi
push eax
call fcn.00431e8c
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2ac]
push dword [ebp + 0x18]
push eax
call fcn.00417393
add esp, 0x20
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x2ac]
push edi
push eax
call fcn.00462440
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2ac], 0x4d5c98
call fcn.00461ef0
lea ecx, [ebp - 0x2ac]
call fcn.00461e40
mov byte [ebp - 4], 8
xor esi, esi
lea ecx, [ebp - 0x74]
call fcn.004b960e
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x4d6404
call fcn.004284a6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004158bb
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x432370
Capabilities:
Check if file exists
Set current directory

Disassembly:
mov eax, 0x4cd2d4
call fcn.0049cce0
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 0x4323ae
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00415be0
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x10]
call fcn.004b960e
lea eax, [ebp - 0x14]
push eax
call fcn.00418e09
pop ecx
mov eax, dword [eax]
and dword [ebp - 4], 0
push 1
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.0041584e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004b960e
push dword [ebp + 8]
lea edi, [esi + 0x70]
mov ecx, edi
call fcn.004b97a5
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.00432151
test eax, eax
je 0x432405
mov esi, eax
jmp 0x43243a
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 0x43241f
or esi, 0xffffffff
jmp 0x43243a
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 0x43243a
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.004158bb
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x4518fc
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x4cf6ee
call fcn.0049cce0
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004519a9
mov eax, dword [0x56c010]
lea ecx, [esi + 0x14]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ecx], eax
mov eax, dword [0x56c010]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0x4d8344
mov dword [esi + 0x20], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov eax, dword [0x56c010]
mov dword [esi + 0x3c], eax
mov eax, dword [0x56c010]
mov dword [esi + 0x40], eax
mov eax, dword [0x56c010]
mov dword [esi + 0x44], eax
mov edi, 0x570804
mov byte [ebp - 4], 6
push edi
mov dword [esi], 0x4d8338
call fcn.004b97a5
push edi
lea ecx, [esi + 0x18]
call fcn.004b97a5
push edi
lea ecx, [esi + 0x3c]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call fcn.004b97a5
push edi
lea ecx, [esi + 0x40]
call fcn.004b97a5
push edi
lea ecx, [esi + 0x44]
call fcn.004b97a5
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x458d5b
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cfd2b
call fcn.0049cce0
sub esp, 0xe4
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
je 0x458eb9
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x458eb9
lea ecx, [ebp - 0xf0]
call fcn.0041faad
push ebx
push 0x74
push dword [ebp + 8]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xf0]
mov dword [ebp - 4], ebx
push eax
call fcn.0041fc16
mov ecx, eax
call fcn.0041f6d1
test al, al
jne 0x458dc0
or esi, 0xffffffff
jmp 0x458e8b
lea eax, [ebp - 0x10]
push str.MediaFormats
push eax
lea ecx, [ebp - 0xf0]
call fcn.0041f6e9
lea ecx, [ebp - 0x10]
call fcn.0041f6d1
test al, al
jne 0x458db8
push 0x570804
lea eax, [ebp - 0x1c]
push 0x4f4f88
push eax
lea ecx, [ebp - 0x10]
call fcn.0041f730
mov ecx, eax
call fcn.0041f581
push eax
lea ecx, [ebp - 0x14]
call fcn.004b9682
mov esi, dword [ebp + 0xc]
mov byte [ebp - 4], 1
push dword [esi + 4]
push dword [ebp - 0x14]
call fcn.0049d665
pop ecx
test eax, eax
pop ecx
je 0x458e23
push 1
pop esi
jmp 0x458e7f
lea eax, [ebp - 0x18]
push str.Categories
push eax
lea ecx, [ebp - 0x10]
call fcn.0041f6e9
lea ecx, [ebp - 0x18]
call fcn.0041f6d1
test al, al
je 0x458e45
or esi, 0xffffffff
jmp 0x458e7f
cmp dword [esi + 0x10], ebx
jle 0x458e7d
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x18]
mov edi, dword [eax + ebx*4]
lea eax, [ebp + 8]
push dword [edi + 8]
push eax
call fcn.0041f6e9
lea ecx, [ebp + 8]
call fcn.0041f6d1
test al, al
jne 0x458e9e
lea eax, [ebp + 8]
push eax
push edi
call fcn.00458ecd
inc ebx
pop ecx
cmp ebx, dword [esi + 0x10]
pop ecx
jl 0x458e4a
xor esi, esi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004b960e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.0041fac4
mov eax, esi
jmp 0x458ebc
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004b960e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.0041fac4
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x468a70
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ebp, ecx
push edi
mov dword [esp + 0x1c], ebp
call fcn.00460f50
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 2]
mov dx, word [esi + 6]
sub eax, ecx
sub eax, edx
jns 0x468aa2
mov dword [esp + 0x2c], 0
jmp 0x468abd
mov ecx, ebp
call fcn.00460f50
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 2]
mov dx, word [esi + 6]
sub eax, ecx
sub eax, edx
mov dword [esp + 0x2c], eax
mov ecx, ebp
call fcn.00460f50
xor edi, edi
mov ebx, eax
mov di, word [esi]
xor ecx, ecx
mov cx, word [esi + 4]
xor edx, edx
xor eax, eax
mov dx, di
mov ax, word [esi + 2]
sub ebx, eax
lea esi, [ecx + edx]
mov ecx, ebp
mov dword [esp + 0x20], ebx
call fcn.00460f60
cmp eax, esi
jae 0x468afd
mov ecx, ebp
call fcn.00460f60
mov dword [esp + 0x10], eax
jmp 0x468b01
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x28]
call fcn.00460da0
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
cmp ebp, ebx
jge 0x468b6d
mov eax, dword [esp + 0x10]
mov esi, edi
cmp edi, eax
jge 0x468b68
mov eax, dword [esp + 0x2c]
mov ebx, ebp
sub ebx, eax
mov ecx, dword [esp + 0x28]
mov eax, esi
sub eax, edi
push ebx
push eax
call fcn.004612a0
mov edx, dword [esp + 0x18]
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 0xff
cmp ecx, edx
je 0x468b5b
mov ecx, dword [esp + 0x1c]
push eax
push ebp
push esi
call fcn.00461710
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x468b28
mov ebx, dword [esp + 0x20]
inc ebp
cmp ebp, ebx
jl 0x468b16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x46dd90
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x46ddc0
push esi
call fcn.0046e290
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x46ddb9
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 0x46de43
mov eax, dword [esi + 0x1a0]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x46de2f
mov eax, dword [esi + 8]
test eax, eax
je 0x46dde4
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 0x46de2b
cmp eax, 2
je 0x46de2f
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46ddd7
cmp eax, 3
je 0x46de0a
cmp eax, 1
jne 0x46ddd7
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 0x46ddd7
mov edx, dword [esi + 0x120]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46ddd7
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.0046de70
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x46de63
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.0046de70
add esp, 4
pop esi
ret
Function at 0x485690
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x4856aa
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x4856aa
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 0x49df18
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x49df38
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004a09ee
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x49df5b
test byte [esp + 8], 2
je 0x49df5b
call fcn.004a0a61
mov dword [eax], 0xd
call fcn.004a0a6a
mov dword [eax], 5
jmp 0x49df34
xor eax, eax
ret
Function at 0x4b4830
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.0049df60
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4b48fb
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 0x4b48fb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4b48ae
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4b48b9
or bh, 8
and edi, 0x8000000
je 0x4b48d4
mov eax, dword [0x57465c]
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 0x4b48fb
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 0x4b4cd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4b4cfb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4b4d1f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x4b4d3a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x4baa94
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4baacc
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.004b9acc
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004b9aa3
jmp 0x4baad8
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x4baadc
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x570b08
mov ecx, edi
call fcn.004b97a5
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x4bab2f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x4bab42
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.004b9acc
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004b9aa3
jmp 0x4bab42
mov ecx, esi
call fcn.004bca83
test eax, eax
je 0x4bab42
push edi
mov ecx, eax
call fcn.004baa94
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x4bc1fe
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 0x4bc240
call fcn.004c68de
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x4bc240
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4bc237
xor eax, eax
jmp 0x4bc248
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004bc24e
pop edi
pop esi
pop ebx
ret 4

Function at 0x4c70b5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.004c68de
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4c70f2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4c70f2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4c70f6
xor eax, eax
jmp 0x4c7174
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.004b8a9c
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x4c712e
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x4c7118
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.004c7265
push ebx
mov edi, eax
call fcn.004b8ac5
test edi, edi
pop ecx
je 0x4c7170
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.004c702e
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.004c7179
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx