Function at 0x4fd738
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1c
push 0
push 0
dec ecx
jne 0x4fd740
push ecx
push ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fe607
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xb0], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0xb1], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0xb2], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0xb3], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0xb4], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0xb5], 1
push 0
push 0
push 0x26a
push 0x7c
mov cl, 1
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.004c6df0
mov eax, dword [0x521cb0]
mov eax, dword [eax]
call fcn.004b693c
lea edx, [ebp - 0x34]
mov eax, dword [0x521eac]
mov eax, dword [eax]
call fcn.004b4784
lea eax, [ebp - 0x54]
push eax
call fcn.004c66f8
push eax
call sub.user32.dll_GetWindowRect
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_GetClientRect
lea eax, [ebp - 0x44]
call fcn.0040dd40
mov ebx, dword [ebp - 0x2c]
sub ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.004db164
sub ebx, eax
sub ebx, 8
mov dword [ebp - 0xc], ebx
lea eax, [ebp - 0x44]
call fcn.0040dd50
mov ebx, dword [ebp - 0x28]
sub ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.004db164
sub ebx, eax
lea eax, [ebp - 0x54]
call fcn.0040dd50
sub ebx, eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0xa
push 0xa
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.004c6df0
push 1
push 0
push 0x20
push 0x10
push 0x10
call sub.comctl32.dll_ImageList_Create
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
push 0
push 0xe
mov eax, dword [0x521cc8]
mov eax, dword [eax]
push eax
call sub.comctl32.dll_ImageList_GetIcon
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.004c6034
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_DestroyIcon
push 6
push 6
push 0x2d
push 0x20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x7d4
mov eax, dword [0x524c54]
push eax
push 0
mov eax, 0x4fe614
mov ecx, 0x54010000
xor edx, edx
call fcn.0040f9a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x64], eax
push 1
push 0
push 0x20
push 0x10
push 0x10
call sub.comctl32.dll_ImageList_Create
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
push 0
push 0xf
mov eax, dword [0x521cc8]
mov eax, dword [eax]
push eax
call sub.comctl32.dll_ImageList_GetIcon
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
call fcn.004c6034
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_DestroyIcon
mov ecx, dword [0x521e0c]
mov ecx, dword [ecx]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x7c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.004dba58
lea edx, [ebp - 0x58]
mov eax, dword [0x521da0]
call fcn.0040c110
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.004c7570
mov edx, dword [ebp - 4]
mov dword [edx + 0x68], eax
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
push 6
push 0x27
push 0x2d
push 0x20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x7ff
mov eax, dword [0x524c54]
push eax
push 0
lea edx, [ebp - 0x60]
mov eax, dword [0x521b34]
call fcn.0040c110
push dword [ebp - 0x60]
push 0x4fe630
push 0x4fe644
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.0040911c
mov eax, dword [ebp - 0x5c]
call fcn.00408e40
mov edx, eax
mov eax, 0x4fe64c
mov ecx, 0x54000001
call fcn.0040f9a0
push eax
call sub.user32.dll_SendMessageW
push 0x34
push 6
push 0x2d
push 0x20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x7d3
mov eax, dword [0x524c54]
push eax
push 0
mov eax, 0x4fe614
mov ecx, 0x54010000
xor edx, edx
call fcn.0040f9a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
push 1
push 0
push 0x20
push 0x10
push 0x10
call sub.comctl32.dll_ImageList_Create
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
push 0
push 0x10
mov eax, dword [0x521cc8]
mov eax, dword [eax]
push eax
call sub.comctl32.dll_ImageList_GetIcon
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004c6034
adc dword [esi + 0x458bfffc], eax
invalid
push eax
call sub.user32.dll_DestroyIcon
mov ecx, dword [0x521e0c]
mov ecx, dword [ecx]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x84]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004dba58
lea edx, [ebp - 0x64]
mov eax, dword [0x521a88]
call fcn.0040c110
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.004c7570
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
push 0x34
push 0x27
push 0x2d
push 0x20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x800
mov eax, dword [0x524c54]
push eax
push 0
lea edx, [ebp - 0x6c]
mov eax, dword [0x521e00]
call fcn.0040c110
push dword [ebp - 0x6c]
push 0x4fe630
push 0x4fe668
lea eax, [ebp - 0x68]
mov edx, 3
call fcn.0040911c
mov eax, dword [ebp - 0x68]
call fcn.00408e40
mov edx, eax
mov eax, 0x4fe64c
mov ecx, 0x54000001
call fcn.0040f9a0
push eax
call sub.user32.dll_SendMessageW
mov eax, dword [0x521ae0]
cmp byte [eax], 0
jne 0x4fdc0f
push 0x109
push 0xd
push 0x55
push 0x14
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x7f5
mov eax, dword [0x524c54]
push eax
push 0
lea edx, [ebp - 0x70]
mov eax, dword [0x521988]
call fcn.0040c110
mov eax, dword [ebp - 0x70]
call fcn.00408e40
mov edx, eax
mov eax, 0x4fe614
mov ecx, 0x54010003
call fcn.0040f9a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
push 0
push 1
push 0xf1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
call sub.user32.dll_SendMessageW
push 0x109
push 0x27
push 0x95
push 0x14
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x801
mov eax, dword [0x524c54]
push eax
push 0
lea edx, [ebp - 0x74]
mov eax, dword [0x521cb8]
call fcn.0040c110
mov eax, dword [ebp - 0x74]
call fcn.00408e40
mov edx, eax
mov eax, 0x4fe614
mov ecx, 0x54010003
call fcn.0040f9a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c], eax
mov eax, dword [ebp - 4]
call fcn.00500f98
mov edx, dword [ebp - 4]
mov dword [edx + 0x74], eax
push 0x19a
push 0xd
push 0x78
push 0x14
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x7f6
mov eax, dword [0x524c54]
push eax
push 0
lea edx, [ebp - 0x78]
mov eax, dword [0x521c2c]
call fcn.0040c110
mov eax, dword [ebp - 0x78]
call fcn.00408e40
mov edx, eax
mov eax, 0x4fe614
mov ecx, 0x54010003
call fcn.0040f9a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], eax
push 0
push 1
push 0xf1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
push eax
call sub.user32.dll_SendMessageW
mov eax, dword [ebp - 4]
call fcn.0050116c
mov edx, dword [ebp - 4]
mov dword [edx + 0x78], eax
push 8
push 0x54
push 0x15e
push 0x12
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x7da
mov eax, dword [0x524c54]
push eax
push 0
lea eax, [ebp - 0x7c]
call fcn.004b0be0
mov eax, dword [ebp - 0x7c]
call fcn.00408e40
mov edx, 0x4fe670
mov ecx, 0x4401000b
call fcn.0040f9a0
push 8
push 0x6b
push 0x15e
push 0x12
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x7db
mov eax, dword [0x524c54]
push eax
push 0
lea eax, [ebp - 0x80]
call fcn.004b0be0
mov eax, dword [ebp - 0x80]
call fcn.00408e40
mov edx, 0x4fe6c8
mov ecx, 0x4401000b
call fcn.0040f9a0
push 8
push 0x82
push 0x15e
push 0x12
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x7dc
mov eax, dword [0x524c54]
push eax
push 0
lea eax, [ebp - 0x84]
call fcn.004b0be0
mov eax, dword [ebp - 0x84]
call fcn.00408e40
mov edx, 0x4fe724
mov ecx, 0x4401000b
call fcn.0040f9a0
push 8
push 0x99
push 0x15e
push 0x12
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x7d9
mov eax, dword [0x524c54]
push eax
push 0
lea eax, [ebp - 0x88]
call fcn.004b0be0
mov eax, dword [ebp - 0x88]
call fcn.00408e40
mov edx, 0x4fe780
mov ecx, 0x4401000b
call fcn.0040f9a0
push 8
push 0xb0
push 0x15e
push 0x12
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x7d8
mov eax, dword [0x524c54]
push eax
push 0
lea eax, [ebp - 0x8c]
call fcn.004b0be0
mov eax, dword [ebp - 0x8c]
call fcn.00408e40
mov edx, 0x4fe7d4
mov ecx, 0x4401000b
call fcn.0040f9a0
push 8
push 0xc7
push 0x15e
push 0x12
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x7dd
mov eax, dword [0x524c54]
push eax
push 0
lea eax, [ebp - 0x90]
call fcn.004b0be0
mov eax, dword [ebp - 0x90]
call fcn.00408e40
mov edx, 0x4fe828
mov ecx, 0x4401000b
call fcn.0040f9a0
mov eax, dword [ebp - 0x3c]
sub eax, 0x30
push eax
push 6
push 0x2a
push 0x21
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x7e2
mov eax, dword [0x524c54]
push eax
push 0
mov eax, 0x4fe614
mov ecx, 0x54010000
xor edx, edx
call fcn.0040f9a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x6c], eax
push 1
push 0
push 0x20
push 0x18
push 0x18
call sub.comctl32.dll_ImageList_Create
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
push 0
push 0
mov eax, dword [0x521af4]
mov eax, dword [eax]
push eax
call sub.comctl32.dll_ImageList_GetIcon
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
call fcn.004c6034
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_DestroyIcon
mov ecx, dword [0x521e0c]
mov ecx, dword [ecx]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
call fcn.004dba58
lea edx, [ebp - 0x94]
mov eax, dword [0x52194c]
call fcn.0040c110
mov ecx, dword [ebp - 0x94]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x6c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.004c7570
push 0x5600404d
push 0
mov eax, dword [ebp - 0x38]
sub eax, 0x29
push eax
push 0x26a
push 0x15
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x7e5
mov eax, dword [0x524c54]
push eax
push 0
lea eax, [ebp - 0x98]
call fcn.004b0d18
mov eax, dword [ebp - 0x98]
call fcn.00408e40
mov edx, eax
xor ecx, ecx
mov eax, 0x200
call fcn.0040f948
mov edx, dword [ebp - 4]
mov dword [edx + 0x70], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x70]
mov eax, dword [ebp - 4]
call fcn.004fce9c
mov edx, dword [0x521cc8]
mov edx, dword [edx]
mov ecx, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
call fcn.004c6050
mov edx, 0x10020
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
call fcn.004c6168
mov dword [ebp - 0x18], 0x13
mov dword [ebp - 0x1c], 0xd
push 0x9e
mov eax, dword [ebp - 0x1c]
push eax
push 0x5a
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x7fa
mov eax, dword [0x524c54]
push eax
push 0
mov eax, dword [0x521cb0]
mov eax, dword [eax]
mov eax, dword [eax + 8]
call fcn.00408e40
push eax
lea eax, [ebp - 0x9c]
call fcn.004b0c20
mov eax, dword [ebp - 0x9c]
call fcn.00408e40
mov ecx, 0x54000100
pop edx
call fcn.0040f9a0
mov edx, dword [ebp - 4]
mov dword [edx + 0xbc], eax
push 1
mov eax, dword [0x521cdc]
mov eax, dword [eax]
push eax
push 0x30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xbc]
push eax
call sub.user32.dll_SendMessageW
mov ecx, 0x4fc9e4
mov edx, 0xfffffffc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xbc]
call fcn.0040f7bc
mov dword [0x527ad4], eax
push 0x54000008
push 0x9d
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x18]
push eax
push 0x5a
push 9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x803
mov eax, dword [0x524c54]
push eax
push 0
mov edx, 0x4fe874
xor ecx, ecx
xor eax, eax
call fcn.0040f948
mov edx, dword [ebp - 4]
mov dword [edx + 0xc0], eax
mov dx, 0x1f4
xor eax, eax
call fcn.0040f910
push eax
push 0
push 0x401
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
push eax
call sub.user32.dll_SendMessageW
push 0x32
push 1
push 0x40a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
push eax
call sub.user32.dll_SendMessageW
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_GetClientRect
push 6
mov eax, dword [ebp - 0x28]
sub eax, 0x11
push eax
push 0x48
push 0x12
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x7fb
mov eax, dword [0x524c54]
push eax
push 0
lea edx, [ebp - 0xa0]
mov eax, dword [0x521c70]
call fcn.0040c110
lea eax, [ebp - 0xa0]
mov edx, 0x4fe8a4
call fcn.0040903c
mov eax, dword [ebp - 0xa0]
call fcn.00408e40
push eax
lea eax, [ebp - 0xa4]
call fcn.004b0c20
mov eax, dword [ebp - 0xa4]
call fcn.00408e40
mov ecx, 0x5400400c
pop edx
call fcn.0040f9a0
mov edx, dword [ebp - 4]
mov dword [edx + 0xa0], eax
push 0x4e
mov eax, dword [ebp - 0x28]
sub eax, 0x11
push eax
push 0x14
push 0x12
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x7fc
mov eax, dword [0x524c54]
push eax
push 0
lea edx, [ebp - 0xac]
mov eax, dword [0x521aa0]
mov eax, dword [eax]
movzx eax, byte [eax + 0x10]
call fcn.0041edac
push dword [ebp - 0xac]
push 0x4fe8b4
lea edx, [ebp - 0xb0]
mov eax, dword [0x521aa0]
mov eax, dword [eax]
movzx eax, byte [eax + 0x11]
call fcn.0041edac
push dword [ebp - 0xb0]
lea eax, [ebp - 0xa8]
mov edx, 3
call fcn.0040911c
mov eax, dword [ebp - 0xa8]
call fcn.00408e40
push eax
lea eax, [ebp - 0xb4]
call fcn.004b0c20
mov eax, dword [ebp - 0xb4]
call fcn.00408e40
mov ecx, 0x5400400c
pop edx
call fcn.0040f9a0
mov edx, dword [ebp - 4]
mov dword [edx + 0xa4], eax
push 0x6b
mov eax, dword [ebp - 0x28]
sub eax, 0x11
push eax
push 0x41
push 0x12
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x7fd
mov eax, dword [0x524c54]
push eax
push 0
lea edx, [ebp - 0xb8]
mov eax, dword [0x521a10]
call fcn.0040c110
lea eax, [ebp - 0xb8]
mov edx, 0x4fe8a4
call fcn.0040903c
mov eax, dword [ebp - 0xb8]
call fcn.00408e40
push eax
lea eax, [ebp - 0xbc]
call fcn.004b0c20
mov eax, dword [ebp - 0xbc]
call fcn.00408e40
mov ecx, 0x5400400c
pop edx
call fcn.0040f9a0
mov edx, dword [ebp - 4]
mov dword [edx + 0xa8], eax
push 0xac
mov eax, dword [ebp - 0x28]
sub eax, 0x11
push eax
push 0x82
push 0x12
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x7fe
mov eax, dword [0x524c54]
push eax
push 0
mov eax, dword [0x521aa0]
mov eax, dword [eax]
mov eax, dword [eax + 8]
call fcn.00408e40
push eax
lea eax, [ebp - 0xc0]
call fcn.004b0c20
mov eax, dword [ebp - 0xc0]
call fcn.00408e40
mov ecx, 0x5400400c
pop edx
call fcn.0040f9a0
mov edx, dword [ebp - 4]
mov dword [edx + 0xac], eax
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa0]
push eax
call sub.user32.dll_SendMessageW
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa4]
push eax
call sub.user32.dll_SendMessageW
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa8]
push eax
call sub.user32.dll_SendMessageW
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xac]
push eax
call sub.user32.dll_SendMessageW
push 0x68
push 0
push 0x30
push 0x30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x7f3
mov eax, dword [0x524c54]
push eax
push 0
lea eax, [ebp - 0xc4]
call fcn.004b0c20
mov eax, dword [ebp - 0xc4]
call fcn.00408e40
mov ecx, 0x54000103
xor edx, edx
call fcn.0040f9a0
mov edx, dword [ebp - 4]
mov dword [edx + 0xb8], eax
mov ecx, 0x4fc6e8
mov edx, 0xfffffffc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb8]
call fcn.0040f7bc
mov dword [0x527ad0], eax
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_SendMessageW
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
push eax
call sub.user32.dll_SendMessageW
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_SendMessageW
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
push eax
call sub.user32.dll_SendMessageW
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
call sub.user32.dll_SendMessageW
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
push eax
call sub.user32.dll_SendMessageW
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
push eax
call sub.user32.dll_SendMessageW
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
push 0x7da
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageW
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
push 0x7db
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageW
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
push 0x7dc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageW
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
push 0x7d9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageW
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
push 0x7d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageW
push 1
mov eax, dword [0x521e0c]
mov eax, dword [eax]
push eax
push 0x30
push 0x7dd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageW
mov eax, dword [0x521ae0]
cmp byte [eax], 0
jne 0x4fe46d
mov eax, dword [0x521eb4]
cmp byte [eax], 0
mov eax, dword [0x521930]
cmp byte [eax], 0
je 0x4fe5e1
mov eax, dword [0x521aa0]
mov eax, dword [eax]
mov eax, dword [eax + 0x4d0]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4fe5e1
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], 0
mov eax, dword [0x521aa0]
mov eax, dword [eax]
cmp byte [eax + 0x25], 0
je 0x4fe4ff
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0xcc]
mov eax, dword [0x521aa0]
mov eax, dword [eax]
mov eax, dword [eax + 0x4d0]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xcc]
mov cx, 9
mov edx, 2
call fcn.004c5ac4
mov eax, dword [ebp - 0xc8]
call fcn.00408668
mov edx, eax
lea ecx, [ebp - 0x20]
mov ax, 0x2a
call fcn.00409500
jmp 0x4fe532
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xd0]
mov eax, dword [0x521aa0]
mov eax, dword [eax]
mov eax, dword [eax + 0x4d0]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xd0]
mov cx, 9
mov edx, 2
call fcn.004c5ac4
lea edx, [ebp - 0xd8]
mov eax, dword [0x521c80]
call fcn.0040c110
push dword [ebp - 0xd8]
push 0x4fe8c4
lea edx, [ebp - 0xdc]
mov eax, dword [ebp - 0x14]
inc eax
call fcn.0041edac
push dword [ebp - 0xdc]
push 0x4fe8c4
push dword [ebp - 0x20]
push 0x4fe8d4
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xe4]
mov eax, dword [0x521aa0]
mov eax, dword [eax]
mov eax, dword [eax + 0x4d0]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xe4]
mov cx, 9
mov edx, 3
call fcn.004c5ac4
push dword [ebp - 0xe0]
lea eax, [ebp - 0xd4]
mov edx, 7
call fcn.0040911c
mov eax, dword [ebp - 0xd4]
push eax
mov eax, dword [ebp - 0x20]
call fcn.004fd0b8
mov edx, eax
mov eax, dword [ebp - 4]
pop ecx
call fcn.00501580
inc dword [ebp - 0x14]
dec dword [ebp - 0x24]
jne 0x4fe4a1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fe60e
lea eax, [ebp - 0xe4]
mov edx, 0x24
call fcn.004081d0
lea eax, [ebp - 0x20]
call fcn.00408170
ret