Function at 0x423080
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x49f014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x210], esi
cmp edi, 0xffffffff
jne 0x423231
mov esi, dword [ebx + 0x14]
mov edi, dword [ebp - 0x210]
mov dword [ebp - 0x21c], esi
push dword [esi + 4]
push dword [esi]
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [edi + 0x13c]
push eax
push 0x482804
mov dword [esi + 0x294], eax
call dword [sym.imp.Sm2Lib.dll_sm2lib_83]
add esp, 4
push eax
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.00401180
mov eax, dword [edi + 0x1e4]
add esp, 0x10
mov dword [esi + 0x10], eax
cmp eax, 0x10
jbe 0x42310c
mov dword [esi + 0x10], 0x10
jmp 0x423114
test eax, eax
je 0x4232c9
lea ecx, [esi + 0x14]
xor edx, edx
mov dword [ebp - 0x218], ecx
lea ebx, [esi + 0x254]
mov dword [ebp - 0x214], edx
nop dword [eax + eax]
cmp edx, dword [edi + 0x1e4]
jae 0x423204
test ecx, ecx
je 0x4231de
mov eax, edi
sub eax, esi
mov eax, dword [eax + ebx + 0x18]
test eax, eax
jne 0x423155
mov eax, 0x486a14
mov edi, 0x10
nop word [eax + eax]
movzx edx, word [eax]
test dx, dx
je 0x4231c1
mov word [ecx], dx
movzx edx, word [eax + 2]
test dx, dx
je 0x4231be
mov word [ecx + 2], dx
movzx edx, word [eax + 4]
test dx, dx
je 0x4231b9
mov word [ecx + 4], dx
movzx edx, word [eax + 6]
test dx, dx
je 0x4231b4
mov word [ecx + 6], dx
movzx edx, word [eax + 8]
test dx, dx
je 0x4231af
mov word [ecx + 8], dx
sub edi, 5
add eax, 0xa
add ecx, 0xa
cmp edi, 1
ja 0x423160
jmp 0x4231c1
add ecx, 8
jmp 0x4231c1
add ecx, 6
jmp 0x4231c1
add ecx, 4
jmp 0x4231c1
add ecx, 2
mov esi, dword [ebp - 0x21c]
xor eax, eax
mov edi, dword [ebp - 0x210]
mov edx, dword [ebp - 0x214]
mov word [ecx], ax
mov ecx, dword [ebp - 0x218]
test ebx, ebx
je 0x4231ef
mov eax, edi
sub eax, esi
mov eax, dword [eax + ebx + 0x98]
mov dword [ebx], eax
lea eax, [ebx - 0x40]
test eax, eax
je 0x423204
mov eax, edi
sub eax, esi
mov eax, dword [eax + ebx + 0x118]
mov dword [ebx - 0x40], eax
inc edx
add ecx, 0x20
add ebx, 4
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x218], ecx
cmp edx, dword [esi + 0x10]
jb 0x423130
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f9ee
mov esp, ebp
pop ebp
ret
push dword [ebx + 8]
lea ecx, [esi + 0xf8]
push dword [ebx + 4]
push 0
push edi
call fcn.004177d0
cmp edi, dword [esi + 0x13c]
jae 0x4232a0
mov eax, dword [esi + 0x144]
imul ecx, edi, 0x23c
mov esi, dword [eax + ecx + 4]
test esi, esi
jne 0x42326c
xor eax, eax
mov word [ebp - 0x20c], ax
jmp 0x42329a
lea eax, [ebp - 0x20c]
mov ecx, 0x104
mov edx, eax
sub esi, edx
nop dword [eax + eax]
movzx edx, word [esi + eax]
test dx, dx
je 0x423295
mov word [eax], dx
dec ecx
add eax, 2
cmp ecx, 1
ja 0x423280
xor ecx, ecx
mov word [eax], cx
mov esi, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
push dword [ebx + 0xc]
call dword [sym.imp.Sm2Lib.dll_sm2lib_100]
mov eax, dword [esi + 0x144]
add esp, 8
imul ecx, edi, 0x23c
mov eax, dword [eax + ecx + 0x114]
mov dword [ebx + 0x10], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045f9ee
mov esp, ebp
pop ebp
ret