Function at 0x413750
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x452930
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x468d80]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x468d80]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa4]
xor ebp, ebp
mov edi, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
cmp dword [eax + 0x14], ebp
jne 0x4137ab
xor eax, eax
jmp 0x413aab
add dword [ebx], 0xa
xor eax, eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [edi + 8]
push ecx
push eax
mov dword [esp + 0x2c], ebp
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x2c]
mov esi, dword [edi + 8]
push ebp
push edx
mov edx, dword [ebx]
push 0x3e8
push esi
push 0x50
sub eax, ecx
sub eax, 0x1f
push eax
push edx
push ecx
push 0x50b019c4
push ebp
push 0x458b20
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
mov eax, dword [edi + 0x7c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push esi
call edi
push 4
lea ecx, [ebp + 1]
push ecx
mov ecx, dword [esp + 0x1c]
push 0x458b2c
call fcn.0040cd20
mov ecx, dword [esp + 0x14]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4139aa
mov edx, ebx
sub edx, ebp
push edx
push ebp
lea eax, [esp + 0x5c]
push eax
call fcn.0040d140
cmp dword [eax + 0x18], 8
mov dword [esp + 0x98], 3
jb 0x413862
mov edx, dword [eax + 4]
jmp 0x413865
lea edx, [eax + 4]
xor ecx, ecx
mov eax, edx
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
mov word [esp + 0x74], cx
lea ebp, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413887
sub eax, ebp
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x78]
call fcn.00408a00
mov ebp, 8
mov byte [esp + 0x98], 5
cmp dword [esp + 0x6c], ebp
jb 0x4138c1
mov edx, dword [esp + 0x58]
push edx
call fcn.0043e5e6
add esp, 4
xor eax, eax
push 4
push eax
push 0x458b54
lea ecx, [esp + 0x7c]
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
call fcn.0040cd20
cmp eax, 0xffffffff
je 0x41391d
mov edi, edi
push 0
push 0x458b60
push 4
push eax
lea ecx, [esp + 0x80]
call fcn.004096f0
push 4
push 0
push str._r_n
lea ecx, [esp + 0x7c]
call fcn.0040cd20
cmp eax, 0xffffffff
jne 0x4138f0
cmp dword [esp + 0x88], ebp
mov ebp, dword [esp + 0x74]
jae 0x41392e
lea ebp, [esp + 0x74]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0xb0
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push eax
push eax
push 0xb1
push esi
call edi
push ebp
push 1
push 0xc2
push esi
call edi
push 0x458c58
push 1
push 0xc2
push esi
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push 0xb1
push esi
call edi
cmp dword [esp + 0x88], 8
mov ebp, ebx
mov dword [esp + 0x98], 0xffffffff
jb 0x413819
mov edx, dword [esp + 0x74]
push edx
call fcn.0043e5e6
add esp, 4
jmp 0x413819
mov eax, dword [ecx + 0x14]
sub eax, ebp
push eax
push ebp
lea eax, [esp + 0x40]
push eax
call fcn.0040d140
xor edi, edi
mov ebx, 8
mov dword [esp + 0x98], edi
cmp dword [eax + 0x18], ebx
jb 0x4139d3
mov eax, dword [eax + 4]
jmp 0x4139d6
add eax, 4
push eax
lea ecx, [esp + 0x58]
call fcn.00408af0
mov byte [esp + 0x98], 2
cmp dword [esp + 0x50], ebx
jb 0x4139fb
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0043e5e6
add esp, 4
push 4
push edi
xor edx, edx
push 0x458b38
lea ecx, [esp + 0x60]
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], edi
mov word [esp + 0x48], dx
call fcn.0040cd20
cmp eax, 0xffffffff
je 0x413a4c
push edi
push 0x458b44
push 4
push eax
lea ecx, [esp + 0x64]
call fcn.004096f0
push 4
push edi
push 0x458b48
lea ecx, [esp + 0x60]
call fcn.0040cd20
cmp eax, 0xffffffff
jne 0x413a24
mov edx, dword [esp + 0x58]
cmp dword [esp + 0x6c], ebx
jae 0x413a5a
lea edx, [esp + 0x58]
mov ecx, esi
call fcn.00411480
mov dword [esp + 0x98], 0xffffffff
cmp dword [esp + 0x6c], ebx
jb 0x413a7f
mov eax, dword [esp + 0x58]
push eax
call fcn.0043e5e6
add esp, 4
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0x1c]
add dword [eax], 0x55
push ecx
push esi
lea ecx, [esp + 0x3c]
call fcn.004081f0
push 4
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, eax
mov ecx, esi
call fcn.00408370
mov eax, esi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0043eed8
add esp, 0x88
ret 0x10