joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001130
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, 4
mov cl, 0xfe
lea ecx, [ecx]
dec eax
mov byte [0x1000bb1c], cl
jne 0x10001140
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001154
sub eax, edx
mov dword [ebp - 4], eax
mov byte [0x1000bb18], 0x44
xor ebx, ebx
mov byte [0x1000bb1c], 0xed
xor byte [0x1000bb18], 0xe2
mov byte [ebx + 0x1000c798], bl
call fcn.10001890
call fcn.10001890
inc ebx
cmp ebx, 0x100
jl 0x10001170
mov al, byte [0x1000bb18]
xor al, 0x21
mov byte [0x1000bb1c], al
call fcn.100010e0
xor esi, esi
mov eax, esi
cdq
idiv dword [ebp - 4]
mov ecx, dword [ebp + 8]
movzx eax, byte [esi + 0x1000c798]
mov bl, 0x21
mov byte [0x1000bb1a], 0xa6
mov byte [0x1000bb1b], 0x21
mov byte [0x1000bb19], 0x21
mov byte [0x1000bb18], 0x20
mov byte [0x1000bb1c], bl
movzx edx, byte [edx + ecx]
add edx, edi
add eax, edx
mov edi, eax
and edi, 0x800000ff
jns 0x100011f1
dec edi
or edi, 0xffffff00
inc edi
call fcn.10001890
cmp byte [0x1000bb19], al
jle 0x10001206
mov eax, 4
dec eax
jne 0x10001203
movzx ecx, byte [esi + 0x1000c798]
mov dword [ebp - 8], ecx
call fcn.10001890
call fcn.10001890
call fcn.10001030
cmp al, 0xa5
jg 0x10001238
mov bl, 0x75
mov cl, 0x21
mov byte [0x1000bb18], 0xfb
mov al, 0xa7
mov byte [0x1000bb1c], bl
jmp 0x10001243
mov al, byte [0x1000bb1b]
mov cl, byte [0x1000bb1a]
mov dl, byte [edi + 0x1000c798]
mov byte [esi + 0x1000c798], dl
cmp bl, 0xac
jge 0x10001260
and al, 0xa7
mov byte [0x1000bb18], al
jmp 0x10001260
mov al, byte [ebp - 8]
mov byte [edi + 0x1000c798], al
cmp cl, 5
jle 0x10001295
mov edx, 4
mov ecx, 2
mov al, bl
and al, 0xa7
dec ecx
mov bl, 2
jne 0x10001278
cmp al, 0xde
jne 0x1000128c
mov byte [0x1000bb18], 0x68
dec edx
jne 0x10001273
mov byte [0x1000bb1c], bl
inc esi
cmp esi, 0x100
jl 0x100011a3
mov byte [0x1000bb1b], 0x21
mov byte [0x1000bb1a], 0x1a
call fcn.10001030
and bl, 0x21
mov byte [0x1000bb1c], bl
call fcn.100010e0
pop edi
mov cl, 0xe
sub cl, al
pop esi
mov byte [0x1000bb19], cl
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10003660
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
dec eax
jne 0x10003679
push eax
push eax
push eax
push 0x10001be0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc

Function at 0x10003682
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x1000368c
repz ret
jmp fcn.10003a71
Function at 0x100075da
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
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.10003b77
and dword [ebp - 0x14], 0
cmp dword [0x1000c784], 0
mov dword [ebp - 0x18], eax
jne 0x1000768d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10007735
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10007735
mov esi, dword [0x1000bb14]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1000c784], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1000c788], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1000c78c], eax
call edi
push eax
call esi
mov dword [0x1000c794], eax
test eax, eax
je 0x1000768d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1000c790], eax
mov eax, dword [0x1000c790]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x1000bb10]
cmp eax, ecx
je 0x100076e6
cmp dword [0x1000c794], ecx
je 0x100076e6
push eax
call esi
push dword [0x1000c794]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x100076e6
test ebx, ebx
je 0x100076e6
call edi
test eax, eax
je 0x100076dd
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x100076dd
test byte [ebp - 8], 1
jne 0x100076e6
or dword [ebp + 0x10], 0x200000
jmp 0x10007719
mov eax, dword [0x1000c788]
cmp eax, dword [ebp - 0x18]
je 0x10007719
push eax
call esi
test eax, eax
je 0x10007719
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10007719
mov eax, dword [0x1000c78c]
cmp eax, dword [ebp - 0x18]
je 0x10007719
push eax
call esi
test eax, eax
je 0x10007719
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1000c784]
call esi
test eax, eax
je 0x10007735
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10007737
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10003682
leave
ret
Function at 0x1001ac97
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1001aca6
pop dword [ebp - 0x20]
mov eax, 0xdc2d9741
add eax, 0x33d41565
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x9623ccea
sub dword [ebp - 0x30], 0x47d1879f
mov dword [ebp - 0x2c], 0xb83d7537
add dword [ebp - 0x2c], 0x79f5d70e
mov dword [ebp - 0x28], 0xfbee6340
add dword [ebp - 0x28], 0x505de0ee
mov dword [ebp - 0x24], 0x44c9affa
sub dword [ebp - 0x24], 0x44c9affa
lea eax, [ebp - 0x30]
push eax
mov eax, 0xe470bea7
sub eax, 0xd470ade3
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xa548dc9b
add dword [ebp - 0x30], 0xcf298cbb
mov dword [ebp - 0x2c], 0x2e12df38
sub dword [ebp - 0x2c], 0xeca67dc3
mov dword [ebp - 0x28], 0xcfc7cc78
sub dword [ebp - 0x28], 0x6c58600c
mov dword [ebp - 0x24], 0x6d8d4252
add dword [ebp - 0x24], 0x9272bdae
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x1a9f0081
add eax, 0xf5611083
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x406f4
push 0
call eax
mov ecx, 0xad9cb843
add ecx, 0x5263a1d5
xor edi, edi
add edi, eax
mov ebx, 0x8cd4b2c4
add ebx, 0x832e273c
add ebx, dword [ebp - 0x20]
mov esi, 0x3469eea1
add esi, 0x59e424cc
xor dword [ebp - 0xc], esi
mov edx, dword [ebx]
add dword [ebp - 0xc], 0x8d32be20
add edx, esi
xor dword [ebp - 0x14], esi
mov dword [edi], edx
sub dword [ebp - 8], 0xb14fc63
add edi, 4
add ebx, 0xdd55ee8c
add ebx, 0x22aa1178
loop 0x1001adca
add eax, 0x15b33
mov ebx, eax
add eax, 5
mov ecx, 0x5ac10cf1
sub ecx, 0x4ac10cf1
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x10023d3a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10001b3c]
jne 0x1002420f
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x10028d58], eax
mov dword [0x10028d54], ecx
mov dword [0x10028d50], edx
mov dword [0x10028d4c], ebx
mov dword [0x10028d48], esi
mov dword [0x10028d44], edi
mov word [0x10028d70], ss
mov word [0x10028d64], cs
mov word [0x10028d40], ds
mov word [0x10028d3c], es
mov word [0x10028d38], fs
mov word [0x10028d34], gs
pushfd
pop dword [0x10028d68]
mov eax, dword [ebp]
mov dword [0x10028d5c], eax
mov eax, dword [ebp + 4]
mov dword [0x10028d60], eax
lea eax, [ebp + 8]
mov dword [0x10028d6c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x10028ca8], 0x10001
mov eax, dword [0x10028d60]
mov dword [0x10028c5c], eax
mov dword [0x10028c50], 0xc0000409
mov dword [0x10028c54], 1
mov eax, dword [0x10001b3c]
mov dword [ebp - 0x328], eax
mov eax, dword [0x10028390]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x10028ca0], eax
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x10001b4c
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x10028ca0], 0
jne 0x100242fb
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x4010c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4010db
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401112
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x40110e
jmp 0x401100
cmp esi, eax
jae 0x401112
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401100
cmp esi, eax
jb 0x401119
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x40e555
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.0040da38
mov esi, dword [eax + 0xc]
test esi, esi
jne 0x40e56f
xor eax, eax
jmp 0x40e5b8
push ebx
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x40e5b7
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push esi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.0040e4f3
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x416064
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 0x4160ab
call fcn.0040da38
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4160ab
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4160c7
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00415b64
mov esi, eax
test edi, edi
je 0x4160c5
test ebx, ebx
je 0x4160c5
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x417b18
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.0040da38
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 0x417b51
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.00417755
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 0x417baf
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 0x417bd3
cmp dword [edi + 0x74], 0
jne 0x417bd3
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0040da38
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.00417b70
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 0x41ad34
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x570926
call fcn.005036bc
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x41ad59
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41adab
call fcn.0040c84f
push eax
lea ecx, [ebp - 0x10]
call fcn.00401580
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.004ffb9a
push eax
call fcn.00401010
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.00401170
mov eax, esi
call fcn.00503794
ret 8

Function at 0x41ba38
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5d52e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x41ba7d
push 0x583210
push 4
push eax
call fcn.00500277
push eax
call fcn.00401010
add esp, 0x10
jmp 0x41ba93
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41bb13
push edi
call fcn.00503a77
mov edi, dword [eax]
call fcn.00503a77
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00500aa6
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.00503a77
cmp dword [eax], 0
je 0x41bae7
call fcn.00503a77
push dword [eax]
call fcn.0040de01
pop ecx
jmp 0x41baee
call fcn.00503a77
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x41bb13
cmp dword [ebp - 0x234], esi
jae 0x41bb13
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x41bb15
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004ff57c
leave
ret
Function at 0x41bfba
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5d52e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.004116a2
pop ecx
cmp eax, esi
je 0x41c0a4
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x41c0a4
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.00503ac0
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x41c0a4
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x41c0a4
cmp esi, 0x14
jge 0x41c0a4
push 0x10
push 0
push edi
call fcn.00500a40
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x41c093
call fcn.00503a77
cmp dword [eax], 0x22
je 0x41c093
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.00503176
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x41c069
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x5d8a94], 0
jne 0x41c12f
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x41c158
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.0041ba38
pop ecx
pop ecx
test eax, eax
jne 0x41c15a
inc edi
cmp edi, esi
jl 0x41c135
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ff57c
leave
ret 8

Function at 0x4218f7
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5d52e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x42192c
xor eax, eax
jmp 0x42197f
lea eax, [ebp - 0x210]
push eax
call fcn.00503176
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x42195d
push 0x5acb20
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00501e34
add esp, 0xc
test eax, eax
jne 0x421928
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00501e34
add esp, 0xc
test eax, eax
jne 0x421928
lea eax, [ebp - 0x210]
push eax
call fcn.004116a2
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004ff57c
leave
ret
Function at 0x427d35
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.004279d9
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x427d7f
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00409360
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004030e0
jmp 0x427d8a
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004209c0
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x427d90
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.0041a9fe
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 0x427dcd
call fcn.004279d9
mov dword [esi + 0xc], 1
jmp 0x427dd2
call fcn.004279d9
cmp dword [esi], 0
je 0x427e1b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x427df3
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00409360
jmp 0x427e05
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004016a0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004030e0
jmp 0x427e3f
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 0x427e3f
push dword [esi]
push dword [ebp + 8]
call fcn.004209c0
pop esi
pop ebp
ret 0xc

Function at 0x48d18b
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 0x48d1a5
call fcn.0040da38
mov esi, dword [eax + 0xc]
push dword [0x5dac48]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x48d1c3
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 0x48d1bb
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x48d1f0
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x48d1bd
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0048d0b9
mov esi, eax
jmp 0x48d1e2

Function at 0x4dc82d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004146ca
call fcn.0040cc8f
cmp eax, esi
pop esi
jne 0x4dc849
mov ecx, 0x5d8da0
jmp fcn.00422541
ret
Function at 0x4e0143
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 0x4e015b
mov edi, dword [esi + 0xc]
jmp 0x4e019b
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4e0174
call fcn.00417fb6
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4e0189
call fcn.00417fb6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4e019b
call fcn.00417fb6
call fcn.0040da38
cmp dword [eax + 0x3c], 0
je 0x4e01b0
push edi
mov ecx, ebx
call fcn.004deff7
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004e005d
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4e01ce
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4e01da
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 0x4ff57c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5d52e0]
jne 0x4ff586
repz ret
jmp fcn.00508573
Function at 0x515dd8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5d52e0]
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.00507f9b
and dword [ebp - 0x14], 0
cmp dword [0x5dd2a8], 0
mov dword [ebp - 0x18], eax
jne 0x515e8b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x515f33
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5a8798
push ebx
call edi
test eax, eax
je 0x515f33
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5a8788
push ebx
mov dword [0x5dd2a8], eax
call edi
push eax
call esi
push 0x5a8774
push ebx
mov dword [0x5dd2ac], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5dd2b0], eax
call edi
push eax
call esi
mov dword [0x5dd2b8], eax
test eax, eax
je 0x515e8b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5dd2b4], eax
mov eax, dword [0x5dd2b4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x515ee4
cmp dword [0x5dd2b8], ecx
je 0x515ee4
push eax
call esi
push dword [0x5dd2b8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x515ee4
test ebx, ebx
je 0x515ee4
call edi
test eax, eax
je 0x515edb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x515edb
test byte [ebp - 8], 1
jne 0x515ee4
or dword [ebp + 0x10], 0x200000
jmp 0x515f17
mov eax, dword [0x5dd2ac]
cmp eax, dword [ebp - 0x18]
je 0x515f17
push eax
call esi
test eax, eax
je 0x515f17
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x515f17
mov eax, dword [0x5dd2b0]
cmp eax, dword [ebp - 0x18]
je 0x515f17
push eax
call esi
test eax, eax
je 0x515f17
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5dd2a8]
call esi
test eax, eax
je 0x515f33
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x515f35
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ff57c
leave
ret