joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464a6b
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
and dword [ebp - 4], 0
push ebx
push esi
mov dword [ebp - 0xc], ecx
push edi
push ecx
mov eax, esp
lea ecx, [ebp - 4]
mov dword [eax], 0x80
call fcn.00409e82
mov esi, dword [sym.imp.USER32.dll_GetSubMenu]
push 4
push dword [ebp - 4]
call esi
push 3
push eax
mov dword [ebp - 8], eax
call esi
cmp dword [ebp + 8], 0x806c
mov edi, eax
mov dword [ebp - 0x10], edi
jne 0x464aca
mov ebx, dword [sym.imp.USER32.dll_DeleteMenu]
mov esi, 0x400
push esi
push 4
push edi
call ebx
test eax, eax
je 0x464afa
push esi
push 4
push edi
jmp 0x464abe
cmp dword [ebp + 8], 0x414
jne 0x464afa
mov ebx, dword [sym.imp.USER32.dll_DeleteMenu]
mov dword [ebp + 8], 5
mov esi, 0x400
push esi
push 0
push edi
call ebx
dec dword [ebp + 8]
jne 0x464ae5
push esi
push 3
push edi
call ebx
test eax, eax
jne 0x464af0
mov eax, dword [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax]
push ecx
push 0x419
push ebx
call esi
lea ecx, [ebp - 0x28]
push ecx
push eax
push 0x41d
push ebx
call esi
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x4b843c]
push 8
add eax, 0x80b1
push eax
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
push edi
call fcn.004602c6
mov eax, dword [ebp - 0xc]
pop ecx
push 0
push dword [eax + 4]
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0x102
push edi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x464be0
push eax
lea eax, [ebp + 8]
push eax
call fcn.0046130a
pop ecx
xor eax, eax
pop ecx
lea edi, [ebp - 0x44]
push 7
pop ecx
rep stosd dword es:[edi], eax
and byte [ebp - 0x37], al
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x48], 0x20
mov dword [ebp - 0x44], 2
call fcn.00403c58
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov word [ebp - 0x36], ax
lea eax, [ebp - 0x48]
push eax
push 0x808a
push 0x440
push ebx
call esi
push 0
push dword [ebp + 0xc]
push 0x111
push dword [0x4c3228]
call esi
lea ecx, [ebp + 8]
call fcn.004038fb
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_DestroyMenu]
and dword [eax], 0
test edi, edi
je 0x464bf3
push edi
call esi
cmp dword [ebp - 8], 0
je 0x464bfe
push dword [ebp - 8]
call esi
cmp dword [ebp - 4], 0
je 0x464c09
push dword [ebp - 4]
call esi
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x464c13
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
mov edi, ecx
mov dword [eax], 1
mov eax, dword [0x4af550]
mov esi, 0x100
push esi
lea ecx, [ebp + 0x14]
mov dword [ebp + 0x14], eax
call fcn.00403c58
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
push eax
push dword [edi + 0x4c]
call ebx
push 0xffffffffffffffff
lea ecx, [ebp + 0x14]
call fcn.00403cd2
mov eax, dword [0x4af550]
push esi
lea ecx, [ebp - 8]
mov dword [ebp - 8], eax
call fcn.00403c58
push esi
push eax
push dword [edi + 0x50]
call ebx
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.00403cd2
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov ebx, 0x147
push 0
push ebx
push dword [edi + 0x4c]
call esi
push 0
push 0
push ebx
inc eax
push dword [edi + 0x50]
mov dword [ebp - 4], eax
call esi
inc eax
cmp dword [ebp - 4], 5
jne 0x464ca3
and dword [ebp - 4], 0
cmp eax, 5
jne 0x464caa
xor eax, eax
cmp eax, 6
jne 0x464cb2
push 5
pop eax
movzx ecx, word [ebp - 4]
movzx eax, ax
shl eax, 0x10
or eax, ecx
push eax
movzx eax, word [ebp + 0xc]
push eax
push 0x111
push dword [0x4c3228]
call esi
test eax, eax
jne 0x464d23
push dword [0x4b65d4]
lea eax, [ebp + 0xc]
push 0x4b
push eax
call fcn.00461337
pop ecx
pop ecx
push dword [eax]
lea eax, [ebp + 0x14]
push str._s_d
push eax
call fcn.00403d66
add esp, 0x10
lea ecx, [ebp + 0xc]
call fcn.004038fb
inc dword [0x4b65d4]
push 0x3fd
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebp + 0x14]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x464d50
lea eax, [ebp + 0xc]
push 0x4d
push eax
call fcn.00461337
pop ecx
mov esi, dword [eax]
pop ecx
push 0x3fd
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp + 0xc]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp + 0x14]
call fcn.004038fb
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x465b49
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 8]
push str._Kontakt
push eax
call fcn.0045e79a
pop ecx
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040a956
xor ecx, ecx
push 5
push ecx
push ecx
push dword [eax]
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
xor eax, eax
leave
ret 0x10
Function at 0x466de4
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
and dword [eax], 0
mov eax, dword [ebp + 0xc]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov eax, dword [eax + 0xc]
mov esi, ecx
mov ecx, dword [0x4af550]
push eax
push 0x419
mov dword [ebp + 0xc], eax
push dword [esi + 0x5c]
mov dword [ebp - 4], ecx
call edi
lea ecx, [ebp - 0x1c]
push ecx
push eax
push 0x41d
push dword [esi + 0x5c]
call edi
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [esi + 0x5c]
call dword [sym.imp.USER32.dll_ClientToScreen]
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov edi, dword [sym.imp.USER32.dll_AppendMenuW]
mov ebx, 0x1f40
push 0x4b6ae8
push ebx
push 0
push eax
mov dword [ebp + 0x10], eax
call edi
push 0x4b6fd8
push 0x1f41
push 0
push dword [ebp + 0x10]
call edi
push 0x4b6fd0
push 0x1f42
push 0
push dword [ebp + 0x10]
call edi
push 0
push dword [esi + 4]
push 0
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x102
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov edi, eax
cmp edi, ebx
jne 0x466ebb
push ecx
mov ecx, esp
push 0x4b6ae8
call fcn.0040a529
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00465bb1
cmp edi, 0x1f41
jne 0x466eda
push ecx
mov ecx, esp
push 0x4b6ed8
call fcn.0040a529
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00465bb1
cmp edi, 0x1f42
jne 0x466ef9
push ecx
mov ecx, esp
push 0x4aff94
call fcn.0040a529
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00465bb1
cmp dword [ebp + 0x10], 0
je 0x466f08
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_DestroyMenu]
lea ecx, [ebp - 4]
call fcn.004038fb
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc
Function at 0x467781
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4af550]
push esi
push edi
push str.Filter2
lea ecx, [ebp - 4]
mov dword [ebp - 8], eax
call fcn.0040a529
mov eax, dword [0x4af550]
mov esi, 0x7d00
xor edi, edi
push esi
lea ecx, [ebp - 0xc]
mov dword [0x4c5fc0], edi
mov dword [ebp - 0xc], eax
call fcn.00403c58
mov ecx, dword [ebp + 0x10]
cmp ecx, edi
jne 0x4677c9
mov ecx, dword [0x4c55b8]
push ecx
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
ja 0x4677e6
push 0x4b5968
lea ecx, [ebp - 4]
call fcn.00403adc
xor esi, esi
push esi
lea eax, [ebp - 8]
push 0x4b0ab0
push eax
call fcn.00403d66
push 0x4bc518
lea eax, [ebp + 0x10]
push dword [ebp - 8]
push dword [ebp - 4]
push eax
call fcn.0044aadb
add esp, 0x1c
lea eax, [ebp + 0x10]
push 0x4c5fc0
push ecx
mov ecx, esp
push eax
call fcn.004038b5
mov eax, dword [0x4c5fc0]
imul eax, eax, 0x1c
add eax, 0x4c5bd8
push eax
call fcn.004673b8
add esp, 0xc
lea ecx, [ebp + 0x10]
call fcn.004038fb
inc esi
cmp esi, 0x20
jl 0x4677e8
cmp dword [ebp + 0xc], edi
je 0x467857
cmp dword [0x4c5fc0], edi
jne 0x467857
push edi
call fcn.004673aa
pop ecx
cmp dword [ebp + 8], edi
je 0x467861
call fcn.00466f19
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
push 1
pop eax
pop edi
pop esi
leave
ret
Function at 0x46aded
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esp + 0x10], edi
mov dword [esi + 0xb8], eax
lea ebx, [esi + 0x90]
jne 0x46ae0e
xor eax, eax
jmp 0x46ae18
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push dword [esp + 0x10]
mov ecx, ebx
push eax
call fcn.004039ec
inc dword [esi + 0xa4]
cmp dword [esi + 0xc8], edi
jne 0x46ae50
lea eax, [esi + 0xc4]
push eax
push edi
push esi
push 0x46ae59
push edi
push edi
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc8], eax
push 1
pop eax
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x46ae6e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
and dword [ebp - 4], 0
push dword [ebp + 0xc]
mov ebx, ecx
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x46aeb7
push esi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x46aeb7
push esi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x46aebe
xor eax, eax
jmp 0x46af58
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x46aee2
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebx + 0xb4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0xb4], 0
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebx + 0xb4], eax
je 0x46af55
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x46af55
mov ecx, edi
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
xor edi, edi
push edi
mov dword [ebp + 0x10], edi
push dword [ebx + 0xb4]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x46af55
mov esi, dword [ebp + 0x10]
push 0x10
call sub.gdiplus.dll_GdipAlloc
cmp eax, edi
je 0x46af49
push 1
push esi
mov ecx, eax
call fcn.00445e6b
mov dword [ebp - 4], eax
jmp 0x46af4c
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x46b5b9
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2fc
lea eax, [ebp + 8]
push ebx
mov ebx, ecx
push esi
neg eax
sbb eax, eax
lea ecx, [ebp + 0xc]
and eax, ecx
xor esi, esi
mov edx, dword [eax]
cmp edx, esi
je 0x46b702
push edi
mov ecx, 0xac
xor eax, eax
lea edi, [ebp - 0x2f8]
mov dword [ebp - 0x2fc], esi
push 0x4008
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2fc]
push 0x2b4
push eax
push esi
push edx
mov dword [ebp - 0xc], esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x46b6fe
cmp dword [ebp - 0x2f8], esi
je 0x46b6fe
push esi
call dword [sym.imp.USER32.dll_GetDC]
cmp eax, esi
mov dword [ebp - 0x10], eax
je 0x46b6fe
push esi
push esi
push esi
lea eax, [ebp - 0x48]
push esi
mov edi, 0x100
push eax
push esi
mov dword [ebp - 0x48], 0x28
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov word [ebp - 0x3c], 1
mov word [ebp - 0x3a], 0x20
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
cmp eax, esi
mov dword [ebp - 8], eax
je 0x46b6f4
push dword [ebp - 0x10]
mov dword [ebp - 4], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 8]
mov dword [ebp - 4], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xcc]
lea eax, [ebp - 0x20]
lea ecx, [ebp - 4]
mov dword [ebp - 0x20], esi
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.0041ba8f
push 1
push esi
push esi
push dword [ebp - 4]
push dword [ebp - 0x2f8]
push dword [ebx + 0x84]
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
push esi
push dword [ebp - 8]
call fcn.0046b57f
pop ecx
mov dword [ebp - 0xc], eax
pop ecx
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x46b6f4
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [ebp - 0xc]
pop edi
lea ecx, [ebp + 8]
call fcn.004893ad
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x46e3d3
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 8]
push edi
push eax
lea eax, [ebp - 4]
push eax
xor edi, edi
push 0xb0
push ebx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp dword [ebp - 8], eax
mov dword [ebp + 8], eax
jne 0x46e462
cmp dword [ebp - 4], edi
jne 0x46e462
mov eax, dword [0x4bc51c]
mov ecx, 0x1ff
mov dword [ebp - 0x808], eax
xor eax, eax
lea edi, [ebp - 0x804]
push 0x400
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x808]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x808]
push 0x2e
push eax
call fcn.0049ce62
pop ecx
test eax, eax
pop ecx
je 0x46e4c6
lea ecx, [ebp - 0x808]
sub eax, ecx
sar eax, 1
push eax
jmp 0x46e4bc
mov eax, dword [0x4bc51c]
mov ecx, 0x1ff
mov dword [ebp - 0x808], eax
xor eax, eax
lea edi, [ebp - 0x804]
push 0x400
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x808]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x808]
push 0x2e
push eax
call fcn.0049ce62
cmp dword [ebp - 4], 0
pop ecx
pop ecx
jne 0x46e4ba
test eax, eax
je 0x46e4c6
push dword [ebp + 8]
lea ecx, [ebp - 0x808]
sub eax, ecx
sar eax, 1
inc eax
push eax
jmp 0x46e4be
push 0xffffffffffffffff
push 0
push 0xb1
push ebx
call esi
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x46fe91
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
push 1
mov esi, ecx
pop ebx
mov dword [eax], ebx
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 0x1f0]
lea edi, [esi + 0x1f0]
je 0x46ff67
mov dword [edi], eax
call fcn.00475dc6
mov edi, dword [edi]
test edi, edi
mov dword [ebp + 0x14], edi
je 0x46fed1
push ebx
mov ecx, esi
call fcn.0046fcf0
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x804a
push 0x419
push dword [esi + 0x22c]
call ebx
push 7
mov edx, eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
xor edi, edi
mov dword [ebp - 0x20], 0x20
cmp dword [ebp + 0x14], edi
mov dword [ebp - 0x1c], 1
setne al
lea eax, [eax + edx - 2]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
push 0x804a
push 0x440
push dword [esi + 0x22c]
call ebx
mov ecx, dword [esi + 0xf0]
cmp ecx, edi
je 0x46ff3a
push edi
call fcn.004541d7
push dword [ebp + 0x14]
lea ecx, [esi + 0x4a0]
call fcn.004151b4
cmp dword [0x4b7238], edi
je 0x46ff67
add esi, 0x270
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi]
call edi
push 5
push dword [esi]
call edi
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x4706bd
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x50], 0
jne 0x4706fc
push 0x40f4
call fcn.0049c301
test eax, eax
pop ecx
je 0x4706df
mov ecx, eax
call fcn.00498e82
jmp 0x4706e1
xor eax, eax
push dword [esi + 4]
mov ecx, eax
mov dword [esi + 0x50], eax
call fcn.00497af6
mov eax, dword [esi + 0x50]
push 0
push dword [eax + 0x40]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [esi + 0x50]
push 0xffffffffffffffff
push dword [edi + 0xcc]
call dword [sym.imp.COMCTL32.dll_ImageList_Remove]
test eax, eax
je 0x470718
and dword [edi + 0x40e4], 0
mov ecx, dword [esi + 0x50]
push 0xd3
call fcn.004999bc
pop edi
pop esi
ret
Function at 0x47105f
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov edi, dword [ebp + 0xc]
push 0
push dword [ebp + 0x10]
mov ebx, ecx
push 0x419
push edi
call esi
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0x41d
push edi
call esi
lea eax, [ebp - 0x10]
push 2
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push edi
push ecx
push eax
mov ecx, ebx
call fcn.0046e281
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x471187
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, ecx
and dword [esi], 0
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, edi
mov ebx, eax
call fcn.00472bf5
cmp ebx, eax
jne 0x4711d2
test eax, eax
je 0x4711d2
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1032
push eax
call edi
test eax, eax
je 0x4711d2
push 0
push 0xd
push 0x100
push ebx
call edi
mov dword [esi], 1
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
Function at 0x4714bc
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
push edi
mov esi, 0x4b7538
push 0
push esi
lea ecx, [ebp + 0xc]
call fcn.00403d34
mov edi, eax
cmp edi, 0xffffffff
je 0x4715d0
lea ebx, [edi + 1]
lea ecx, [ebp + 0xc]
push ebx
push esi
call fcn.00403d34
cmp eax, 0xffffffff
je 0x4715d0
sub eax, edi
lea ecx, [ebp + 0xc]
dec eax
push eax
lea eax, [ebp - 4]
push ebx
push eax
call fcn.0040acf3
mov eax, dword [0x4bc51c]
mov ecx, 0x81
mov dword [ebp - 0x220], eax
xor eax, eax
lea edi, [ebp - 0x21c]
push 0x208
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x4715c8
push esi
lea ecx, [ebp - 8]
call fcn.0040a529
push eax
lea eax, [ebp - 4]
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.0040a529
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403b20
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
push 0x4afefc
lea ecx, [ebp - 8]
call fcn.0040a529
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040a9a2
lea ecx, [ebp - 8]
call fcn.004038fb
push dword [ebp - 0xc]
lea ecx, [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.004040f7
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004038b5
lea ecx, [ebp + 0xc]
call fcn.004038fb
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4715ec
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x680
push ebx
push esi
lea eax, [ebp + 0xc]
push edi
push eax
call fcn.0045fecc
pop ecx
mov esi, 0x4b7538
push 0
push esi
lea ecx, [ebp + 0xc]
call fcn.00403d34
mov edi, eax
cmp edi, 0xffffffff
je 0x471736
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push ecx
mov ecx, esp
push eax
call fcn.004038b5
lea eax, [ebp + 0x10]
push eax
call fcn.004711da
add esp, 0xc
lea ecx, [ebp + 0xc]
push eax
call fcn.00403a8c
lea ecx, [ebp + 0x10]
call fcn.004038fb
lea ebx, [edi + 1]
lea ecx, [ebp + 0xc]
push ebx
push esi
call fcn.00403d34
cmp eax, 0xffffffff
je 0x471736
sub eax, edi
lea ecx, [ebp + 0xc]
dec eax
push eax
lea eax, [ebp + 0x10]
push ebx
push eax
call fcn.0040acf3
mov eax, dword [0x4bc51c]
mov ecx, 0x81
mov dword [ebp - 0x21c], eax
xor eax, eax
lea edi, [ebp - 0x218]
push 0x208
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x47172e
push esi
lea ecx, [ebp - 4]
call fcn.0040a529
push eax
lea eax, [ebp + 0x10]
push eax
push esi
lea ecx, [ebp - 8]
call fcn.0040a529
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00403b20
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
push 0x4afefc
lea ecx, [ebp - 4]
call fcn.0040a529
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040a9a2
lea ecx, [ebp - 4]
call fcn.004038fb
push dword [ebp - 0x10]
lea ecx, [ebp + 0xc]
push dword [ebp - 0xc]
call fcn.004040f7
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp + 0x10]
call fcn.004038fb
xor esi, esi
lea ecx, [ebp + 0xc]
push esi
push 0x4b5960
call fcn.00403d34
test eax, eax
jge 0x471760
push esi
push 0x4b1a7c
lea ecx, [ebp + 0xc]
call fcn.00403d34
test eax, eax
jl 0x471807
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 8]
push 0x4afefc
push eax
call fcn.0045f431
pop ecx
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040a956
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.00403b20
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
lea eax, [ebp + 0x10]
push eax
call fcn.0045fecc
pop ecx
mov word [ebp - 0x228], 0x5c
push dword [ebp + 0x10]
lea ecx, [ebp - 0x680]
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], esi
call fcn.0040b114
test eax, eax
je 0x4717e8
lea eax, [ebp - 4]
lea ecx, [ebp - 0x680]
push eax
call fcn.0040aff0
push eax
lea ecx, [ebp + 0x10]
call fcn.00403a8c
lea ecx, [ebp - 4]
call fcn.004038fb
lea eax, [ebp + 0x10]
lea ecx, [ebp + 0xc]
push eax
call fcn.00403a8c
lea ecx, [ebp - 0x680]
call fcn.0040b1e1
lea ecx, [ebp + 0x10]
call fcn.004038fb
lea eax, [ebp + 0xc]
push eax
call fcn.0045fecc
pop ecx
lea eax, [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
call fcn.004038b5
lea ecx, [ebp + 0xc]
call fcn.004038fb
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret