joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e5d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
lea edx, [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push esi
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0xc]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40e642
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x40e611
cmp eax, 2
jne 0x40e62c
mov eax, dword [ebp + 0x10]
test esi, esi
je 0x40e63c
test eax, eax
je 0x40e637
test al, 1
jne 0x40e62c
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x40e63c
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x412ab0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54213b
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x593dc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x20a
lea eax, [ebp - 0x220]
push 0
push eax
mov esi, ecx
call fcn.0051fa60
add esp, 0xc
push 0x105
lea ecx, [ebp - 0x220]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x44
lea edx, [ebp - 0x280]
push 0
push edx
call fcn.0051fa60
add esp, 0xc
mov dword [ebp - 0x280], 0x44
call fcn.00415eb7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x412b3f
push 0x80004005
call fcn.00402460
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], 0
mov ecx, dword [esi]
push ecx
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x224]
push 0x571e3c
push eax
call fcn.00404a60
mov esi, dword [ebp - 0x224]
add esp, 0x10
cmp dword [esi - 4], 1
jle 0x412b97
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [ebp - 0x224]
call fcn.004022f0
mov esi, dword [ebp - 0x224]
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x280]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412bdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051d79f
mov esp, ebp
pop ebp
ret

Function at 0x413270
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5416f8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x593dc0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
cmp word [ecx], 0
mov eax, ecx
je 0x4132ac
add eax, 2
cmp word [eax], 0
jne 0x4132a3
sub eax, ecx
sar eax, 1
mov dword [esp + 0x18], 0x100005
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov esi, dword [ebp + 8]
xor eax, eax
cmp byte [ebp + 0xc], al
lea ecx, [esp + 0xc]
setne al
push ecx
lea ebx, [esp + 0x20]
add eax, 0x101
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x10]
call fcn.00403630
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4145c0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x593dc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0x57515668
mov cl, 0x4b
mov dword [ebp - 0xc], 0x114f4b4b
mov dl, 0x53
mov dword [ebp - 8], 0x53535b
xor eax, eax
jmp 0x4145f0
xor byte [ebp + eax - 0x10], 0x3f
inc eax
cmp eax, 0xb
jb 0x4145f0
mov dword [ebp - 0x20], 0x77515668
mov byte [ebp - 0x1c], cl
mov byte [ebp - 0x1b], cl
mov dword [ebp - 0x1a], 0x5e4d7c4f
mov dword [ebp - 0x16], 0x4d6a545c
mov byte [ebp - 0x12], dl
mov byte [ebp - 0x11], 0
xor eax, eax
nop
xor byte [ebp + eax - 0x20], 0x3f
inc eax
cmp eax, 0xf
jb 0x414620
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x414649
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d79f
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x414639
push edi
push 0
push 0
push esi
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d79f
mov esp, ebp
pop ebp
ret

Function at 0x414840
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x593dc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x28], eax
mov cl, 0x51
mov dword [ebp - 0x10], 0x56515668
mov bl, 0x5a
mov dl, 0x4b
mov dword [ebp - 0xc], 0x114b5a51
mov dword [ebp - 8], 0x53535b
xor eax, eax
xor byte [ebp + eax - 0x10], 0x3f
inc eax
cmp eax, 0xb
jb 0x414874
mov byte [ebp - 0x1f], bl
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x24], 0x77
mov byte [ebp - 0x23], dl
mov byte [ebp - 0x22], dl
mov word [ebp - 0x21], 0x6c4f
mov byte [ebp - 0x1e], cl
mov word [ebp - 0x1d], 0x6d5b
mov word [ebp - 0x1a], 0x4a4e
mov byte [ebp - 0x17], 0x4c
mov byte [ebp - 0x16], dl
mov word [ebp - 0x15], 0x68
xor eax, eax
pop ebx
xor byte [ebp + eax - 0x24], 0x3f
inc eax
cmp eax, 0x10
jb 0x4148b7
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x4148e0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d79f
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4148d0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
push edx
push ecx
push edi
push esi
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d79f
mov esp, ebp
pop ebp
ret
Function at 0x414910
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x593dc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov dl, 0x51
mov dword [ebp - 0x10], 0x56515668
mov cl, 0x5a
mov dword [ebp - 0xc], 0x114b5a51
mov dword [ebp - 8], 0x53535b
xor eax, eax
xor byte [ebp + eax - 0x10], 0x3f
inc eax
cmp eax, 0xb
jb 0x414941
mov byte [ebp - 0x24], 0x76
mov byte [ebp - 0x23], dl
mov byte [ebp - 0x22], 0x4b
mov byte [ebp - 0x21], cl
mov byte [ebp - 0x20], 0x4d
mov byte [ebp - 0x1f], dl
mov byte [ebp - 0x1e], cl
mov word [ebp - 0x1d], 0x6d4b
mov byte [ebp - 0x1b], cl
mov dword [ebp - 0x1a], 0x56795b5e
mov byte [ebp - 0x16], 0x53
mov byte [ebp - 0x15], cl
mov byte [ebp - 0x14], 0
xor eax, eax
xor byte [ebp + eax - 0x24], 0x3f
inc eax
cmp eax, 0x10
jb 0x414981
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x4149aa
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d79f
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41499a
mov ecx, dword [ebp - 0x28]
push ecx
push 0x400
push edi
push esi
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d79f
mov esp, ebp
pop ebp
ret

Function at 0x4149e0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x593dc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 0x56515668
mov dl, 0x5a
mov cl, 0x4b
mov dword [ebp - 0xc], 0x114b5a51
mov dword [ebp - 8], 0x53535b
xor eax, eax
xor byte [ebp + eax - 0x10], 0x3f
inc eax
cmp eax, 0xb
jb 0x414a11
mov al, 0x4f
mov byte [ebp - 0x1f], al
mov byte [ebp - 0x24], 0x77
mov byte [ebp - 0x23], cl
mov byte [ebp - 0x22], cl
mov word [ebp - 0x21], 0x704f
mov byte [ebp - 0x1e], dl
mov word [ebp - 0x1d], 0x6d51
mov byte [ebp - 0x1b], dl
mov word [ebp - 0x1a], 0x4a4e
mov byte [ebp - 0x18], dl
mov byte [ebp - 0x17], 0x4c
mov byte [ebp - 0x16], cl
mov word [ebp - 0x15], 0x68
xor eax, eax
xor byte [ebp + eax - 0x24], 0x3f
inc eax
cmp eax, 0x10
jb 0x414a55
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x414a7e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d79f
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x414a6e
mov ecx, dword [ebp - 0x28]
push 0
push 0x84000000
push 0
push 0
push 0
push ecx
push edi
push esi
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d79f
mov esp, ebp
pop ebp
ret
Function at 0x414ab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x593dc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov cl, 0x51
mov dword [ebp - 0x10], 0x56515668
mov dl, 0x5a
mov dword [ebp - 0xc], 0x114b5a51
mov dword [ebp - 8], 0x53535b
xor eax, eax
jmp 0x414ae0
xor byte [ebp + eax - 0x10], 0x3f
inc eax
cmp eax, 0xb
jb 0x414ae0
mov byte [ebp - 0x20], 0x76
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x1e], 0x4b
mov byte [ebp - 0x1d], dl
mov byte [ebp - 0x1c], 0x4d
mov byte [ebp - 0x1b], cl
mov byte [ebp - 0x1a], dl
mov word [ebp - 0x19], 0x704b
mov byte [ebp - 0x17], 0x4f
mov byte [ebp - 0x16], dl
mov byte [ebp - 0x15], cl
mov word [ebp - 0x14], 0x68
xor eax, eax
jmp 0x414b20
xor byte [ebp + eax - 0x20], 0x3f
inc eax
cmp eax, 0xd
jb 0x414b20
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x414b49
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d79f
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x414b39
push 0
push 0
push 0
push 1
push esi
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d79f
mov esp, ebp
pop ebp
ret

Function at 0x414b80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x593dc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov cl, 0x51
mov dword [ebp - 0x10], 0x56515668
mov bl, 0x5a
mov dl, 0x4b
mov dword [ebp - 0xc], 0x114b5a51
mov dword [ebp - 8], 0x53535b
xor eax, eax
mov edi, edi
xor byte [ebp + eax - 0x10], 0x3f
inc eax
cmp eax, 0xb
jb 0x414bb0
mov byte [ebp - 0x21], bl
mov byte [ebp - 0x1e], bl
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x24], 0x76
mov byte [ebp - 0x23], cl
mov byte [ebp - 0x22], dl
mov byte [ebp - 0x20], 0x4d
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x1d], dl
mov word [ebp - 0x1c], 0x507c
mov byte [ebp - 0x1a], cl
mov byte [ebp - 0x19], cl
mov byte [ebp - 0x17], 0x5c
mov byte [ebp - 0x16], dl
mov word [ebp - 0x15], 0x68
xor eax, eax
pop ebx
xor byte [ebp + eax - 0x24], 0x3f
inc eax
cmp eax, 0x10
jb 0x414bf4
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x414c1d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d79f
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x414c0d
push 0
push 0
push 3
push 0
push 0
push 0x50
push edi
push esi
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d79f
mov esp, ebp
pop ebp
ret
Function at 0x417756
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x41779e
call fcn.00427e30
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41779e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4177e1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4177ca
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4177ca
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x4177de
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x42300b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00427e30
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x423044
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00422c48
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x4230a2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x4230c6
cmp dword [edi + 0x74], 0
jne 0x4230c6
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00427e30
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00423063
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x428682
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x539cea
call fcn.0051f046
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x4286a7
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4286f9
call fcn.00415eb7
push eax
lea ecx, [ebp - 0x10]
call fcn.00401f60
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0051e9b2
push eax
call fcn.00402040
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402660
mov eax, esi
call fcn.0051f11e
ret 8

Function at 0x42ec23
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x42ec6a
call fcn.00427e30
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42ec6a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42ec86
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042e723
mov esi, eax
test edi, edi
je 0x42ec84
test ebx, ebx
je 0x42ec84
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x45972a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x459744
call fcn.00427e30
mov esi, dword [eax + 0xc]
push dword [0x598408]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x459762
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x45975a
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x45978f
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x45975c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00459658
mov esi, eax
jmp 0x459781

Function at 0x49c124
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0049bdc8
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x49c16e
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00415db8
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040e9e0
jmp 0x49c179
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00432981
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x49c17f
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00427f55
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x49c1bc
call fcn.0049bdc8
mov dword [esi + 0xc], 1
jmp 0x49c1c1
call fcn.0049bdc8
cmp dword [esi], 0
je 0x49c20a
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x49c1e2
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00415db8
jmp 0x49c1f4
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00402420
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040e9e0
jmp 0x49c22e
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x49c22e
push dword [esi]
push dword [ebp + 8]
call fcn.00432981
pop esi
pop ebp
ret 0xc
Function at 0x4e69a8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4e69c0
mov edi, dword [esi + 0xc]
jmp 0x4e6a00
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4e69d9
call fcn.0042efc9
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4e69ee
call fcn.0042efc9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4e6a00
call fcn.0042efc9
call fcn.00427e30
cmp dword [eax + 0x3c], 0
je 0x4e6a15
push edi
mov ecx, ebx
call fcn.004e57d2
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004e68c2
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4e6a33
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4e6a3f
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4ee78b
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.005191ba
call fcn.00427861
cmp dword [eax + 0x14], 0
jne 0x4ee7a8
mov ecx, esi
pop esi
jmp fcn.004ee290
pop esi
ret

Function at 0x4f1d52
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004fbea1
call fcn.00427861
cmp dword [eax + 0x14], 0
jne 0x4f1d6f
mov ecx, esi
pop esi
jmp fcn.004f1725
pop esi
ret

Function at 0x51d79f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x593dc0]
jne 0x51d7a9
repz ret
jmp fcn.00524a32
Function at 0x52f429
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x593dc0]
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.0052445a
and dword [ebp - 0x14], 0
cmp dword [0x59bd1c], 0
mov dword [ebp - 0x18], eax
jne 0x52f4dc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x52f584
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x56e8b8
push ebx
call edi
test eax, eax
je 0x52f584
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x56e8a8
push ebx
mov dword [0x59bd1c], eax
call edi
push eax
call esi
push 0x56e894
push ebx
mov dword [0x59bd20], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x59bd24], eax
call edi
push eax
call esi
mov dword [0x59bd2c], eax
test eax, eax
je 0x52f4dc
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x59bd28], eax
mov eax, dword [0x59bd28]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x52f535
cmp dword [0x59bd2c], ecx
je 0x52f535
push eax
call esi
push dword [0x59bd2c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x52f535
test ebx, ebx
je 0x52f535
call edi
test eax, eax
je 0x52f52c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x52f52c
test byte [ebp - 8], 1
jne 0x52f535
or dword [ebp + 0x10], 0x200000
jmp 0x52f568
mov eax, dword [0x59bd20]
cmp eax, dword [ebp - 0x18]
je 0x52f568
push eax
call esi
test eax, eax
je 0x52f568
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x52f568
mov eax, dword [0x59bd24]
cmp eax, dword [ebp - 0x18]
je 0x52f568
push eax
call esi
test eax, eax
je 0x52f568
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x59bd1c]
call esi
test eax, eax
je 0x52f584
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x52f586
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051d79f
leave
ret