joyce8/EMBER2024-capa huggingface dataset:
Function at 0x478710
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x18]
test edi, edi
je 0x4787db
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
push ebx
mov ebx, dword [ebp + 0xc]
lea ecx, [eax + ebx]
cmp ecx, edx
jb 0x4787bd
lea edi, [edx + edx]
push 0
cmp edi, ecx
cmovbe edi, ecx
push edi
push 0
push 4
push 0
push 0xffffffffffffffff
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x47877c
push edi
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x47878a
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov eax, 0x300
pop esi
mov esp, ebp
pop ebp
ret 8
push dword [esi + 0x20]
push dword [esi + 0x18]
push edi
call fcn.00614e90
add esp, 0xc
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x18], edi
push ebx
push dword [ebp + 8]
lea ecx, [edi + eax]
push ecx
call fcn.00614e90
add esp, 0xc
mov eax, ebx
add dword [esi + 0x1c], ebx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi]
test eax, eax
je 0x478806
push 0
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
pop edi
mov dword [esi + 0xc], 0x1000000
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x478990
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 0x64]
test edx, edx
je 0x4789e7
mov ecx, dword [edi + 0x6c]
mov ebx, dword [edi + 0x68]
cmp ecx, ebx
jae 0x478a2f
mov esi, dword [ebp + 8]
lea eax, [ecx + edx]
sub ebx, ecx
cmp ebx, dword [ebp + 0xc]
cmova ebx, dword [ebp + 0xc]
push ebx
push eax
push esi
call fcn.00614e90
mov ecx, dword [edi + 0x58]
mov edx, esi
add dword [edi + 0x6c], ebx
add dword [edi + 0x54], ebx
push ebx
call fcn.00478290
add esp, 0x10
mov dword [edi + 0x58], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x478a28
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 4]
push 0
push ecx
push dword [ebp + 0xc]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x478a2f
mov esi, dword [ebp - 4]
mov edx, ebx
mov ecx, dword [edi + 0x58]
add dword [edi + 0x54], esi
push esi
call fcn.00478290
add esp, 4
mov dword [edi + 0x58], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [edi + 0xc], 0x1000000
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4799f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push esi
push edi
lea edi, [ebp - 0x268]
mov ecx, 0x9a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x730b1c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x260], ax
push 0x256
push 0
lea ecx, [ebp - 0x25e]
push ecx
call fcn.00614d30
add esp, 0xc
call fcn.0047bb00
lea edx, [ebp + 0xc]
mov dword [ebp - 0x268], edx
mov esi, esp
mov eax, dword [ebp - 0x268]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x12a
lea edx, [ebp - 0x260]
push edx
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
cmp esi, esp
call fcn.00611b50
push 0x67a308
lea eax, [ebp - 0x260]
push eax
call fcn.0063fbf0
add esp, 8
mov dword [ebp - 0x268], 0
mov esi, esp
lea ecx, [ebp - 0x260]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, esp
call fcn.00611b50
push edx
mov ecx, ebp
push eax
lea edx, [0x479acc]
call fcn.00611af0
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00610840
add esp, 0x268
cmp ebp, esp
call fcn.00611b50
mov esp, ebp
pop ebp
ret
Function at 0x48a770
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], 0
mov esi, esp
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.00611b50
cwde
test eax, eax
jge 0x48a7a2
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
mov esi, esp
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.00611b50
movsx edx, ax
test edx, edx
jge 0x48a7c3
mov eax, dword [ebp - 4]
or eax, 2
mov dword [ebp - 4], eax
mov esi, esp
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.00611b50
movsx ecx, ax
test ecx, ecx
jge 0x48a7e4
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
mov esi, esp
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.00611b50
cwde
test eax, eax
jge 0x48a803
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
mov esi, esp
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.00611b50
movsx edx, ax
test edx, edx
jge 0x48a824
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
add esp, 4
cmp ebp, esp
call fcn.00611b50
mov esp, ebp
pop ebp
ret
Function at 0x4a4310
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x694], 0
je 0x4a43e0
cmp dword [ebp + 8], 0x100
jne 0x4a43a7
movzx ecx, word [ebp + 0xc]
cmp ecx, 0xd
jne 0x4a43a7
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x69a]
test eax, eax
je 0x4a437e
mov esi, esp
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.00611b50
movsx ecx, ax
test ecx, ecx
jge 0x4a43a7
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x69b]
test eax, eax
jne 0x4a43a7
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x5c], 0
je 0x4a43a3
push 1
push 0
push 0
push 0
push 0x67dc34
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5c]
call fcn.00484180
xor eax, eax
jmp 0x4a43e5
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x694]
call fcn.004aa500
mov dword [ebp - 8], eax
mov esi, esp
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
call eax
cmp esi, esp
call fcn.00611b50
jmp 0x4a43e5
mov eax, 1
pop esi
add esp, 8
cmp ebp, esp
call fcn.00611b50
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4ab090
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x4ab0a0
xor eax, eax
jmp 0x4ab23d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x4ab1fe
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x67f918]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x67f918]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x67f918]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x67f918]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x67f918]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x67f918]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x67f918]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x67f918]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x4ab0a9
cmp dword [ebp + 0x10], 0
je 0x4ab237
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x67f918]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x4ab204
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x4af360
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x4af3d0
mov esi, esp
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, esp
call fcn.00611b50
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4af3c6
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0xc]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x4af42a
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x14]
jbe 0x4af3f0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x14]
sub edx, dword [ecx + 0x18]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x18]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.00614e90
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 0x18]
xor edx, edx
div dword [ebp + 0xc]
push edx
mov ecx, ebp
push eax
lea edx, [0x4af44c]
call fcn.00611af0
pop eax
pop edx
pop esi
add esp, 0x18
cmp ebp, esp
call fcn.00611b50
mov esp, ebp
pop ebp
ret
Function at 0x4b1390
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4b13c2
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0xffffffff
je 0x4b13cc
mov eax, 0x1000000
jmp 0x4b1465
mov edx, dword [ebp - 4]
add edx, 0x138
mov esi, esp
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp esi, esp
call fcn.00611b50
push 0x67dfe8
mov eax, dword [ebp - 4]
add eax, 0x138
push eax
call fcn.0063fbf0
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x4b1429
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp esi, esp
call fcn.00611b50
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
je 0x4b1429
mov eax, 0x2000000
jmp 0x4b1465
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004aef40
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4b144f
mov eax, dword [ebp - 0x10]
jmp 0x4b1465
mov eax, dword [ebp - 0x18]
push eax
call fcn.004afcc0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [0x734880]
push edx
mov ecx, ebp
push eax
lea edx, [0x4b1488]
call fcn.00611af0
pop eax
pop edx
pop esi
add esp, 0x18
cmp ebp, esp
call fcn.00611b50
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4b2510
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
push esi
push edi
lea edi, [ebp - 0x434]
mov ecx, 0x10d
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x730b1c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x4b2550
mov eax, 2
imul ecx, eax, 0
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + ecx]
test eax, eax
jne 0x4b2555
jmp 0x4b2649
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
test ecx, ecx
je 0x4b2592
mov edx, dword [ebp - 0xc]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x4b2581
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx]
cmp edx, 0x5c
jne 0x4b2587
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
add ecx, 2
mov dword [ebp - 0xc], ecx
jmp 0x4b2561
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
je 0x4b260b
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.00640210
add esp, 0xc
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x434], ecx
cmp dword [ebp - 0x434], 0x208
jae 0x4b25da
jmp 0x4b25df
call fcn.00610f60
xor edx, edx
mov eax, dword [ebp - 0x434]
mov word [ebp + eax - 0x21c], dx
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004b2510
add esp, 8
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x42c]
push edx
call fcn.00640be0
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x42c]
push ecx
call fcn.0063fbf0
add esp, 8
mov esi, esp
push 0
lea edx, [ebp - 0x42c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp esi, esp
call fcn.00611b50
push edx
mov ecx, ebp
push eax
lea edx, [0x4b2678]
call fcn.00611af0
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00610840
add esp, 0x434
cmp ebp, esp
call fcn.00611b50
mov esp, ebp
pop ebp
ret
Function at 0x4b5530
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], 0xcccccccc
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
test ecx, ecx
je 0x4b55a9
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cmp eax, 0x3c
jne 0x4b5588
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.004b3100
movzx edx, al
test edx, edx
jne 0x4b5586
xor eax, eax
jmp 0x4b5694
jmp 0x4b55a4
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.004b3480
movzx ecx, al
test ecx, ecx
jne 0x4b55a4
xor eax, eax
jmp 0x4b5694
jmp 0x4b5680
mov esi, esp
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0047d830
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp esi, esp
call fcn.00611b50
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4b55d6
xor eax, eax
jmp 0x4b5694
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call fcn.0047d830
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.00611b50
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4b5612
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, esp
call fcn.00611b50
xor eax, eax
jmp 0x4b5694
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x140], ecx
push 0
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call fcn.0047d830
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp esi, esp
call fcn.00611b50
push eax
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.00611b50
push eax
mov ecx, dword [ebp - 4]
call fcn.004b31a0
movzx ecx, al
test ecx, ecx
jne 0x4b5661
xor eax, eax
jmp 0x4b5694
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, esp
call fcn.00611b50
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x144], ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 4]
call fcn.004b56b0
pop esi
add esp, 0xc
cmp ebp, esp
call fcn.00611b50
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4f53a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [0x730b1c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
movzx eax, byte [ebp + 0x18]
push eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x10]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 8]
call fcn.00492150
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x6d8], 0
je 0x4f548d
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x6d8]
call fcn.004f6930
mov esi, esp
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
cmp esi, esp
call fcn.00611b50
test eax, eax
je 0x4f5455
mov esi, esp
push 0
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x6d8]
call fcn.0047a330
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.00611b50
jmp 0x4f548d
mov esi, esp
push 0x54
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x6d8]
call fcn.0047a330
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp esi, esp
call fcn.00611b50
push edx
mov ecx, ebp
push eax
lea edx, [0x4f54bc]
call fcn.00611af0
pop eax
pop edx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00610840
add esp, 0x20
cmp ebp, esp
call fcn.00611b50
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4f54e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [0x730b1c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 8]
call fcn.00492a10
mov eax, dword [ebp - 8]
cmp dword [eax + 0x6d8], 0
je 0x4f55b9
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x6d8]
call fcn.004f6930
mov esi, esp
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
cmp esi, esp
call fcn.00611b50
test eax, eax
je 0x4f5581
mov esi, esp
push 0
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x6d8]
call fcn.0047a330
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.00611b50
jmp 0x4f55b9
mov esi, esp
push 0x54
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x6d8]
call fcn.0047a330
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp esi, esp
call fcn.00611b50
push edx
mov ecx, ebp
push eax
lea edx, [0x4f55e8]
call fcn.00611af0
pop eax
pop edx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00610840
add esp, 0x20
cmp ebp, esp
call fcn.00611b50
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4f7450
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [0x730b1c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x18]
test ecx, ecx
jne 0x4f749d
xor eax, eax
jmp 0x4f75d2
mov edx, dword [ebp - 8]
cmp dword [edx + 0x10], 0
jne 0x4f74ad
xor eax, eax
jmp 0x4f75d2
mov esi, esp
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp esi, esp
call fcn.00611b50
add eax, 1
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
shl edx, 1
add edx, 0x24
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
call fcn.00611b80
mov dword [ebp - 0x24], esp
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
call fcn.006119d0
add dword [ebp - 0x24], 0x20
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x4f7524
push 0x685eb0
push 0x685ebc
push 0
push 0xe8
push 0x685ec4
push 2
call fcn.00619920
add esp, 0x18
cmp eax, 1
jne 0x4f7524
int3
cmp dword [ebp - 0x10], 0
jne 0x4f7531
xor eax, eax
jmp 0x4f75d2
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp esi, esp
call fcn.00611b50
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x10]
add ecx, 0x1e4
call fcn.0048bbf0
push 1
push 0
push 0
push 0
push str.textchanged
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov esi, esp
mov ecx, dword [ecx + 0x10]
mov eax, dword [edx + 0x24]
call eax
cmp esi, esp
call fcn.00611b50
mov ecx, eax
call fcn.00484180
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 8]
mov edx, dword [edx]
mov esi, esp
mov ecx, dword [eax + 0x10]
mov eax, dword [edx + 0x24]
call eax
cmp esi, esp
call fcn.00611b50
mov ecx, eax
call fcn.0047d1b0
movzx ecx, al
test ecx, ecx
je 0x4f75d0
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x10]
call fcn.00493ce0
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x4f75fc]
push dword [ebp - 0x18]
call fcn.00611a10
pop eax
pop edx
lea esp, [ebp - 0x28]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00610840
mov esp, ebp
pop ebp
ret 0x10