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

Disassembly:
push 0xffffffffffffffff
push 0x428a0d
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x431060]
xor eax, esp
mov dword [esp + 0x288], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x431060]
xor eax, esp
push eax
lea eax, [esp + 0x2a0]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
lea ecx, [esp + 0x154]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x154], bl
mov dword [esp + 0x155], ebx
mov dword [esp + 0x159], ebx
mov dword [esp + 0x15d], ebx
mov dword [esp + 0x161], ebx
mov dword [esp + 0x165], ebx
mov dword [esp + 0x169], ebx
mov dword [esp + 0x16d], ebx
mov word [esp + 0x171], bx
mov byte [esp + 0x173], bl
mov byte [esp + 0x174], bl
mov dword [esp + 0x175], ebx
mov dword [esp + 0x179], ebx
mov dword [esp + 0x17d], ebx
mov dword [esp + 0x181], ebx
mov dword [esp + 0x185], ebx
mov dword [esp + 0x189], ebx
mov dword [esp + 0x18d], ebx
mov word [esp + 0x191], bx
mov byte [esp + 0x193], bl
call fcn.004032a0
lea ecx, [esp + 0x174]
call fcn.00403350
push 0x103
lea eax, [esp + 0x199]
push ebx
push eax
mov byte [esp + 0x1a0], bl
call fcn.00417ce0
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0xc
push 0x104
lea ecx, [esp + 0x198]
push ecx
push 0x3e8
push edx
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 0x194]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x405265
sub eax, edx
jne 0x40527d
mov dword [esp + 0x14], 0x193
jmp 0x405749
mov ebp, 0xf
mov dword [esp + 0xf8], ebp
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
mov dword [esp + 0x114], ebp
mov dword [esp + 0x110], ebx
mov byte [esp + 0x100], bl
mov dword [esp + 0x130], ebp
mov dword [esp + 0x12c], ebx
mov byte [esp + 0x11c], bl
mov dword [esp + 0x14c], ebp
mov dword [esp + 0x148], ebx
mov byte [esp + 0x138], bl
mov dword [esp + 0x2a8], ebx
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
mov byte [esp + 0x2a8], 1
push ebx
push 0x42e20b
lea ecx, [esp + 0x60]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.004019e0
mov byte [esp + 0x2a8], 2
push ebx
push 0x42e20b
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.004019e0
mov byte [esp + 0x2a8], 3
push ebx
push 0x42e20b
lea ecx, [esp + 0x98]
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
call fcn.004019e0
mov byte [esp + 0x2a8], 4
push ebx
push 0x42e20b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
call fcn.004019e0
lea esi, [esp + 0x18]
mov byte [esp + 0x2a8], 5
call fcn.00408300
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
push 0x3e8
push ecx
call edi
lea edx, [esp + 0x58]
mov ecx, eax
call fcn.00408b00
lea edx, [esp + 0x3c]
push edx
call fcn.00408bf0
lea eax, [esp + 0x94]
add esp, 4
push eax
call fcn.00409020
lea ecx, [esp + 0x78]
add esp, 4
push ecx
call fcn.004094a0
mov edx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0xdc], edx
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0xec]
call fcn.00401c00
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x108]
call fcn.00401c00
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0x124]
call fcn.00401c00
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x140]
call fcn.00401c00
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov byte [esp + 0x2a8], 6
mov ecx, dword [esp + 0x110]
mov edx, dword [esp + 0x12c]
mov eax, dword [esp + 0xf4]
add edx, ecx
mov ecx, dword [esp + 0x148]
lea eax, [edx + eax + 0x1c]
lea esi, [ecx + eax]
cmp esi, ebx
ja 0x405495
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x28]
call fcn.00401d40
jmp 0x4054a1
push ebx
mov eax, esi
lea edi, [esp + 0x24]
call fcn.00406a00
mov eax, dword [esp + 0x24]
mov edi, 0x10
cmp dword [esp + 0x38], edi
jae 0x4054b4
lea eax, [esp + 0x24]
push esi
lea ecx, [esp + 0xe0]
call fcn.00402600
lea edx, [esp + 0xac]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
or esi, 0xffffffff
push esi
push ebx
lea eax, [esp + 0x48]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401c00
lea ecx, [esi + 0x7e]
call fcn.00406f30
add esp, 0x20
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x4055ee
cmp dword [esp + 0x38], edi
jb 0x405514
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004160ce
add esp, 4
mov byte [esp + 0x24], bl
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
cmp dword [esp + 0x8c], edi
jb 0x405536
mov edx, dword [esp + 0x78]
push edx
call fcn.004160ce
add esp, 4
mov byte [esp + 0x78], bl
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebp
cmp dword [esp + 0xa8], edi
jb 0x405561
mov eax, dword [esp + 0x94]
push eax
call fcn.004160ce
add esp, 4
mov byte [esp + 0x94], bl
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebp
cmp dword [esp + 0x54], edi
jb 0x405589
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004160ce
add esp, 4
mov byte [esp + 0x40], bl
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebp
cmp dword [esp + 0x70], edi
jb 0x4055a8
mov edx, dword [esp + 0x5c]
push edx
call fcn.004160ce
add esp, 4
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0xd8], edi
jb 0x4055cd
mov eax, dword [esp + 0xc4]
push eax
call fcn.004160ce
add esp, 4
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
mov dword [esp + 0x2a8], esi
jmp 0x40573d
cmp dword [esp + 0xac], 0xd4
je 0x405608
mov dword [esp + 0x14], 0x132
jmp 0x405501
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xc4]
call fcn.004026f0
test al, al
jne 0x40562a
mov dword [esp + 0x14], 0x14a
jmp 0x4056f6
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov esi, edx
shl esi, 0x10
mov ecx, edx
and ecx, 0xff00
add esi, ecx
mov ecx, edx
shr ecx, 8
and ecx, 0xff00
shl esi, 8
add esi, ecx
mov ecx, edx
shr ecx, 0x18
mov dword [esp + 0x14], 0x18
add esi, ecx
movzx ebp, dl
jmp 0x405669
mov edx, dword [esp + 0x18]
mov ecx, esi
xor ecx, eax
xor ecx, 0x39ba2d71
mov eax, ecx
shl eax, 0x10
mov edi, ecx
and edi, 0xff00
add eax, edi
mov edi, ecx
shr edi, 8
shl eax, 8
and edi, 0xff00
add eax, edi
shr ecx, 0x18
add eax, ecx
mov ecx, ebp
rol eax, cl
mov cl, byte [esp + 0x14]
add cl, 2
movzx ecx, cl
sub eax, edx
xor eax, 0x7ac9127b
mov edx, eax
shl edx, 0x10
mov edi, eax
and edi, 0xff00
add edx, edi
mov edi, eax
shl edx, 8
shr edi, 8
and edi, 0xff00
add edx, edi
shr eax, 0x18
add edx, eax
sub edx, dword [esp + 0x18]
ror edx, cl
sub dword [esp + 0x14], 1
mov eax, edx
jns 0x405665
mov ecx, dword [esp + 0x18]
test cl, 1
jne 0x4056ec
sub eax, ecx
jmp 0x4056ee
add eax, ecx
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x405769
lea ecx, [esp + 0x20]
call fcn.004019b0
lea ecx, [esp + 0x74]
call fcn.004019b0
lea ecx, [esp + 0x90]
call fcn.004019b0
lea ecx, [esp + 0x3c]
call fcn.004019b0
lea ecx, [esp + 0x58]
call fcn.004019b0
lea esi, [esp + 0xac]
call fcn.004043b0
mov dword [esp + 0x2a8], 0xffffffff
lea esi, [esp + 0xdc]
call fcn.00405820
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
mov edi, dword [esp + 0x14]
push eax
lea esi, [esp + 0x158]
call fcn.0040f310
add esp, 4
jmp 0x4057f7
mov eax, dword [0x432fd4]
cmp eax, ebx
je 0x40578d
add eax, 8
cmp eax, ebx
je 0x40578d
lea edi, [eax + 0x355]
cmp edi, ebx
je 0x40578d
mov eax, 9
call fcn.00405d60
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x174]
push ecx
push 0x3eb
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea ecx, [esp + 0x20]
call fcn.004019b0
lea ecx, [esp + 0x74]
call fcn.004019b0
lea ecx, [esp + 0x90]
call fcn.004019b0
lea ecx, [esp + 0x3c]
call fcn.004019b0
lea ecx, [esp + 0x58]
call fcn.004019b0
lea esi, [esp + 0xac]
call fcn.004043b0
lea esi, [esp + 0xdc]
call fcn.00405820
mov ecx, dword [esp + 0x2a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x288]
xor ecx, esp
call fcn.00415dd3
add esp, 0x298
ret