Function at 0x100394d
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100d014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 8
push ebx
mov dword [ebp - 0x308], ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, eax
mov eax, dword [ebp + 0xc]
dec eax
dec eax
je 0x100399b
sub eax, 0x402
je 0x1003a40
sub eax, 5
je 0x1003a04
dec eax
je 0x10039b9
dec eax
je 0x10039b5
sub eax, 9
jne 0x10039a4
push 3
push ebx
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100893d
leave
ret 0x10
push 4
jmp 0x100399d
push 0x33
lea eax, [esi + 0x10]
push eax
push 0x409
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [esi + 0x78], 0
mov dword [esi + 0xc], eax
je 0x10039fe
push 0x404
push ebx
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x10039fa
push esi
mov dword [esi + 0x7c], 1
call fcn.010032ce
jmp 0x1003a01
and dword [esi + 0x7c], 0
xor eax, eax
inc eax
push eax
jmp 0x100399d
xor edi, edi
cmp dword [esi + 0x78], edi
je 0x10039a4
push 0x409
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push edi
test eax, eax
je 0x1003a2a
push 0x40a
jmp 0x1003a2f
push 0x414
push 0x401
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10039a4
and dword [ebp - 0x30c], 0
and dword [ebp - 0x310], 0
mov edi, dword [esi + 4]
push 0x1001744
push 0x409
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x409
push dword [ebp - 0x308]
call ebx
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 0x404
push dword [ebp - 0x308]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x1003af3
xor ecx, ecx
inc ecx
mov dword [esi + 0x7c], ecx
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x1003ae1
cmp word [eax], 0
je 0x1003ae1
push 0x80
lea eax, [ebp - 0x104]
push eax
push 0x73
push dword [0x100d050]
call dword [sym.imp.USER32.dll_LoadStringW]
push dword [edi + 0x4c]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x304]
push 0x100
push eax
call fcn.01003395
add esp, 0x10
jmp 0x1003ae7
mov dword [ebp - 0x310], ecx
mov al, byte [edi + 0x2c]
test al, al
jbe 0x1003b5e
movzx ecx, byte [edi]
jmp 0x1003b53
and dword [esi + 0x7c], 0
mov eax, dword [edi + 0x50]
test eax, eax
je 0x1003b3e
cmp word [eax], 0
je 0x1003b3e
push 0x80
lea eax, [ebp - 0x104]
push eax
push 0x73
push dword [0x100d050]
call dword [sym.imp.USER32.dll_LoadStringW]
push dword [edi + 0x50]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x304]
push 0x100
push eax
call fcn.01003395
add esp, 0x10
jmp 0x1003b48
mov dword [ebp - 0x310], 1
mov al, byte [edi + 0x2d]
test al, al
jbe 0x1003b5e
movzx ecx, byte [edi + 1]
movzx eax, al
sub eax, ecx
mov dword [ebp - 0x30c], eax
cmp dword [ebp - 0x310], 0
je 0x1003b84
push 0x100
lea eax, [ebp - 0x304]
push eax
push 0x97
push dword [0x100d050]
call dword [sym.imp.USER32.dll_LoadStringW]
xor eax, eax
mov word [ebp - 0x106], ax
lea eax, [ebp - 0x304]
push eax
push 0x422
push dword [ebp - 0x308]
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [ebp - 0x30c], 0xa
ja 0x1003c2c
cmp dword [esi + 0x7c], 0
push 0x80
lea eax, [ebp - 0x104]
push eax
je 0x1003bc7
push 0x78
jmp 0x1003bcc
push 0x94
push dword [0x100d050]
call dword [sym.imp.USER32.dll_LoadStringW]
push dword [ebp - 0x30c]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x304]
push 0x100
push eax
call fcn.01003395
xor eax, eax
add esp, 0x10
mov word [ebp - 0x106], ax
lea eax, [ebp - 0x304]
push eax
push 0x415
push dword [ebp - 0x308]
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [esi + 0x7c], 0
je 0x1003c28
cmp byte [edi], 0
je 0x1003c2c
push 5
jmp 0x1003c2e
push 0
push 0x415
push dword [ebp - 0x308]
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x10039a4