joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e345
Capabilities:
Contain obfuscated stackstrings

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

Disassembly:
mov eax, 0x4ccc32
call fcn.0049cc64
sub esp, 0x2a0
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00418ecb
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.0041582b
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004b957e
lea ecx, [ebp - 0xe4]
call fcn.0042ebcf
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.0042e78c
mov esi, eax
cmp esi, edi
je 0x42ee0f
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.004b957e
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x4d727c
call fcn.00431138
jmp 0x42ef38
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42ee45
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.004b957e
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x4d727c
call fcn.00431138
or esi, 0xffffffff
jmp 0x42ef38
push edi
lea ecx, [ebp - 0x2ac]
call fcn.00461da0
push 3
lea ecx, [ebp - 0x2ac]
push dword [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00462a90
test al, al
jne 0x42ee99
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2ac], 0x4d5ca8
call fcn.00461e70
lea ecx, [ebp - 0x2ac]
call fcn.00461dc0
mov byte [ebp - 4], 7
or esi, 0xffffffff
jmp 0x42ef1b
cmp dword [ebp + 0x24], edi
jle 0x42eee1
cmp dword [ebp + 0x20], edi
jle 0x42eee1
lea ecx, [ebp - 0x2ac]
call fcn.00460ee0
lea ecx, [ebp - 0x2ac]
mov esi, eax
call fcn.00460ed0
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
lea eax, [ebp + 0x18]
push esi
push eax
call fcn.0042faa5
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2ac]
push dword [ebp + 0x18]
push eax
call fcn.00417377
add esp, 0x20
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x2ac]
push edi
push eax
call fcn.004623c0
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2ac], 0x4d5ca8
call fcn.00461e70
lea ecx, [ebp - 0x2ac]
call fcn.00461dc0
mov byte [ebp - 4], 8
xor esi, esi
lea ecx, [ebp - 0x74]
call fcn.004b957e
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x4d71fc
call fcn.0042eb78
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00415898
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x42ff89
Capabilities:
Check if file exists
Set current directory

Disassembly:
mov eax, 0x4ccd94
call fcn.0049cc64
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 0x42ffc7
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00415bbd
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x10]
call fcn.004b957e
lea eax, [ebp - 0x14]
push eax
call fcn.00418ecb
pop ecx
mov eax, dword [eax]
and dword [ebp - 4], 0
push 1
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.0041582b
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004b957e
push dword [ebp + 8]
lea edi, [esi + 0x70]
mov ecx, edi
call fcn.004b9715
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.0042fd6a
test eax, eax
je 0x43001e
mov esi, eax
jmp 0x430053
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 0x430038
or esi, 0xffffffff
jmp 0x430053
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 0x430053
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.00415898
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

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

Disassembly:
mov eax, 0x4cf266
call fcn.0049cc64
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0044efe8
mov eax, dword [0x56bc10]
lea ecx, [esi + 0x14]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ecx], eax
mov eax, dword [0x56bc10]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0x4d8370
mov dword [esi + 0x20], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov eax, dword [0x56bc10]
mov dword [esi + 0x3c], eax
mov eax, dword [0x56bc10]
mov dword [esi + 0x40], eax
mov eax, dword [0x56bc10]
mov dword [esi + 0x44], eax
mov edi, 0x570404
mov byte [ebp - 4], 6
push edi
mov dword [esi], 0x4d8364
call fcn.004b9715
push edi
lea ecx, [esi + 0x18]
call fcn.004b9715
push edi
lea ecx, [esi + 0x3c]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call fcn.004b9715
push edi
lea ecx, [esi + 0x40]
call fcn.004b9715
push edi
lea ecx, [esi + 0x44]
call fcn.004b9715
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x45837c
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cf9fb
call fcn.0049cc64
sub esp, 0xe4
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
je 0x4584da
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4584da
lea ecx, [ebp - 0xf0]
call fcn.0041fad8
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.0041fc41
mov ecx, eax
call fcn.0041fad0
test al, al
jne 0x4583e1
or esi, 0xffffffff
jmp 0x4584ac
lea eax, [ebp - 0x10]
push str.MediaFormats
push eax
lea ecx, [ebp - 0xf0]
call fcn.0041f70c
lea ecx, [ebp - 0x10]
call fcn.0041fad0
test al, al
jne 0x4583d9
push 0x570404
lea eax, [ebp - 0x1c]
push 0x4f4f84
push eax
lea ecx, [ebp - 0x10]
call fcn.0041f753
mov ecx, eax
call fcn.0041f5ac
push eax
lea ecx, [ebp - 0x14]
call fcn.004b95f2
mov esi, dword [ebp + 0xc]
mov byte [ebp - 4], 1
push dword [esi + 4]
push dword [ebp - 0x14]
call fcn.0049d5f5
pop ecx
test eax, eax
pop ecx
je 0x458444
push 1
pop esi
jmp 0x4584a0
lea eax, [ebp - 0x18]
push str.Categories
push eax
lea ecx, [ebp - 0x10]
call fcn.0041f70c
lea ecx, [ebp - 0x18]
call fcn.0041fad0
test al, al
je 0x458466
or esi, 0xffffffff
jmp 0x4584a0
cmp dword [esi + 0x10], ebx
jle 0x45849e
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.0041f70c
lea ecx, [ebp + 8]
call fcn.0041fad0
test al, al
jne 0x4584bf
lea eax, [ebp + 8]
push eax
push edi
call fcn.004584ee
inc ebx
pop ecx
cmp ebx, dword [esi + 0x10]
pop ecx
jl 0x45846b
xor esi, esi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004b957e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.0041faef
mov eax, esi
jmp 0x4584dd
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004b957e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.0041faef
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x45b6d7
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push dword [esp + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45b71b
xor ebx, ebx
mov esi, 0x3e8
push dword [esp + 0x10]
call fcn.00415aee
cmp eax, 0xffffffff
pop ecx
jne 0x45b71b
push dword [edi + 0x10]
push esi
call fcn.0041579c
pop ecx
test eax, eax
pop ecx
jne 0x45b71f
add ebx, esi
cmp ebx, 0x2710
jge 0x45b71f
jmp 0x45b6f1
xor eax, eax
jmp 0x45b722
or eax, 0xffffffff
pop edi
pop esi
pop ebx
ret 4
Function at 0x45b728
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
push dword [ebp + 8]
mov ebx, ecx
call esi
test eax, eax
jne 0x45b744
push 0xfffffffffffffffe
pop eax
jmp 0x45b79e
push dword [ebp + 0xc]
call esi
xor edi, edi
test eax, eax
je 0x45b762
cmp dword [ebp + 0x10], edi
je 0x45b79b
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.0045b6d7
test eax, eax
jl 0x45b79b
mov esi, 0x3e8
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00415b12
add esp, 0xc
cmp eax, 0xffffffff
jne 0x45b797
push dword [ebx + 0x10]
push esi
call fcn.0041579c
pop ecx
test eax, eax
pop ecx
jne 0x45b79b
add edi, esi
cmp edi, 0x2710
jge 0x45b79b
jmp 0x45b767
xor eax, eax
jmp 0x45b79e
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x49dea8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x49dec8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004a097e
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x49deeb
test byte [esp + 8], 2
je 0x49deeb
call fcn.004a09f1
mov dword [eax], 0xd
call fcn.004a09fa
mov dword [eax], 5
jmp 0x49dec4
xor eax, eax
ret
Function at 0x4b47a0
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.0049def0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4b486b
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 0x4b486b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4b481e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4b4829
or bh, 8
and edi, 0x8000000
je 0x4b4844
mov eax, dword [0x57427c]
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 0x4b486b
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 0x4b4c40
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 0x4b4c6b
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 0x4b4c8f
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 0x4b4caa
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 0x4baa04
Capabilities:
Get graphical window text

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

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x570730
mov ecx, edi
call fcn.004b9715
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x4baa9f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x4baab2
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.004b9a3c
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004b9a13
jmp 0x4baab2
mov ecx, esi
call fcn.004bc9f0
test eax, eax
je 0x4baab2
push edi
mov ecx, eax
call fcn.004baa04
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x4bc16b
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 0x4bc1ad
call fcn.004c6853
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x4bc1ad
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4bc1a4
xor eax, eax
jmp 0x4bc1b5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004bc1bb
pop edi
pop esi
pop ebx
ret 4

Function at 0x4c702a
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.004c6853
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4c7067
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4c7067
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4c706b
xor eax, eax
jmp 0x4c70e9
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.004b8a0c
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x4c70a3
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 0x4c708d
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.004c71da
push ebx
mov edi, eax
call fcn.004b8a35
test edi, edi
pop ecx
je 0x4c70e5
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.004c6fa3
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.004c70ee
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x40287f
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x569908
call fcn.004f8f84
push ecx
mov eax, dword [0x64d578]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x20], eax
mov eax, dword [0x64d578]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x30], eax
mov eax, dword [0x64d578]
mov dword [esi + 0x34], eax
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call fcn.0040291e
push 4
mov edi, 0x65535c
pop eax
lea ecx, [esi + 0x20]
push edi
mov byte [ebp - 4], 3
mov dword [esi], 0x57fa6c
mov dword [esi + 4], 1
mov dword [esi + 8], ebx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
call fcn.0055466b
push edi
lea ecx, [esi + 0x30]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.0055466b
push edi
lea ecx, [esi + 0x34]
call fcn.0055466b
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x38], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4029de
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x569978
call fcn.004f8f84
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x57fa6c
and dword [ebp - 4], 0
lea edi, [esi + 0x3c]
mov dword [ebp - 0x14], edi
mov dword [edi], 0x57fa70
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 3
call fcn.005544d4
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 2
call fcn.005544d4
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 1
call fcn.005544d4
and byte [ebp - 4], 0
lea ecx, [esi + 0x30]
call fcn.005544d4
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x20]
call fcn.005544d4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4029ea
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x569978
call fcn.004f8f84
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x57fa6c
and dword [ebp - 4], 0
lea edi, [esi + 0x3c]
mov dword [ebp - 0x14], edi
mov dword [edi], 0x57fa70
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 3
call fcn.005544d4
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 2
call fcn.005544d4
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 1
call fcn.005544d4
and byte [ebp - 4], 0
lea ecx, [esi + 0x30]
call fcn.005544d4
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x20]
call fcn.005544d4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40f4b7
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [ecx]
push dword [esp + 4]
call dword [eax + 0xc8]
mov eax, dword [eax + 0x44]
xor ecx, ecx
cmp dword [eax - 8], ecx
jne 0x40f4d2
or eax, 0xffffffff
jmp 0x40f4e5
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
ret 4

Function at 0x40f795
Capabilities:
Create process on windows

Disassembly:
xor eax, eax
push 1
push eax
push eax
push dword [esp + 0x10]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
ret 4