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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48da60
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x4bf454]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
push edi
push edi
push 0x146
push dword [esi + 0x28]
mov dword [ebp - 0x14], edi
call ebx
test eax, eax
jle 0x413916
push 0
push edi
push 0x150
push dword [esi + 0x28]
call ebx
mov edi, dword [esi + 0x138]
mov dword [ebp - 0x18], eax
lea ecx, [edi + 0x28]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0044c870
movzx edi, byte [edi + 1]
lea ecx, [ebp - 0x20]
call fcn.0044c890
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x413907
mov edi, dword [ebp - 0x14]
cmp eax, 5
jne 0x4138ef
push 0
push edi
push 0x14e
push dword [esi + 0x28]
call ebx
push 0
push 0
push 0x146
push dword [esi + 0x28]
inc edi
mov dword [ebp - 0x14], edi
call ebx
cmp edi, eax
jl 0x4138a5
jmp 0x413916
push 0
push dword [ebp - 0x14]
push 0x14e
push dword [esi + 0x28]
call ebx
mov edi, dword [esi + 0x138]
lea ecx, [ebp - 0x20]
lea eax, [edi + 0x28]
push eax
call fcn.0044c870
mov bl, byte [edi + 2]
lea ecx, [ebp - 0x20]
call fcn.0044c890
xor eax, eax
test bl, bl
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
setne al
push eax
push 0xf1
push dword [esi + 0x34]
call ebx
mov edi, dword [esi + 0x138]
lea ecx, [ebp - 0x20]
lea eax, [edi + 0x28]
push eax
call fcn.0044c870
mov edi, dword [edi + 4]
lea ecx, [ebp - 0x20]
call fcn.0044c890
xor eax, eax
cmp edi, 0xffffffff
push 0
setne al
push eax
push 0xf1
push dword [esi + 0x40]
call ebx
mov edi, dword [esi + 0x138]
lea ecx, [ebp - 0x20]
lea eax, [edi + 0x28]
push eax
call fcn.0044c870
mov edi, dword [edi + 8]
lea ecx, [ebp - 0x20]
call fcn.0044c890
xor eax, eax
cmp edi, 0xffffffff
push 0
setne al
push eax
push 0xf1
push dword [esi + 0x64]
call ebx
mov edi, dword [esi + 0x138]
lea ecx, [ebp - 0x20]
lea eax, [edi + 0x28]
push eax
call fcn.0044c870
mov bl, byte [edi]
lea ecx, [ebp - 0x20]
call fcn.0044c890
xor eax, eax
test bl, bl
push 0
setne al
push eax
push 0xf1
push dword [esi + 0x88]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esi + 0x138]
lea ecx, [ebp - 0x20]
lea eax, [edi + 0x28]
push eax
call fcn.0044c870
mov bl, byte [edi + 0xc]
lea ecx, [ebp - 0x20]
call fcn.0044c890
xor eax, eax
test bl, bl
push 0
setne al
push eax
push 0xf1
push dword [esi + 0x94]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esi + 0x138]
lea ecx, [ebp - 0x20]
lea eax, [edi + 0x28]
push eax
call fcn.0044c870
mov bl, byte [edi + 0xd]
lea ecx, [ebp - 0x20]
call fcn.0044c890
xor eax, eax
test bl, bl
push 0
sete al
push eax
push 0xf1
push dword [esi + 0xa0]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esi + 0x138]
lea ecx, [ebp - 0x20]
lea eax, [edi + 0x28]
push eax
call fcn.0044c870
mov bl, byte [edi + 0xe]
lea ecx, [ebp - 0x20]
call fcn.0044c890
xor eax, eax
test bl, bl
push 0
setne al
push eax
push 0xf1
push dword [esi + 0xc4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esi + 0x138]
lea ecx, [ebp - 0x20]
lea eax, [edi + 0x28]
push eax
call fcn.0044c870
mov bl, byte [edi + 0xf]
lea ecx, [ebp - 0x20]
call fcn.0044c890
xor eax, eax
test bl, bl
push 0
setne al
push eax
push 0xf1
push dword [esi + 0xd0]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esi + 0x138]
lea ecx, [ebp - 0x20]
lea eax, [edi + 0x28]
push eax
call fcn.0044c870
mov bl, byte [edi + 0x1c]
lea ecx, [ebp - 0x20]
call fcn.0044c890
xor eax, eax
test bl, bl
push 0
setne al
push eax
push 0xf1
push dword [esi + 0xdc]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esi + 0x138]
lea ecx, [ebp - 0x20]
lea eax, [edi + 0x28]
push eax
call fcn.0044c870
mov bl, byte [edi + 0x1d]
lea ecx, [ebp - 0x20]
call fcn.0044c890
xor eax, eax
test bl, bl
push 0
setne al
push eax
push 0xf1
push dword [esi + 0xac]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esi + 0xa8]
cmp byte [esi + 0x13c], 0
mov edx, dword [ecx]
sete al
movzx eax, al
push eax
call dword [edx + 4]
mov edi, dword [esi + 0x138]
lea ecx, [ebp - 0x20]
lea eax, [edi + 0x28]
push eax
call fcn.0044c870
mov bl, byte [edi + 0x1e]
lea ecx, [ebp - 0x20]
call fcn.0044c890
test bl, bl
je 0x413b8e
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 7
push 0x14e
push dword [esi + 0xb8]
call ebx
jmp 0x413c1e
mov edi, dword [esi + 0x138]
lea ecx, [ebp - 0x20]
lea eax, [edi + 0x28]
push eax
call fcn.0044c870
mov ebx, dword [edi + 0x14]
lea ecx, [ebp - 0x20]
call fcn.0044c890
mov edi, dword [esi + 0x138]
lea ecx, [ebp - 0x20]
lea eax, [edi + 0x28]
push eax
call fcn.0044c870
mov edi, dword [edi + 0x18]
lea ecx, [ebp - 0x20]
call fcn.0044c890
imul eax, ebx, 0x64
lea ecx, [ebp - 0x40]
cdq
idiv edi
mov edi, eax
call fcn.0044cc70
push edi
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push 0x4aa99c
push eax
call fcn.0044d0b0
mov ebx, dword [esi + 0xb4]
lea ecx, [ebp - 0x40]
add esp, 0xc
call fcn.00426960
push eax
lea ecx, [esi + 0xb4]
call dword [ebx + 8]
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.0044cd00
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esi + 0x138]
lea ecx, [ebp - 0x20]
lea eax, [edi + 0x28]
push eax
call fcn.0044c870
mov al, byte [edi + 0x1f]
lea ecx, [ebp - 0x20]
mov byte [ebp - 0xd], al
call fcn.0044c890
mov edi, dword [esi + 0x138]
lea ecx, [ebp - 0x20]
lea eax, [edi + 0x28]
push eax
call fcn.0044c870
mov al, byte [edi + 0x20]
lea ecx, [ebp - 0x20]
mov byte [ebp - 0xe], al
call fcn.0044c890
cmp byte [ebp - 0xd], 0
je 0x413c71
cmp byte [ebp - 0xe], 0
jne 0x413c71
mov eax, 1
jmp 0x413c73
xor eax, eax
push 0
push eax
push 0xf1
push dword [esi + 0xe8]
call ebx
cmp byte [ebp - 0xd], 0
jne 0x413c96
cmp byte [ebp - 0xe], 0
je 0x413c96
mov eax, 1
jmp 0x413c98
xor eax, eax
push 0
push eax
push 0xf1
push dword [esi + 0xf4]
call ebx
cmp byte [ebp - 0xd], 0
je 0x413cbb
cmp byte [ebp - 0xe], 0
je 0x413cbb
mov eax, 1
jmp 0x413cbd
xor eax, eax
push 0
push eax
push 0xf1
push dword [esi + 0x100]
call ebx
lea ecx, [ebp - 0x30]
call fcn.0044cc70
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x20]
mov edi, dword [esi + 0x138]
lea eax, [edi + 0x28]
push eax
call fcn.0044c870
mov edi, dword [edi + 4]
lea ecx, [ebp - 0x20]
call fcn.0044c890
cmp edi, 0xffffffff
je 0x413d1d
mov edi, dword [esi + 0x138]
lea ecx, [ebp - 0x20]
lea eax, [edi + 0x28]
push eax
call fcn.0044c870
mov edi, dword [edi + 4]
lea ecx, [ebp - 0x20]
call fcn.0044c890
jmp 0x413d22
mov edi, 6
push edi
push 1
push 0x405
push dword [esi + 0x4c]
call ebx
push edi
lea eax, [ebp - 0x30]
push 0x4aa99c
push eax
call fcn.0044d0b0
mov edi, dword [esi + 0x54]
lea ecx, [ebp - 0x30]
add esp, 0xc
call fcn.00426960
push eax
lea ecx, [esi + 0x54]
call dword [edi + 8]
mov edi, dword [esi + 0x138]
lea ecx, [ebp - 0x20]
lea eax, [edi + 0x28]
push eax
call fcn.0044c870
mov edi, dword [edi + 8]
lea ecx, [ebp - 0x20]
call fcn.0044c890
cmp edi, 0xffffffff
je 0x413d94
mov edi, dword [esi + 0x138]
lea ecx, [ebp - 0x20]
lea eax, [edi + 0x28]
push eax
call fcn.0044c870
mov edi, dword [edi + 8]
lea ecx, [ebp - 0x20]
call fcn.0044c890
jmp 0x413d99
mov edi, 6
push edi
push 1
push 0x405
push dword [esi + 0x70]
call ebx
push edi
lea eax, [ebp - 0x30]
push 0x4aa99c
push eax
call fcn.0044d0b0
mov edi, dword [esi + 0x78]
lea ecx, [ebp - 0x30]
add esp, 0xc
call fcn.00426960
push eax
lea ecx, [esi + 0x78]
call dword [edi + 8]
mov edi, dword [esi + 0x138]
lea ecx, [ebp - 0x20]
lea eax, [edi + 0x28]
push eax
call fcn.0044c870
mov edi, dword [edi + 0x24]
lea ecx, [ebp - 0x20]
call fcn.0044c890
push 0
push 1
push 0xf1
sub edi, 0
je 0x413e17
sub edi, 2
je 0x413e0f
sub edi, 1
je 0x413e07
push dword [esi + 0x10c]
jmp 0x413e1d
push dword [esi + 0x118]
jmp 0x413e1d
push dword [esi + 0x124]
jmp 0x413e1d
push dword [esi + 0x130]
call ebx
push 0
push 0
push 0xf0
push dword [esi + 0x94]
call ebx
lea ecx, [esi + 0xd8]
test eax, eax
mov eax, dword [ecx]
je 0x413e40
push 0
jmp 0x413e42
push 1
call dword [eax + 4]
push 0
push 0
push 0xf0
push dword [esi + 0x40]
call ebx
test eax, eax
lea ecx, [esi + 0x48]
mov eax, dword [ecx]
setne bl
mov byte [ebp - 0x18], bl
mov edi, dword [ebp - 0x18]
push edi
call dword [eax + 4]
mov eax, dword [esi + 0x54]
lea ecx, [esi + 0x54]
push edi
call dword [eax + 4]
movzx edi, bl
push edi
push 0x41f
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push edi
push 0x41e
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
push edi
push 0x435
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
push 0
push 0
push 0xf0
push dword [esi + 0x64]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
lea ecx, [esi + 0x6c]
mov eax, dword [ecx]
setne bl
mov byte [ebp - 0x18], bl
mov edi, dword [ebp - 0x18]
push edi
call dword [eax + 4]
mov eax, dword [esi + 0x78]
lea ecx, [esi + 0x78]
push edi
call dword [eax + 4]
movzx edi, bl
push edi
push 0x422
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push edi
push 0x423
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
push edi
push 0x436
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
lea ecx, [ebp - 0x40]
call fcn.0044cc70
push 0
mov byte [ebp - 4], 2
push 0
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x400
push dword [esi + 0x4c]
call ebx
push eax
lea eax, [ebp - 0x40]
push 0x4ab804
push eax
call fcn.0044d0b0
mov edi, dword [esi + 0x54]
lea ecx, [ebp - 0x40]
add esp, 0xc
call fcn.00426960
push eax
lea ecx, [esi + 0x54]
call dword [edi + 8]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0044cd00
lea ecx, [ebp - 0x50]
call fcn.0044cc70
push 0
push 0
push 0x400
mov byte [ebp - 4], 3
push dword [esi + 0x70]
call ebx
push eax
lea eax, [ebp - 0x50]
push 0x4ab804
push eax
call fcn.0044d0b0
mov edi, dword [esi + 0x78]
lea ecx, [ebp - 0x50]
add esp, 0xc
call fcn.00426960
push eax
lea ecx, [esi + 0x78]
call dword [edi + 8]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.0044cd00
push 0
push 0
push 0x147
push dword [esi + 0x28]
call ebx
test eax, eax
js 0x414011
push 0
push eax
push 0x150
push dword [esi + 0x28]
call ebx
push 0
cmp eax, 7
je 0x413fea
mov ecx, esi
call fcn.00414230
push 0
jmp 0x414008
push 0
push 0xf0
push dword [esi + 0x40]
call ebx
test eax, eax
mov ecx, esi
setne al
movzx eax, al
push eax
call fcn.00414230
push 1
mov eax, dword [esi + 0x3c]
lea ecx, [esi + 0x3c]
call dword [eax + 4]
mov ecx, esi
call fcn.00414080
lea ecx, [ebp - 0x30]
call fcn.0044cd00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret