Function at 0x412f23
Capabilities:
Get graphical window text
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x27c
mov eax, dword [0x5107c0]
xor eax, esp
mov dword [esp + 0x274], eax
push ebx
push ebp
push esi
push edi
xor eax, eax
mov edi, edx
push 0xfe
push eax
mov word [esp + 0x188], ax
mov esi, ecx
lea eax, [esp + 0x18a]
push eax
call fcn.004b6030
add esp, 0xc
push 0x32
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
push esi
push esi
mov ebx, eax
push 0x111c
push ebx
call ebp
push esi
lea ecx, [eax + 2]
push ecx
push 0x111b
push ebx
call ebp
push 0xa197b517
mov edx, 0x7bc8bce9
mov ecx, 0x1ec014c6
call fcn.004014a6
pop ecx
mov edx, eax
mov ecx, ebx
call fcn.0040bfcb
push 0x40
lea eax, [esp + 0x20]
push esi
push eax
call fcn.004b6030
mov ecx, dword [0x521818]
add esp, 0xc
xor eax, eax
mov dword [esp + 0x70], esi
mov word [esp + 0x6c], ax
mov dword [esp + 0x74], esi
push 0xd
pop eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x180]
push 0x80
mov dword [esp + 0x34], eax
lea eax, [esp + 0x84]
push eax
push esi
push 7
pop eax
push eax
mov dword [esp + 0x2c], 0xffff0002
mov dword [esp + 0x38], 0x20
mov dword [esp + 0x3c], 0xff
mov dword [esp + 0x28], 0xffff0000
mov dword [esp + 0x78], 0x51a040
call fcn.0041bdb3
test eax, eax
jne 0x413033
push ecx
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x84]
call fcn.00415bc9
pop ecx
push 7
pop eax
mov word [esp + 0x6c], ax
lea eax, [esp + 0x80]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x18]
push eax
push esi
push 0x1132
push ebx
mov dword [esp + 0x84], 0x40d01a
mov dword [esp + 0x8c], esi
mov dword [esp + 0x54], esi
call ebp
mov esi, eax
mov ecx, edi
lea eax, [esp + 0x68]
mov dword [esp + 0x78], esi
push eax
call fcn.00413d8a
mov ecx, dword [0x521818]
lea eax, [esp + 0x80]
push 0x80
push eax
mov dword [esp + 0x20], esi
xor esi, esi
push esi
push 0x15
pop eax
push eax
mov dword [esp + 0x78], 0x519f90
call fcn.0041bdb3
test eax, eax
jne 0x4130bd
push ecx
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x84]
call fcn.00415bc9
pop ecx
push 0x15
pop eax
mov word [esp + 0x6c], ax
xor eax, eax
inc eax
mov dword [esp + 0x74], 0x40f974
mov dword [esp + 0x7c], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x18]
push eax
push esi
push 0x1132
push ebx
call ebp
mov dword [esp + 0x78], eax
mov ecx, edi
lea eax, [esp + 0x68]
push eax
call fcn.00413d8a
mov ecx, dword [0x521818]
lea eax, [esp + 0x80]
push 0x80
push eax
push esi
push 0xd
mov dword [esp + 0x78], 0x519dc0
call fcn.0041bdb3
test eax, eax
jne 0x41313a
push ecx
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x84]
call fcn.00415bc9
pop ecx
push 0xd
pop eax
push 2
mov word [esp + 0x70], ax
pop eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x18]
push eax
push esi
push 0x1132
push ebx
mov dword [esp + 0x84], 0x40d750
call ebp
mov dword [esp + 0x78], eax
mov ecx, edi
lea eax, [esp + 0x68]
push eax
call fcn.00413d8a
mov ecx, dword [0x521818]
lea eax, [esp + 0x80]
push 0x80
push eax
push esi
push 8
pop eax
push eax
mov dword [esp + 0x28], 0xffff0000
mov dword [esp + 0x78], 0x518168
call fcn.0041bdb3
test eax, eax
jne 0x4131c4
push ecx
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x84]
call fcn.00415bc9
pop ecx
push 8
pop eax
push 3
mov word [esp + 0x70], ax
pop eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x18]
push eax
push esi
push 0x1132
push ebx
mov dword [esp + 0x84], 0x410117
call ebp
mov esi, eax
mov ecx, edi
lea eax, [esp + 0x68]
mov dword [esp + 0x78], esi
push eax
call fcn.00413d8a
mov ecx, dword [0x521818]
lea eax, [esp + 0x80]
push 0x80
push eax
mov dword [esp + 0x20], esi
xor esi, esi
push esi
push 0x13
pop eax
push eax
mov dword [esp + 0x78], 0x519be0
call fcn.0041bdb3
test eax, eax
jne 0x41324e
push ecx
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x84]
call fcn.00415bc9
pop ecx
push 0x13
pop eax
push 4
mov word [esp + 0x70], ax
pop eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x18]
push eax
push esi
push 0x1132
push ebx
mov dword [esp + 0x84], 0x41043f
call ebp
mov dword [esp + 0x78], eax
mov ecx, edi
lea eax, [esp + 0x68]
push eax
call fcn.00413d8a
mov ecx, dword [0x521818]
lea eax, [esp + 0x80]
push 0x80
push eax
push esi
push 0xb
pop eax
push eax
mov dword [esp + 0x28], 0xffff0000
mov dword [esp + 0x78], 0x5196a0
call fcn.0041bdb3
test eax, eax
jne 0x4132d8
push ecx
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x84]
call fcn.00415bc9
pop ecx
push 0xb
pop eax
push 5
mov word [esp + 0x70], ax
pop eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x18]
push eax
push esi
push 0x1132
push ebx
mov dword [esp + 0x84], 0x411c5c
call ebp
mov esi, eax
mov ecx, edi
lea eax, [esp + 0x68]
mov dword [esp + 0x78], esi
push eax
call fcn.00413d8a
mov ecx, dword [0x521818]
lea eax, [esp + 0x80]
push 0x80
push eax
mov dword [esp + 0x20], esi
xor esi, esi
push esi
push 0xc
pop eax
push eax
mov dword [esp + 0x78], 0x5166c8
call fcn.0041bdb3
test eax, eax
jne 0x413362
push ecx
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x84]
call fcn.00415bc9
pop ecx
push 0xc
pop eax
push 6
mov word [esp + 0x70], ax
pop eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x18]
push eax
push esi
push 0x1132
push ebx
mov dword [esp + 0x84], 0x4122c2
call ebp
mov dword [esp + 0x78], eax
mov ecx, edi
lea eax, [esp + 0x68]
push eax
call fcn.00413d8a
mov ecx, dword [0x521818]
lea eax, [esp + 0x80]
push 0x80
push eax
push esi
push 0x10
pop eax
push eax
mov dword [esp + 0x78], 0x519520
call fcn.0041bdb3
test eax, eax
jne 0x4133e4
push ecx
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x84]
call fcn.00415bc9
pop ecx
push 0x10
pop eax
push 7
mov word [esp + 0x70], ax
pop eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x18]
push eax
push esi
push 0x1132
push ebx
mov dword [esp + 0x84], 0x412b50
call ebp
mov dword [esp + 0x78], eax
mov ecx, edi
lea eax, [esp + 0x68]
push eax
call fcn.00413d8a
mov ecx, dword [0x521818]
lea eax, [esp + 0x80]
push 0x80
push eax
push esi
push 0xa
pop eax
push eax
mov dword [esp + 0x28], 0xffff0000
mov dword [esp + 0x78], 0x519230
call fcn.0041bdb3
test eax, eax
jne 0x41346e
push ecx
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x84]
call fcn.00415bc9
pop ecx
push 0xa
pop eax
push 8
mov word [esp + 0x70], ax
pop eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x18]
push eax
push esi
push 0x1132
push ebx
mov dword [esp + 0x84], 0x410b2e
call ebp
mov esi, eax
mov ecx, edi
lea eax, [esp + 0x68]
mov dword [esp + 0x78], esi
push eax
call fcn.00413d8a
mov ecx, dword [0x521818]
lea eax, [esp + 0x80]
push 0x80
push eax
push 0
push 0x11
mov dword [esp + 0x28], esi
pop esi
push esi
mov dword [esp + 0x78], 0x515458
call fcn.0041bdb3
test eax, eax
jne 0x4134f7
push ecx
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x84]
call fcn.00415bc9
pop ecx
push 9
pop eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x18]
push eax
mov word [esp + 0x70], si
mov esi, 0x1132
push 0
push esi
push ebx
mov dword [esp + 0x84], 0x410f72
call ebp
mov dword [esp + 0x78], eax
mov ecx, edi
lea eax, [esp + 0x68]
push eax
call fcn.00413d8a
mov ecx, dword [0x521818]
lea eax, [esp + 0x80]
push 0x80
push eax
push 0
push 0x14
pop eax
push eax
mov dword [esp + 0x28], 0xffff0000
mov dword [esp + 0x78], 0x517d98
call fcn.0041bdb3
test eax, eax
jne 0x413581
push ecx
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x84]
call fcn.00415bc9
pop ecx
push 0x14
pop eax
push 0xa
mov word [esp + 0x70], ax
pop eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x18]
push eax
push 0
push esi
push ebx
mov dword [esp + 0x84], 0x411819
call ebp
mov dword [esp + 0x78], eax
mov ecx, edi
lea eax, [esp + 0x68]
push eax
call fcn.00413d8a
mov ecx, dword [0x521818]
lea eax, [esp + 0x80]
push 0x80
push eax
push 0x33
mov dword [esp + 0x24], 0xffff0000
mov dword [esp + 0x74], 0x515208
call fcn.0041c148
test eax, eax
jne 0x413619
movzx edx, word [0x51761e]
lea eax, [esp + 0x80]
push 0x80
push eax
xor edx, 0xc7c7
mov ecx, 0x517620
call fcn.00415bfb
pop ecx
pop ecx
lea ecx, [esp + 0x80]
call fcn.0040bfa2
push 0x19
pop eax
push 0xb
mov word [esp + 0x70], ax
pop eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x18]
push eax
push 0
push esi
push ebx
mov dword [esp + 0x84], 0x412d80
call ebp
mov dword [esp + 0x78], eax
mov ecx, edi
lea eax, [esp + 0x68]
push eax
call fcn.00413d8a
cmp dword [edi + 0x10], 0
je 0x4136b3
mov eax, dword [edi + 4]
mov esi, 0x118
mov ecx, dword [edi]
sub eax, ecx
cdq
idiv esi
and dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
test eax, eax
je 0x4136fc
mov eax, dword [esp + 0x14]
lea edx, [ecx + 4]
movzx ecx, word [edx]
cmp ecx, dword [edi + 0x10]
je 0x4136a5
inc eax
add edx, esi
cmp eax, dword [esp + 0x10]
jb 0x413692
jmp 0x4136fc
mov ecx, dword [edi]
imul eax, eax, 0x118
mov eax, dword [eax + ecx + 0x10]
jmp 0x4136f8
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x4136fc
mov eax, dword [edi + 4]
mov esi, 0x118
sub eax, dword [edi]
xor ecx, ecx
cdq
idiv esi
mov dword [esp + 0x64], eax
test eax, eax
je 0x4136fc
mov edi, dword [edi]
mov eax, dword [esp + 0x14]
lea edx, [edi + 0x14]
cmp dword [edx], eax
je 0x4136ee
inc ecx
add edx, esi
cmp ecx, dword [esp + 0x64]
jb 0x4136df
jmp 0x4136fc
imul eax, ecx, 0x118
mov eax, dword [eax + edi + 0x10]
test eax, eax
jne 0x413708
push 0
push 0
push 0x110a
push ebx
call ebp
push eax
push 9
push 0x110b
push ebx
call ebp
mov ecx, dword [esp + 0x284]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b35e5
add esp, 0x27c
ret