joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401b87
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x41d380]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0
push 0x47e
push ebx
mov dword [ebp - 4], eax
call esi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
push 0
push 0x47f
push ebx
call esi
push eax
call edi
push 0
push 0x480
push ebx
call esi
push eax
call edi
push 0
push 0x481
push ebx
call esi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0
push 0x482
push dword [ebp + 8]
call esi
push eax
call ebx
push 0xf
pop ecx
xor eax, eax
mov byte [ebp - 0x44], 0
lea edi, [ebp - 0x43]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
push 0
stosb byte es:[edi], al
lea eax, [ebp - 0x44]
push 0x42a3bc
push eax
call fcn.0040c050
add esp, 0x10
lea eax, [ebp - 0x44]
push eax
push 0xffff
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0xffffffffffffffff
mov edi, 0x418469
push edi
push dword [ebp + 8]
call fcn.004016a8
add esp, 0xc
mov dword [ebp - 0x48], 0x3f4
push edi
push dword [ebp - 0x48]
push dword [ebp + 8]
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [ebp - 0x48]
push 0
add eax, 0xfffffffc
push eax
push dword [ebp + 8]
call esi
push eax
call ebx
cmp dword [ebp - 0x48], 0x3f4
jae 0x401c7c
inc dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
add eax, 0xfffffc0c
cmp eax, 1
jl 0x401c42
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0040bfdc
leave
ret
Function at 0x401d63
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x41d380]
push esi
push edi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.00401b52
test eax, eax
pop ecx
jl 0x401e95
imul eax, eax, 0x3ec
add eax, 0x41e240
mov esi, eax
je 0x401e95
lea eax, [ebp - 0x16c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x16c]
push eax
call fcn.0040bf20
cmp byte [ebp + eax - 0x16d], 0x5c
pop ecx
je 0x401dd0
lea eax, [ebp - 0x16c]
push eax
call fcn.0040bf20
pop ecx
lea eax, [ebp - 0x16c]
push str.lkj_evwrlkjasfoiu83.cer
push eax
call fcn.0040be30
pop ecx
pop ecx
push 0x17
pop ecx
push dword [esi + 0x3e8]
mov byte [ebp - 0x64], 0
push dword [esi + 0x3e4]
xor eax, eax
lea edi, [ebp - 0x63]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
stosb byte es:[edi], al
call dword [sym.imp.CRYPT32.dll_CertCreateCertificateContext]
mov esi, eax
test esi, esi
je 0x401ea7
lea eax, [ebp - 0x16c]
push 0x4184a4
push eax
call fcn.0040c808
mov edi, eax
push edi
push 1
push dword [esi + 8]
push dword [esi + 4]
call fcn.0040c760
push edi
call fcn.0040c600
push edi
call fcn.0040c44f
add esp, 0x20
push esi
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
lea eax, [ebp - 0x64]
push str.cryptext.dll_CryptExtOpenCER
push eax
call fcn.0040be20
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040be30
push 0
lea eax, [ebp - 0x64]
push eax
push 0x418480
push 0x41847c
push str.rundll32.exe
push 0
call fcn.0040c3ed
add esp, 0x28
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x401ea7
push 0xffffffffffffffff
push 0x42a83c
push dword [ebp + 8]
call fcn.004016a8
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.0040bfdc
leave
ret
Function at 0x4026b7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x41d380]
push ebx
push esi
push edi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x17
mov dword [ebp - 4], eax
xor edx, edx
pop ecx
xor eax, eax
mov byte [ebp - 0x64], dl
lea edi, [ebp - 0x63]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x60
stosb byte es:[edi], al
lea eax, [ebp - 0x64]
push eax
push 0x460
push dword [ebp + 8]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x70], edx
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edi, 0x42b8c8
mov ecx, edi
call fcn.0040362a
mov ebx, eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040bf20
cmp eax, ebx
pop ecx
jb 0x40273a
mov ecx, edi
call fcn.004010e4
mov ebx, eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040bf20
cmp eax, ebx
pop ecx
ja 0x40273a
mov dword [ebp - 0x68], 1
push 0x60
lea eax, [ebp - 0x64]
push eax
push 0x462
push dword [ebp + 8]
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, edi
call fcn.0040362a
mov ebx, eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040bf20
cmp eax, ebx
pop ecx
jb 0x402786
mov ecx, edi
call fcn.004010e4
mov ebx, eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040bf20
cmp eax, ebx
pop ecx
ja 0x402786
mov dword [ebp - 0x6c], 1
push 0x60
lea eax, [ebp - 0x64]
push eax
push 0x464
push dword [ebp + 8]
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, edi
call fcn.0040362a
mov ebx, eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040bf20
cmp eax, ebx
pop ecx
jb 0x4027d0
mov ecx, edi
call fcn.004010e4
mov edi, eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040bf20
cmp eax, edi
pop ecx
ja 0x4027d0
xor eax, eax
inc eax
jmp 0x4027d3
mov eax, dword [ebp - 0x70]
and eax, dword [ebp - 0x6c]
and eax, dword [ebp - 0x68]
push eax
push 1
push dword [ebp + 8]
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
call fcn.00405d79
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0040bfdc
leave
ret
Function at 0x4027fa
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x124
mov eax, dword [0x41d380]
push esi
push edi
mov dword [ebp + 0x70], eax
xor eax, eax
push 0x17
pop ecx
xor dl, dl
mov byte [ebp - 0x50], dl
lea edi, [ebp - 0x4f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x17
xor eax, eax
pop ecx
mov byte [ebp - 0xb0], dl
lea edi, [ebp - 0xaf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x17
mov byte [ebp + 0x10], dl
xor eax, eax
pop ecx
lea edi, [ebp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x42b8c8
stosb byte es:[edi], al
call fcn.004010e4
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
inc eax
push eax
lea eax, [ebp - 0x50]
push eax
push 0x460
push dword [ebp + 0x7c]
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x50]
push eax
call fcn.0040bf20
mov edi, eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00405b37
lea eax, [ebp - 0xb0]
push eax
call fcn.00405abb
add esp, 0x10
cmp eax, 3
jne 0x4028a4
push 0x42ae1c
jmp 0x4028ba
cmp eax, 2
jne 0x4028b0
push 0x42ae5c
jmp 0x4028ba
cmp eax, 1
jne 0x4028cc
push 0x42ae9c
push edi
lea eax, [ebp + 0x10]
push 0x42a5bc
push eax
call fcn.0040c050
add esp, 0x10
lea eax, [ebp + 0x10]
push eax
push 0x46a
push dword [ebp + 0x7c]
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [ebp + 0x7c]
call fcn.004026b7
pop ecx
mov ecx, dword [ebp + 0x70]
pop edi
pop esi
call fcn.0040bfdc
add ebp, 0x74
leave
ret
Function at 0x4028f9
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x124
mov eax, dword [0x41d380]
push esi
push edi
mov dword [ebp + 0x70], eax
xor eax, eax
push 0x17
pop ecx
xor dl, dl
mov byte [ebp - 0x50], dl
lea edi, [ebp - 0x4f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x17
xor eax, eax
pop ecx
mov byte [ebp - 0xb0], dl
lea edi, [ebp - 0xaf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x17
mov byte [ebp + 0x10], dl
xor eax, eax
pop ecx
lea edi, [ebp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x42b8c8
stosb byte es:[edi], al
call fcn.004010e4
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
inc eax
push eax
lea eax, [ebp - 0x50]
push eax
push 0x462
push dword [ebp + 0x7c]
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x50]
push eax
call fcn.0040bf20
mov edi, eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00405b37
lea eax, [ebp - 0xb0]
push eax
call fcn.00405abb
add esp, 0x10
cmp eax, 3
jne 0x4029a3
push 0x42ae1c
jmp 0x4029b9
cmp eax, 2
jne 0x4029af
push 0x42ae5c
jmp 0x4029b9
cmp eax, 1
jne 0x4029cb
push 0x42ae9c
push edi
lea eax, [ebp + 0x10]
push 0x42a5bc
push eax
call fcn.0040c050
add esp, 0x10
lea eax, [ebp + 0x10]
push eax
push 0x46b
push dword [ebp + 0x7c]
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [ebp + 0x7c]
call fcn.004026b7
pop ecx
mov ecx, dword [ebp + 0x70]
pop edi
pop esi
call fcn.0040bfdc
add ebp, 0x74
leave
ret
Function at 0x4029f8
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x124
mov eax, dword [0x41d380]
push esi
push edi
mov dword [ebp + 0x70], eax
xor eax, eax
push 0x17
pop ecx
xor dl, dl
mov byte [ebp - 0x50], dl
lea edi, [ebp - 0x4f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x17
xor eax, eax
pop ecx
mov byte [ebp - 0xb0], dl
lea edi, [ebp - 0xaf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x17
mov byte [ebp + 0x10], dl
xor eax, eax
pop ecx
lea edi, [ebp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x42b8c8
stosb byte es:[edi], al
call fcn.004010e4
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
inc eax
push eax
lea eax, [ebp - 0x50]
push eax
push 0x464
push dword [ebp + 0x7c]
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x50]
push eax
call fcn.0040bf20
mov edi, eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00405b37
lea eax, [ebp - 0xb0]
push eax
call fcn.00405abb
add esp, 0x10
cmp eax, 3
jne 0x402aa2
push 0x42ae1c
jmp 0x402ab8
cmp eax, 2
jne 0x402aae
push 0x42ae5c
jmp 0x402ab8
cmp eax, 1
jne 0x402aca
push 0x42ae9c
push edi
lea eax, [ebp + 0x10]
push 0x42a5bc
push eax
call fcn.0040c050
add esp, 0x10
lea eax, [ebp + 0x10]
push eax
push 0x46c
push dword [ebp + 0x7c]
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [ebp + 0x7c]
call fcn.004026b7
pop ecx
mov ecx, dword [ebp + 0x70]
pop edi
pop esi
call fcn.0040bfdc
add ebp, 0x74
leave
ret
Function at 0x402d03
Capabilities:
Switch active desktop

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x104
mov eax, dword [0x41d380]
push ebx
push edi
push 0xd9
mov dword [ebp + 0x70], eax
xor ebx, ebx
lea eax, [ebp - 0x8c]
push ebx
push eax
call fcn.0040bff0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
mov dword [0x429ec8], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 7
xor eax, eax
pop ecx
mov byte [ebp + 0x50], bl
lea edi, [ebp + 0x51]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp + 0x50]
push eax
push ebx
mov dword [ebp - 0x90], 0x20
call fcn.004044e6
add esp, 0xc
test eax, eax
jl 0x402e68
push esi
push dword [ebp - 0x90]
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040c0b0
mov al, byte [ebp - 0x90]
mov esi, dword [sym.imp.USER32.dll_GetDlgItemTextA]
add esp, 0xc
push 0x11
mov byte [ebp - 0x4c], al
lea eax, [ebp - 0x4b]
push eax
push 0x460
push dword [ebp + 0x7c]
call esi
mov edi, dword [ebp + 0x7c]
push 0x11
lea eax, [ebp - 0x3a]
push eax
push 0x462
push edi
call esi
push 0x11
lea eax, [ebp - 0x29]
push eax
push 0x464
push edi
call esi
mov eax, dword [0x429ed8]
cmp eax, ebx
mov dword [ebp - 0x18], eax
pop esi
jle 0x402e08
push ebx
push ebx
push 0xb0
push eax
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
movzx ecx, ax
shr eax, 0x10
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0xc]
push 0x42a9dc
push eax
call fcn.0040be20
lea eax, [ebp - 0x8c]
push eax
mov dword [ebp - 8], ebx
call fcn.00408941
add esp, 0xc
push 0x402bad
push 0x64
push 1
push edi
call dword [sym.imp.USER32.dll_SetTimer]
push ebx
push 0x10000000
push ebx
push ebx
push ebx
push str.mydesk1
call dword [sym.imp.USER32.dll_CreateDesktopA]
push str.__cp
mov dword [0x429ecc], eax
call fcn.00408a44
pop ecx
push dword [0x429ecc]
call dword [sym.imp.USER32.dll_SwitchDesktop]
mov ecx, dword [ebp + 0x70]
pop edi
pop ebx
call fcn.0040bfdc
add ebp, 0x74
leave
ret
Function at 0x4042de
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x42a33c
push 0x3ef
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_SetWindowTextA]
push eax
call edi
push 0x42a37c
push 0x3ed
push ebx
call esi
push eax
call edi
push 0x42a47c
push 0x474
push ebx
call esi
push eax
call edi
push 0x42a4fc
push 0x475
push ebx
call esi
push eax
call edi
push 0x42a4bc
push 0x476
push ebx
call esi
push eax
call edi
push 0x42a53c
push 0x477
push ebx
call esi
push eax
call edi
push 0x42ad9c
push 0x3e8
push ebx
call esi
push eax
call edi
push 0x42ad1c
push 0x3eb
push ebx
call esi
push eax
call edi
push 0x42aa5c
push 0x3ee
push ebx
call esi
push eax
call edi
push 0x42a9dc
push 0x3ec
push ebx
call esi
push eax
call edi
push 0x42b2bc
push 0x3ea
push ebx
call esi
push eax
call edi
push 0x42addc
push 0x3f8
push ebx
call esi
push eax
call edi
push 0x42a43c
push 0x467
push ebx
call esi
push eax
call edi
push 0x42aedc
push 0x3fa
push ebx
call esi
push eax
call edi
push 0x42b05c
mov ebp, 0x428
push ebp
push ebx
call esi
push eax
call edi
push 0x42b57c
push 0x3f9
push ebx
call esi
push eax
call edi
push 0x42b59c
push 0x434
push ebx
call esi
push eax
call edi
mov ecx, 0x42b8c8
call fcn.00403639
push eax
push 0x472
push ebx
call esi
push eax
call edi
push 0x42b15c
push ebx
call edi
push 0
push 0x3fa
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 0
push ebp
push ebx
call esi
push eax
call edi
push 0
push ebp
push ebx
call esi
push eax
call edi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x404aa7
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
test eax, eax
je 0x404ab4
mov dword [0x429f5c], eax
cmp dword [0x429f10], 0
mov eax, dword [esp + 0xc]
mov dword [0x429f60], eax
jne 0x404af0
push 0
push 0x404980
push dword [esp + 0xc]
push 0x81
push dword [0x42a22c]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push 5
push eax
mov dword [0x429f10], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x429f10]
ret
Function at 0x404faa
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x41d380]
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, str.Mgr_
lea edi, [ebp - 0x44]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 4], eax
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x3f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, 0x42b8c8
mov ecx, edi
mov dword [0x42a22c], ebx
call fcn.00403635
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0040be20
pop ecx
pop ecx
lea eax, [ebp - 0x44]
push eax
xor esi, esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, esi
mov dword [ebp - 0x48], eax
je 0x405036
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x405036
cmp dword [0x429f6c], esi
jne 0x40502b
mov ecx, edi
call fcn.00403640
push eax
call fcn.00404b47
pop ecx
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x405068
push esi
push ebx
push esi
push esi
push esi
mov eax, 0x80000000
push eax
push esi
push eax
push 0xcf0000
mov ecx, edi
mov dword [0x42a22c], ebx
call fcn.00403640
push eax
push 0x42a160
push esi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edi, eax
cmp edi, esi
jne 0x40506c
xor eax, eax
jmp 0x4050cd
push esi
push edi
mov dword [0x429f70], edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
inc ebx
mov ecx, 0x42cd24
mov dword [0x42a230], ebx
call fcn.00408b30
test eax, eax
je 0x4050a0
push esi
push edi
call dword [0x42cd24]
push dword [0x429f6c]
push edi
call fcn.00404e95
pop ecx
pop ecx
call fcn.00407bcb
cmp eax, 6
jl 0x4050cb
push 0x404d35
push 0x258
push 6
push edi
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0040bfdc
leave
ret

Function at 0x405c7b
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0x1c
mov eax, dword [0x41d380]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
mov dword [esp + 0x24], eax
push edi
lea eax, [esp + 0x10]
push eax
call esi
mov ebx, dword [esp + 0x30]
push ebx
call fcn.00405b69
pop ecx
lea eax, [esp + 0x10]
push eax
call esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, dword [sym.imp.USER32.dll_SetFocus]
mov edi, 0x3fb
lea eax, [esp + 0x18]
push eax
push edi
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esp + 0x14]
lea eax, [esp + 0x1c]
push dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x405d1a
lea eax, [edi - 0x3fb]
cmp eax, 0x24
jge 0x405cfa
push 0x4185fc
push edi
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push edi
push ebx
call esi
cmp dword [0x42cf28], eax
je 0x405d1a
push edi
push ebx
call esi
push eax
mov dword [0x42cf28], eax
call ebp
push dword [0x42cef0]
call ebp
inc edi
lea eax, [edi - 0x3fb]
cmp eax, 0x28
jl 0x405cbb
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
call fcn.0040bfdc
add esp, 0x1c
ret
Function at 0x405f8b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x41d380]
push edi
mov dword [ebp - 4], eax
xor eax, eax
push 0x3f
pop ecx
mov byte [ebp - 0x104], 0
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x3f
xor eax, eax
mov byte [ebp - 0x204], 0
pop ecx
lea edi, [ebp - 0x203]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor edi, edi
cmp dword [0x42cf2c], edi
je 0x405fdc
xor eax, eax
jmp 0x40613d
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
push ebx
push dword [ebp + 8]
mov dword [0x42cf2c], 1
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push edi
push edi
push 0xb0
push ebx
push dword [ebp + 8]
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
call edi
movzx eax, ax
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.0040c0b0
lea eax, [ebp - 0x204]
push eax
call fcn.00405e3b
lea eax, [ebp - 0x204]
push eax
call fcn.0040bf20
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x104]
push eax
call fcn.00405e3b
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.0040be20
lea eax, [ebp - 0x204]
push eax
call fcn.00405eee
lea eax, [ebp - 0x104]
push eax
call fcn.0040bf20
add esp, 0x28
cmp eax, 0xff
ja 0x4060e9
lea eax, [ebp - 0x204]
push eax
call fcn.0040bf20
cmp eax, dword [ebp + 0x10]
pop ecx
ja 0x4060e9
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x18]
call fcn.0040be20
pop ecx
pop ecx
lea eax, [ebp - 0x104]
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push dword [ebp - 0x208]
push dword [ebp - 0x208]
push 0xb1
push ebx
push dword [ebp + 8]
call esi
push eax
call edi
xor eax, eax
inc eax
jmp 0x406134
push dword [ebp + 0x18]
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push dword [ebp + 0x18]
call fcn.0040bf20
mov ebx, eax
lea eax, [ebp - 0x104]
push eax
call fcn.0040bf20
pop ecx
pop ecx
sub ebx, eax
add dword [ebp - 0x208], ebx
push dword [ebp - 0x208]
push dword [ebp - 0x208]
push 0xb1
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
push eax
call edi
xor eax, eax
and dword [0x42cf2c], 0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
call fcn.0040bfdc
leave
ret
Function at 0x406182
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x41d380]
push ebx
mov dword [ebp - 4], eax
push edi
xor ebx, ebx
xor eax, eax
mov byte [ebp - 0xc], bl
lea edi, [ebp - 0xb]
stosd dword es:[edi], eax
stosb byte es:[edi], al
movzx eax, word [ebp + 0xc]
cmp eax, ebx
jle 0x406306
cmp eax, 2
jle 0x406301
cmp eax, 0x3fa
jle 0x406306
cmp eax, 0x41e
jle 0x4062d9
cmp eax, 0x41f
je 0x406299
cmp eax, 0x420
je 0x4061f4
cmp eax, 0x421
jne 0x406306
push dword [ebp + 8]
call fcn.004056d0
pop ecx
jmp 0x406308
cmp dword [0x41d060], ebx
push esi
push 0x1a
mov esi, 0x405
pop edi
jne 0x406249
push 6
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.0040bff0
add esp, 0xc
push 2
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea eax, [ebp - 0xc]
push eax
call fcn.0040dcd1
pop ecx
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
inc esi
dec edi
jne 0x406205
mov dword [0x41d060], 1
jmp 0x406287
push 6
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.0040bff0
add esp, 0xc
push 2
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea eax, [ebp - 0xc]
push eax
call fcn.0040dbbd
pop ecx
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
inc esi
dec edi
jne 0x406249
mov dword [0x41d060], ebx
push dword [0x42cef0]
call dword [sym.imp.USER32.dll_SetFocus]
xor eax, eax
inc eax
pop esi
jmp 0x406308
push ebx
push 8
push 0x102
push dword [0x42cef0]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xc8
push 0x42cd40
push dword [0x42cef0]
call dword [sym.imp.USER32.dll_GetWindowTextA]
call fcn.00405d79
push dword [0x42cef0]
call dword [sym.imp.USER32.dll_SetFocus]
xor eax, eax
inc eax
jmp 0x406308
add eax, 0xfffffc05
cmp word [ebp + 0xc], 0x405
jb 0x4062f1
cmp dword [0x41d060], ebx
je 0x4062f1
add eax, 0x1a
mov al, byte [eax + str.1234567890qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM]
mov byte [ebp - 0xc], al
movsx eax, al
push ebx
push eax
jmp 0x40629c
call fcn.00406148
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop ebx
call fcn.0040bfdc
leave
ret