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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x30
push 0
push 0
dec ecx
jne 0x65a5a0
push ecx
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x65c671
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x65c5fa
mov dword [ebx + 0x3b4], edi
lea eax, [ebp - 4]
mov edx, dword [edi + 0x40]
call fcn.004c168c
movzx eax, byte [edi + 0xe0]
mov byte [ebp - 0x50], al
movzx eax, byte [edi + 0x45]
mov byte [ebp - 0x51], al
mov dl, 1
mov eax, dword [0x503658]
call fcn.00509c44
mov dword [ebp - 0x94], eax
mov eax, ebx
call fcn.005215f0
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, ebx
call fcn.005215f0
lea edx, [ebp - 0x24]
call fcn.0065a110
push 4
mov eax, dword [ebp - 0x24]
push eax
push 8
call sub.KERNEL32.DLL_MulDiv
mov dword [ebx + 0x38c], eax
push 8
mov eax, dword [ebp - 0x20]
push eax
push 8
call sub.KERNEL32.DLL_MulDiv
mov dword [ebx + 0x390], eax
push 4
mov eax, dword [ebp - 0x24]
push eax
push 0xa
call sub.KERNEL32.DLL_MulDiv
mov dword [ebx + 0x394], eax
push 8
mov eax, dword [ebp - 0x20]
push eax
push 0xa
call sub.KERNEL32.DLL_MulDiv
mov dword [ebx + 0x398], eax
xor eax, eax
mov dword [ebp - 0x68], eax
cmp dword [edi + 0x34], 0
je 0x65a680
mov edx, dword [edi + 0x34]
mov eax, ebx
call fcn.005466b0
jmp 0x65a698
lea eax, [ebp - 0x128]
call fcn.0065a4f0
mov edx, dword [ebp - 0x128]
mov eax, ebx
call fcn.005466b0
lea edx, [ebp - 0x12c]
mov eax, ebx
call fcn.00546678
cmp dword [ebp - 0x12c], 0
je 0x65a6e9
mov dword [ebp - 0x68], 0x3e8
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x8c]
push eax
lea edx, [ebp - 0x130]
mov eax, ebx
call fcn.00546678
mov eax, dword [ebp - 0x130]
push eax
mov eax, ebx
call fcn.005215f0
mov edx, eax
mov eax, ebx
pop ecx
call fcn.0065a41c
add dword [ebp - 0x68], 0x32
push 4
mov eax, dword [ebp - 0x24]
push eax
push 0x32
call sub.KERNEL32.DLL_MulDiv
mov dword [ebp - 0x28], eax
push 8
mov eax, dword [ebp - 0x20]
push eax
push 0xe
call sub.KERNEL32.DLL_MulDiv
mov dword [ebp - 0x2c], eax
push 4
mov eax, dword [ebp - 0x24]
push eax
push 4
call sub.KERNEL32.DLL_MulDiv
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x78], eax
xor eax, eax
mov dword [ebp - 0x7c], eax
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x38c]
mov dword [ebx + 0x3f8], eax
mov eax, dword [ebx + 0x390]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x3ac]
mov edx, dword [eax]
call dword [edx + 8]
mov byte [ebp - 0x4e], 0
cmp dword [edi + 0xe4], 0xffffffff
je case.0x65a7ad.0
cmp dword [edi + 0xe4], 0
jne 0x65a7a2
test byte [ebp - 0x51], 1
je 0x65a76e
mov byte [ebp - 0x4e], 0
jmp 0x65a77e
test byte [ebp - 0x51], 2
je 0x65a77a
mov byte [ebp - 0x4e], 1
jmp 0x65a77e
mov byte [ebp - 0x4e], 4
test byte [ebp - 0x51], 8
je 0x65a78d
mov byte [ebp - 0x4f], 3
jmp case.0x65a7ad.0
test byte [ebp - 0x51], 4
je 0x65a79c
mov byte [ebp - 0x4f], 2
jmp case.0x65a7ad.0
mov byte [ebp - 0x4f], 0
jmp case.0x65a7ad.0
mov eax, dword [edi + 0xe4]
cmp eax, 8
ja case.0x65a7ad.0
jmp dword [eax*4 + 0x65a7b4]
test byte [ebp - 0x51], 1
je 0x65a7e4
mov byte [ebp - 0x4e], 0
jmp case.0x65a7ad.0
mov byte [ebp - 0x4e], 1
jmp case.0x65a7ad.0
test byte [ebp - 0x51], 8
je 0x65a7f6
mov byte [ebp - 0x4e], 3
jmp case.0x65a7ad.0
mov byte [ebp - 0x4e], 2
jmp case.0x65a7ad.0
test byte [ebp - 0x51], 2
je case.0x65a7ad.0
mov byte [ebp - 0x4e], 1
jmp case.0x65a7ad.0
test byte [ebp - 0x51], 4
je case.0x65a7ad.0
mov byte [ebp - 0x4e], 2
jmp case.0x65a7ad.0
test byte [ebp - 0x51], 0x20
je case.0x65a7ad.0
mov byte [ebp - 0x4e], 5
mov byte [ebp - 0x4d], 0
mov dword [ebp - 0xd8], 0x7efa5c
mov dword [ebp - 0xdc], 0x7efa40
mov dword [ebp - 0xe0], 0x7e22fc
mov dword [ebp - 0xe4], 0x7e2348
movzx eax, byte [ebp - 0x4d]
cmp al, 7
ja 0x65a85c
and eax, 0x7f
movzx edx, byte [ebp - 0x51]
bt edx, eax
jae 0x65aac6
mov eax, dword [ebp - 0xd8]
cmp dword [eax], 0
jne 0x65a8df
push 0
lea eax, [ebp - 0xf4]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0045f518
mov eax, ebx
call fcn.00549490
or eax, 0x420
push eax
lea eax, [ebp - 0xf4]
push eax
push 0xffffffffffffffff
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax]
call fcn.004c54a4
mov eax, dword [ebp - 0x134]
call fcn.004c2244
push eax
mov eax, ebx
call fcn.005215f0
call fcn.0050bb70
push eax
call sub.USER32.DLL_DrawTextW
mov eax, dword [ebp - 0xec]
sub eax, dword [ebp - 0xf4]
add eax, 0x10
mov edx, dword [ebp - 0xd8]
mov dword [edx], eax
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jle 0x65a8f7
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, eax
mov eax, dword [ebx + 0x3ac]
call fcn.00461758
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov eax, dword [ebx + 0x3ac]
call fcn.00461954
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xe0]
mov edx, dword [eax]
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, ebx
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
call dword [ecx + 0x78]
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax]
call fcn.004c54a4
mov eax, dword [ebp - 0x138]
push eax
mov edx, dword [ebp - 0x58]
mov eax, dword [ebx + 0x3ac]
call fcn.00461954
mov edx, eax
mov eax, edi
pop ecx
mov esi, dword [eax]
call dword [esi + 0x48]
mov edx, dword [ebp - 0x58]
mov eax, dword [ebx + 0x3ac]
call fcn.00461954
mov edx, eax
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax]
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x54]
movzx eax, byte [ebp - 0x4d]
cmp al, byte [ebp - 0x4e]
jne 0x65a9ad
mov eax, dword [ebp - 0xb4]
mov dword [eax + 0xc], 1
jmp 0x65a9b8
mov eax, dword [ebp - 0xb4]
xor edx, edx
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x58]
mov eax, dword [ebx + 0x3ac]
call fcn.00461954
mov edx, eax
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x58]
cmp eax, 2
jne 0x65a9f3
test byte [edi + 0x69], 8
je 0x65a9f3
mov edx, dword [ebp - 0x58]
mov eax, dword [ebx + 0x3ac]
call fcn.00461954
mov edx, eax
mov cl, 1
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x4c]
cmp dword [edi + 0xe4], 0xffffffff
je 0x65aa2b
movzx eax, byte [ebp - 0x4d]
cmp al, byte [ebp - 0x4e]
jne 0x65aa2b
mov edx, dword [ebp - 0x58]
mov eax, dword [ebx + 0x3ac]
call fcn.00461954
mov edx, eax
mov cl, 1
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x50]
xor edx, edx
mov eax, dword [ebp - 0xb4]
call fcn.0054f8f8
movzx eax, byte [ebp - 0x4d]
cmp al, byte [ebp - 0x4f]
jne 0x65aa53
test byte [edi + 0x69], 8
je 0x65aa53
mov edx, dword [ebp - 0x58]
mov eax, dword [ebx + 0x3ac]
call fcn.00461954
mov edx, eax
mov cl, 1
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x4c]
mov eax, dword [ebp - 0xd8]
mov edx, dword [eax]
mov eax, 0x3c
call fcn.004793c8
mov edx, eax
mov eax, dword [ebp - 0xb4]
call fcn.00545cb8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xb4]
call fcn.00545cec
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 0x48]
add eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x58]
mov eax, dword [ebx + 0x3ac]
call fcn.00461954
mov dword [eax + 0x114], ebx
mov dword [eax + 0x110], 0x65fcac
cmp dword [edi + 0xe4], 0xffffffff
jne 0x65aac6
xor edx, edx
mov eax, dword [ebp - 0xb4]
call fcn.0054f910
inc byte [ebp - 0x4d]
add dword [ebp - 0xe4], 4
add dword [ebp - 0xe0], 4
add dword [ebp - 0xdc], 4
add dword [ebp - 0xd8], 4
cmp byte [ebp - 0x4d], 6
jne 0x65a84a
mov eax, dword [ebx + 0x3b0]
mov edx, dword [eax]
call dword [edx + 8]
test byte [edi + 0x68], 2
jne 0x65ad47
mov eax, dword [edi + 0x60]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x65b1ab
inc eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0xf4]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0045f518
mov eax, ebx
call fcn.00549490
or eax, 0x420
push eax
lea eax, [ebp - 0xf4]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x13c]
mov edx, dword [ebp - 0x58]
mov eax, dword [edi + 0x60]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x13c]
call fcn.004c2244
push eax
mov eax, ebx
call fcn.005215f0
call fcn.0050bb70
push eax
call sub.USER32.DLL_DrawTextW
mov eax, dword [ebp - 0xec]
sub eax, dword [ebp - 0xf4]
add eax, 0x10
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x28]
jle 0x65ab9c
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0xe4]
mov dword [ebp - 0xa8], eax
movzx eax, byte [0x65c680]
cmp al, byte [ebp - 0x51]
jne 0x65abc7
cmp dword [edi + 0xe4], 0
jg 0x65abc7
mov dword [ebp - 0xa8], 0x64
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, eax
mov eax, dword [ebx + 0x3b0]
call fcn.00461758
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x3b0]
call fcn.00461954
mov dword [ebp - 0xbc], eax
lea edx, [ebp - 0x144]
mov eax, dword [ebp - 0x58]
call fcn.004a352c
mov ecx, dword [ebp - 0x144]
lea eax, [ebp - 0x140]
mov edx, 0x65c690
call fcn.004c2498
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, ebx
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x3b0]
call fcn.00461954
mov edx, eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x64
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x54]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x3b0]
call fcn.00461954
mov edx, eax
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x58]
cmp eax, dword [ebp - 0xa8]
sete byte [ebp - 0xa1]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x3b0]
call fcn.00461954
mov edx, eax
movzx ecx, byte [ebp - 0xa1]
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x50]
lea ecx, [ebp - 0x148]
mov edx, dword [ebp - 0x58]
mov eax, dword [edi + 0x60]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x148]
push eax
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x3b0]
call fcn.00461954
mov edx, eax
mov eax, edi
pop ecx
mov esi, dword [eax]
call dword [esi + 0x48]
mov edx, dword [ebp - 0x5c]
mov eax, 0x3c
call fcn.004793c8
mov edx, eax
mov eax, dword [ebp - 0xbc]
call fcn.00545cb8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xbc]
call fcn.00545cec
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x3b0]
call fcn.00461954
mov dword [eax + 0x114], ebx
mov dword [eax + 0x110], 0x65fcac
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x48]
add eax, dword [ebp - 0x7c]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0xa8], 0xffffffff
jne 0x65ad33
xor edx, edx
mov eax, dword [ebp - 0xbc]
call fcn.0054f910
inc dword [ebp - 0x58]
dec dword [ebp - 0xb8]
jne 0x65ab23
jmp 0x65b1ab
xor eax, eax
mov dword [ebp - 0x90], eax
mov dl, 1
mov eax, dword [0x503658]
call fcn.00509c44
mov dword [ebp - 0x98], eax
mov dl, 1
mov eax, dword [0x503658]
call fcn.00509c44
mov dword [ebp - 0x9c], eax
mov eax, ebx
call fcn.005215f0
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, 0xb
mov eax, dword [ebp - 0x98]
call fcn.0050a1d0
movzx edx, byte [0x65c6a4]
mov eax, dword [ebp - 0x98]
call fcn.0050a1fc
mov eax, ebx
call fcn.005215f0
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [edi + 0x60]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x65b180
inc eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0x58], 0
mov eax, ebx
call fcn.005215f0
mov eax, dword [eax + 0x40]
mov edx, 0xa
call fcn.0050a1d0
mov eax, ebx
call fcn.005215f0
mov eax, dword [eax + 0x40]
movzx edx, byte [0x65c680]
call fcn.0050a1fc
xor eax, eax
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x9c]
push eax
mov eax, ebx
call fcn.00549490
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
push 1
lea ecx, [ebp - 0x14c]
mov edx, dword [ebp - 0x58]
mov eax, dword [edi + 0x60]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x14c]
push eax
mov eax, ebx
call fcn.005215f0
mov ecx, dword [ebp - 0x98]
pop edx
call fcn.006584b0
add dword [ebp - 0x5c], 0x1a
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x28]
jle 0x65ae68
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x90]
jle 0x65ae7c
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x90], eax
test byte [edi + 0x68], 4
jne 0x65aea6
mov edx, dword [ebx + 0x38c]
add edx, edx
add edx, dword [ebp - 0x90]
add edx, dword [ebx + 0x394]
add edx, 0x20
mov eax, dword [ebp - 0x68]
call fcn.004793c8
mov dword [ebp - 0x68], eax
jmp 0x65aebd
mov edx, dword [ebp - 0x90]
add edx, dword [ebx + 0x38c]
mov eax, dword [ebp - 0x68]
call fcn.004793c8
mov dword [ebp - 0x68], eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x65069c]
call fcn.006598a8
mov edx, eax
mov eax, dword [ebx + 0x3b0]
call fcn.00461758
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x3b0]
call fcn.00461954
mov dword [ebp - 0xc0], eax
lea edx, [ebp - 0x154]
mov eax, dword [ebp - 0x58]
call fcn.004a352c
mov ecx, dword [ebp - 0x154]
lea eax, [ebp - 0x150]
mov edx, 0x65c6b4
call fcn.004c2498
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, ebx
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
call dword [ecx + 0x78]
lea ecx, [ebp - 0x158]
mov edx, dword [ebp - 0x58]
mov eax, dword [edi + 0x60]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 0xc0]
call fcn.005466b0
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 0x64]
mov edx, dword [ebp - 0x9c]
mov ecx, dword [eax]
call dword [ecx + 8]
mov cl, 0xc4
mov dl, 0x53
xor eax, eax
call fcn.004b98d0
mov edx, eax
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 0x64]
call fcn.00509e30
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 0x2ac]
mov edx, dword [ebp - 0x98]
mov ecx, dword [eax]
call dword [ecx + 8]
mov cl, 0xc4
mov dl, 0x53
xor eax, eax
call fcn.004b98d0
mov edx, eax
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 0x2ac]
call fcn.00509e30
mov eax, dword [ebp - 0x58]
add eax, 0x64
mov edx, dword [ebp - 0xc0]
mov dword [edx + 0x2a8], eax
mov cl, 0xff
mov dl, 0xe1
mov al, 0x6c
call fcn.004b98d0
mov edx, dword [ebp - 0xc0]
mov dword [edx + 0x2a0], eax
mov cl, 0xff
mov dl, 0xe1
mov al, 0x6c
call fcn.004b98d0
mov edx, dword [ebp - 0xc0]
mov dword [edx + 0x29c], eax
mov edx, dword [ebp - 0x90]
mov eax, 0x3c
call fcn.004793c8
mov edx, eax
mov eax, dword [ebp - 0xc0]
call fcn.00545cb8
cmp dword [edi + 0xe4], 0xffffffff
je 0x65b02a
mov eax, dword [ebp - 0xc0]
mov byte [eax + 0x2b0], 1
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 0x270]
mov edx, 0x65c6d0
call fcn.0050ac54
mov edx, eax
add edx, 0x14
mov eax, dword [ebp - 0x2c]
call fcn.004793c8
mov edx, eax
mov eax, dword [ebp - 0x60]
call fcn.004793c8
mov edx, eax
mov eax, dword [ebp - 0xc0]
call fcn.00545cec
test byte [edi + 0x68], 4
jne 0x65b136
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 0x288]
mov ecx, 0x65c6e4
mov edx, dword [0x7e9678]
call fcn.00511c60
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 0x288]
mov edx, 0xff00ff
call fcn.00512968
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 0x294]
mov ecx, 0x65c700
mov edx, dword [0x7e9678]
call fcn.00511c60
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 0x294]
mov edx, 0xff00ff
call fcn.00512968
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 0x290]
mov ecx, 0x65c720
mov edx, dword [0x7e9678]
call fcn.00511c60
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 0x290]
mov edx, 0xff00ff
call fcn.00512968
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 0x28c]
mov ecx, 0x65c744
mov edx, dword [0x7e9678]
call fcn.00511c60
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 0x28c]
mov edx, 0xff00ff
call fcn.00512968
cmp dword [edi + 0xe4], 0xffffffff
jne 0x65b14e
xor edx, edx
mov eax, dword [ebp - 0xc0]
call fcn.0054f910
jmp 0x65b15b
mov dl, 1
mov eax, dword [ebp - 0xc0]
call fcn.0054f910
mov eax, dword [ebp - 0xc0]
mov dword [eax + 0x114], ebx
mov dword [eax + 0x110], 0x65fcac
inc dword [ebp - 0x58]
dec dword [ebp - 0xb8]
jne 0x65adde
mov eax, ebx
call fcn.005215f0
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x94]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x98]
call fcn.004bf790
mov eax, dword [ebp - 0x9c]
call fcn.004bf790
mov eax, dword [ebx + 0x3ac]
cmp dword [eax + 8], 0
jne 0x65b368
mov eax, dword [ebx + 0x3b0]
cmp dword [eax + 8], 0
jne 0x65b368
mov byte [ebp - 0x4d], 0
push 0
lea eax, [ebp - 0xf4]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0045f518
mov eax, ebx
call fcn.00549490
or eax, 0x420
push eax
lea eax, [ebp - 0xf4]
push eax
push 0xffffffffffffffff
lea edx, [ebp - 0x15c]
movzx eax, byte [ebp - 0x4d]
mov eax, dword [eax*4 + 0x7efa40]
call fcn.004c54a4
mov eax, dword [ebp - 0x15c]
call fcn.004c2244
push eax
mov eax, ebx
call fcn.005215f0
call fcn.0050bb70
push eax
call sub.USER32.DLL_DrawTextW
mov eax, dword [ebp - 0xec]
sub eax, dword [ebp - 0xf4]
add eax, 8
movzx edx, byte [ebp - 0x4d]
mov dword [edx*4 + 0x7efa5c], eax
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, eax
mov eax, dword [ebx + 0x3ac]
call fcn.00461758
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov eax, dword [ebx + 0x3ac]
call fcn.00461954
mov dword [ebp - 0xc4], eax
movzx eax, byte [ebp - 0x4d]
mov edx, dword [eax*4 + 0x7e22fc]
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, ebx
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax]
call dword [ecx + 0x78]
lea edx, [ebp - 0x160]
movzx eax, byte [ebp - 0x4d]
mov eax, dword [eax*4 + 0x7efa40]
call fcn.004c54a4
mov eax, dword [ebp - 0x160]
push eax
mov edx, dword [ebp - 0x58]
mov eax, dword [ebx + 0x3ac]
call fcn.00461954
mov edx, eax
mov eax, edi
pop ecx
mov esi, dword [eax]
call dword [esi + 0x48]
mov edx, dword [ebp - 0x58]
mov eax, dword [ebx + 0x3ac]
call fcn.00461954
mov edx, eax
movzx eax, byte [ebp - 0x4d]
mov ecx, dword [eax*4 + 0x7e2348]
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x54]
mov edx, dword [ebp - 0x58]
mov eax, dword [ebx + 0x3ac]
call fcn.00461954
mov edx, eax
mov cl, 1
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x50]
test byte [edi + 0x69], 8
je 0x65b326
mov edx, dword [ebp - 0x58]
mov eax, dword [ebx + 0x3ac]
call fcn.00461954
mov edx, eax
mov cl, 1
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x4c]
movzx eax, byte [ebp - 0x4d]
mov edx, dword [eax*4 + 0x7efa5c]
mov eax, 0x3c
call fcn.004793c8
mov edx, eax
mov eax, dword [ebp - 0xc4]
call fcn.00545cb8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc4]
call fcn.00545cec
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 0x48]
add eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x78], eax
mov eax, ebx
call fcn.005215f0
mov eax, dword [eax + 0x40]
mov edx, 0xb
call fcn.0050a1d0
mov eax, ebx
call fcn.005215f0
mov eax, dword [eax + 0x40]
movzx edx, byte [0x65c6a4]
call fcn.0050a1fc
push 0
mov eax, dword [0x7e8f34]
mov eax, dword [eax]
call fcn.00526980
sar eax, 1
jns 0x65b3a7
adc eax, 0
push eax
push 0
push 0
lea eax, [ebp - 0xf4]
push eax
call sub.USER32.DLL_SetRect
mov eax, ebx
call fcn.00549490
or eax, 0x450
push eax
lea eax, [ebp - 0xf4]
push eax
mov eax, dword [ebp - 4]
call fcn.004c1730
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004c2244
push eax
mov eax, ebx
call fcn.005215f0
call fcn.0050bb70
push eax
call sub.USER32.DLL_DrawTextW
mov eax, ebx
call fcn.005215f0
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x94]
mov ecx, dword [eax]
call dword [ecx + 8]
movzx eax, byte [ebp - 0x50]
mov esi, dword [eax*4 + 0x7e2314]
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x40], eax
test esi, esi
je 0x65b440
mov eax, dword [ebx + 0x394]
add eax, 0x20
add dword [ebp - 0x3c], eax
cmp dword [ebp - 0x40], 0x20
jge 0x65b440
mov dword [ebp - 0x40], 0x20
test esi, esi
jne 0x65b454
mov eax, dword [edi + 0x64]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x65b5d4
mov ecx, ebx
mov dl, 1
mov eax, dword [0x52bc5c]
call fcn.0052f918
mov dword [ebx + 0x3cc], eax
mov eax, dword [ebx + 0x3cc]
mov dword [ebp - 0xc8], eax
mov edx, 0x65c764
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, ebx
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [edi + 0x64]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x65b4bb
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0x1b0]
call fcn.0050e420
mov edx, dword [edi + 0x64]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x65b5b9
movzx eax, byte [edi + 0xe0]
sub al, 1
jb 0x65b4fb
sub al, 5
jne 0x65b599
push 0x65c770
mov eax, dword [0x7e9678]
push eax
call sub.USER32.DLL_LoadBitmapW
push eax
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0x1b0]
call fcn.0050e408
pop edx
call fcn.0051248c
jmp 0x65b5b9
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0x1b0]
call fcn.0050e408
mov edx, 0x20
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0x1b0]
call fcn.0050e408
mov edx, 0x20
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0x1b0]
call fcn.0050e408
call fcn.005114a4
mov eax, dword [eax + 0x48]
mov edx, 0xff000005
call fcn.0050a9d0
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0x1b0]
call fcn.0050e408
call fcn.005114a4
mov eax, dword [eax + 0x44]
mov dl, 5
call fcn.0050a718
push 0x1f
push 0x1f
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0x1b0]
call fcn.0050e408
call fcn.005114a4
xor ecx, ecx
xor edx, edx
mov esi, dword [eax]
call dword [esi + 0x7c]
jmp 0x65b5b9
push esi
push 0
call sub.USER32.DLL_LoadIconW
push eax
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0x1b0]
call fcn.0050e420
pop edx
call fcn.00513630
push 0x20
push 0x20
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebx + 0x38c]
mov eax, dword [ebp - 0xc8]
mov esi, dword [eax]
call dword [esi + 0x98]
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4e1b30]
call fcn.004ec97c
mov dword [ebx + 0x388], eax
mov eax, dword [ebx + 0x388]
mov dword [ebp - 0xcc], eax
mov edx, 0x65c790
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, ebx
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov dl, 1
mov eax, dword [ebp - 0xcc]
call fcn.004ed204
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xcc]
call fcn.005466b0
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + 0x64]
mov edx, 0xb
call fcn.0050a1d0
mov cl, 0xc4
mov dl, 0x53
xor eax, eax
call fcn.004b98d0
mov edx, eax
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + 0x64]
call fcn.00509e30
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + 0x64]
movzx edx, byte [0x65c6a4]
call fcn.0050a1fc
lea edx, [ebp - 0xf4]
mov eax, dword [ebp - 0xcc]
call fcn.00545f28
movzx edx, byte [ebx + 0x61]
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax]
call dword [ecx + 0x80]
xor edx, edx
mov eax, dword [ebp - 0xcc]
call fcn.004ed18c
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0xec]
add eax, dword [ebx + 0x38c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xcc]
mov si, 0xffc7
call fcn.004bfa18
test al, al
je 0x65b6da
mov eax, ebx
call fcn.00545f64
sub eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0xcc]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xec]
push eax
mov eax, dword [ebp - 0xe8]
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0xcc]
mov esi, dword [eax]
call dword [esi + 0x98]
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + 0x4c]
add eax, dword [ebp - 0x48]
add eax, dword [ebx + 0x398]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 0x3f8], eax
test byte [edi + 0x69], 2
jne 0x65b735
cmp byte [edi + 0x94], 0
jne 0x65b735
test byte [edi + 0x69], 1
jne 0x65b735
test byte [edi + 0x68], 0x80
je 0x65b777
mov ecx, ebx
mov dl, 1
mov eax, dword [0x52c510]
call fcn.005300e8
mov dword [ebx + 0x3f0], eax
mov edx, 0x64
mov eax, dword [ebx + 0x3f0]
call fcn.0053028c
push ebx
push 0x65f568
mov eax, dword [ebx + 0x3f0]
call fcn.0053029c
mov dl, 1
mov eax, dword [ebx + 0x3f0]
call fcn.0053027c
test byte [edi + 0x68], 0x80
je 0x65b897
mov ecx, ebx
mov dl, 1
mov eax, dword [0x559d28]
call fcn.0055de48
mov dword [ebx + 0x3c8], eax
mov eax, dword [ebx + 0x3c8]
mov dword [ebp - 0xd0], eax
mov edx, 0x65c7a8
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, ebx
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [ebp - 0x48]
add eax, 0xc
push eax
lea eax, [ebp - 0x170]
push eax
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x48]
sub ecx, dword [ebx + 0x38c]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebx + 0x38c]
call fcn.0045f518
lea edx, [ebp - 0x170]
mov eax, dword [ebp - 0xd0]
call fcn.00545f28
mov edx, dword [edi + 0x8c]
mov eax, dword [ebp - 0xd0]
call fcn.0055e2ec
mov edx, dword [edi + 0x90]
mov eax, dword [ebp - 0xd0]
call fcn.0055e2f8
xor edx, edx
mov eax, dword [ebp - 0xd0]
call fcn.0055e374
cmp dword [ebx + 0x3f0], 0
jne 0x65b874
mov ecx, ebx
mov dl, 1
mov eax, dword [0x52c510]
call fcn.005300e8
mov dword [ebx + 0x3f0], eax
mov edx, 0x64
mov eax, dword [ebx + 0x3f0]
call fcn.0053028c
push ebx
push 0x65f568
mov eax, dword [ebx + 0x3f0]
call fcn.0053029c
mov dl, 1
mov eax, dword [ebx + 0x3f0]
call fcn.0053027c
test byte [edi + 0x69], 1
je 0x65b897
mov edx, 0xa
mov eax, dword [ebx + 0x3c8]
call fcn.0055e308
mov dl, 1
mov eax, dword [ebx + 0x3c8]
call fcn.0055e48c
mov eax, dword [edi + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x65ba7f
mov eax, dword [ebx + 0x3b4]
test byte [eax + 0x69], 4
je 0x65b8c0
mov eax, dword [ebx + 0x3b4]
xor edx, edx
mov dword [eax + 0x54], edx
jmp 0x65b8d5
mov eax, dword [ebx + 0x3b4]
mov eax, dword [eax + 0xe8]
mov edx, dword [ebx + 0x3b4]
mov dword [edx + 0x54], eax
mov eax, dword [edi + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x65ba7f
inc eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0x58], 0
mov edx, ebx
mov eax, dword [ebx + 0x3b4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, eax
mov eax, dword [ebx + 0x3c0]
call fcn.00461758
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x58]
push eax
push ebx
push 0x65f820
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x3c0]
call fcn.00461954
mov ecx, eax
mov edx, ebx
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x3c]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x3c0]
call fcn.00461954
mov esi, eax
lea edx, [ebp - 0xf4]
mov eax, esi
call fcn.00545f28
mov edx, dword [ebx + 0x3f8]
add edx, dword [ebx + 0x38c]
mov eax, esi
call fcn.00545c50
mov edx, dword [ebp - 0x48]
mov eax, esi
call fcn.00545c84
mov edx, dword [ebx + 0x48]
sub edx, dword [esi + 0x40]
sub edx, 4
mov eax, esi
call fcn.00545cb8
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x8c]
push eax
lea edx, [ebp - 0x174]
mov eax, ebx
call fcn.00546678
mov eax, dword [ebp - 0x174]
push eax
mov eax, ebx
call fcn.005215f0
mov edx, eax
mov eax, ebx
pop ecx
call fcn.0065a41c
mov edx, dword [esi + 0x40]
add edx, dword [ebp - 0x88]
add edx, dword [ebx + 0x38c]
add edx, 0x14
mov eax, dword [ebp - 0x68]
call fcn.004793c8
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x178]
mov edx, dword [ebp - 0x58]
mov eax, dword [edi + 0x6c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x178]
push eax
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x3c0]
call fcn.00461954
mov edx, eax
mov eax, edi
pop ecx
mov esi, dword [eax]
call dword [esi + 0x44]
test byte [edi + 0x69], 4
je 0x65ba1f
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x3c0]
call fcn.00461954
mov edx, eax
xor ecx, ecx
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x40]
jmp 0x65ba70
cmp dword [edi + 0xe8], 0
jle 0x65ba52
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x3c0]
call fcn.00461954
mov edx, eax
mov eax, dword [ebp - 0x6c]
add eax, 0xc8
cmp eax, dword [edi + 0xe8]
sete cl
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x40]
jmp 0x65ba70
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x3c0]
call fcn.00461954
mov edx, eax
cmp dword [ebp - 0x58], 0
sete cl
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x40]
inc dword [ebp - 0x58]
dec dword [ebp - 0xb8]
jne 0x65b8f4
cmp dword [edi + 0x48], 0
je 0x65bcef
xor eax, eax
mov dword [ebx + 0x3e0], eax
xor eax, eax
mov dword [ebx + 0x3e4], eax
mov eax, dword [ebp - 0x48]
add eax, 0x1a
push eax
lea eax, [ebp - 0x114]
push eax
mov ecx, 0x12c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebx + 0x38c]
call fcn.0045f518
mov eax, dword [ebx + 0x3b4]
test byte [eax + 0x68], 1
je 0x65bba1
movzx eax, byte [0x65c6a4]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebx + 0x3b4]
mov eax, dword [eax + 0x48]
mov ecx, 0x65c7cc
mov edx, 0x65c7e4
call fcn.004aa990
movzx eax, byte [0x65c6a4]
push eax
lea eax, [ebp - 0x17c]
push eax
mov ecx, 0x65c7cc
mov edx, 0x65c7f8
mov eax, dword [ebp - 0x18]
call fcn.004aa990
mov edx, dword [ebp - 0x17c]
lea eax, [ebp - 0x18]
call fcn.004c168c
push 0
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x48]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 1
push 0
push 0
push 1
push 1
push 0
push 1
push 0x3ff00000
push 0
push 0xff0000
push 0x1fffffff
push 0x1fffffff
push 0x808080
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebx + 0x3e0]
push eax
lea eax, [ebx + 0x3e4]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x124]
push eax
push 0
push 0
push 0
push 0
mov eax, ebx
call fcn.005215f0
lea ecx, [ebp - 0x114]
mov edx, dword [ebp - 0x18]
call fcn.00657048
jmp 0x65bbf8
movzx eax, byte [0x65c6a4]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebx + 0x3b4]
mov eax, dword [eax + 0x48]
mov ecx, 0x65c808
mov edx, 0x65c7e4
call fcn.004aa990
mov eax, dword [ebp - 0x10c]
sub eax, dword [ebp - 0x114]
mov dword [ebx + 0x3e0], eax
lea eax, [ebx + 0x3e0]
push eax
lea eax, [ebx + 0x3e4]
push eax
mov eax, ebx
call fcn.005215f0
mov edx, eax
mov ecx, dword [ebp - 0x18]
mov eax, ebx
call fcn.0065a41c
mov ecx, ebx
mov dl, 1
mov eax, dword [0x65069c]
call fcn.006598a8
mov dword [ebx + 0x39c], eax
mov esi, dword [ebx + 0x39c]
mov edx, 0x65c818
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x78]
xor edx, edx
mov eax, esi
call fcn.005466b0
xor eax, eax
mov dword [esi + 0x2a8], eax
mov edx, 0x13
mov eax, esi
call fcn.00545cb8
mov edx, 0x13
mov eax, esi
call fcn.00545cec
mov dword [esi + 0x114], ebx
mov dword [esi + 0x110], fcn.0065e20c
mov eax, dword [esi + 0x288]
mov ecx, 0x65c840
mov edx, dword [0x7e9678]
call fcn.00511c60
mov eax, dword [esi + 0x288]
mov edx, 0xff00ff
call fcn.00512968
mov eax, dword [esi + 0x294]
mov ecx, 0x65c85c
mov edx, dword [0x7e9678]
call fcn.00511c60
mov eax, dword [esi + 0x294]
mov edx, 0xff00ff
call fcn.00512968
mov eax, dword [esi + 0x290]
mov ecx, 0x65c880
mov edx, dword [0x7e9678]
call fcn.00511c60
mov eax, dword [esi + 0x290]
mov edx, 0xff00ff
call fcn.00512968
movzx eax, byte [0x65c680]
cmp al, byte [edi + 0x45]
je 0x65bcef
mov cl, 0xf0
mov dl, 0xf0
mov al, 0xf0
call fcn.004b98d0
mov dword [esi + 0x2b4], eax
xor eax, eax
mov dword [ebp - 0xa0], eax
cmp dword [edi + 0x5c], 0
je 0x65be12
xor eax, eax
mov dword [ebp - 0x88], eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4e84c4]
call fcn.004f218c
mov dword [ebx + 0x3c4], eax
mov esi, dword [ebx + 0x3c4]
mov edx, 0x65c8a4
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x78]
xor edx, edx
mov eax, esi
call fcn.004f11c0
lea edx, [ebp - 0xf4]
mov eax, esi
call fcn.00545f28
movzx edx, byte [ebx + 0x61]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov edx, dword [edi + 0x5c]
mov eax, esi
call fcn.005466b0
mov edx, dword [ebx + 0x38c]
mov eax, esi
call fcn.00545c50
mov edx, dword [ebp - 0x48]
mov eax, esi
call fcn.00545c84
mov edx, dword [edi + 0x110]
mov eax, esi
call fcn.00546830
mov dword [esi + 0x114], ebx
mov dword [esi + 0x110], 0x65f7b4
test byte [edi + 0x68], 0x40
setne dl
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xf0]
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x8c]
push eax
lea edx, [ebp - 0x180]
mov eax, esi
call fcn.00546678
mov eax, dword [ebp - 0x180]
push eax
mov eax, ebx
call fcn.005215f0
mov edx, eax
mov eax, ebx
pop ecx
call fcn.0065a41c
mov eax, dword [ebx + 0x398]
add eax, eax
add eax, dword [ebp - 0x88]
mov dword [ebp - 0xa0], eax
mov edx, dword [esi + 0x40]
add edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x68]
call fcn.004793c8
mov dword [ebp - 0x68], eax
mov edx, 0x10
mov eax, esi
call fcn.00545cec
xor eax, eax
mov dword [ebx + 0x3d0], eax
xor eax, eax
mov dword [ebx + 0x3d4], eax
cmp dword [edi + 0x3c], 0
je 0x65bfce
mov eax, dword [ebp - 0x48]
add eax, 0x1a
push eax
lea eax, [ebp - 0x114]
push eax
mov ecx, 0x12c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebx + 0x38c]
call fcn.0045f518
movzx eax, byte [0x65c6a4]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x3b4]
mov eax, dword [eax + 0x3c]
mov ecx, 0x65c7cc
mov edx, 0x65c7e4
call fcn.004aa990
movzx eax, byte [0x65c6a4]
push eax
lea eax, [ebp - 0x184]
push eax
mov ecx, 0x65c7cc
mov edx, 0x65c7f8
mov eax, dword [ebp - 0x1c]
call fcn.004aa990
mov edx, dword [ebp - 0x184]
lea eax, [ebp - 0x1c]
call fcn.004c168c
push 0
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x48]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 1
push 0
push 0
push 1
push 1
push 0
push 1
push 0x3ff00000
push 0
push 0xff0000
push 0x1fffffff
push 0x1fffffff
push 0x808080
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebx + 0x3d0]
push eax
lea eax, [ebx + 0x3d4]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x124]
push eax
push 0
push 0
push 0
push 0
mov eax, ebx
call fcn.005215f0
lea ecx, [ebp - 0x114]
mov edx, dword [ebp - 0x1c]
call fcn.00657048
movzx eax, byte [edi + 0xe1]
mov esi, dword [eax*4 + 0x7e2330]
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x74], eax
test esi, esi
je 0x65bf5f
mov eax, dword [ebx + 0x394]
add eax, 0x18
add dword [ebp - 0x70], eax
cmp dword [ebp - 0x74], 0x18
jge 0x65bf5f
mov dword [ebp - 0x74], 0x18
test esi, esi
je 0x65bfce
mov ecx, ebx
mov dl, 1
mov eax, dword [0x52bc5c]
call fcn.0052f918
mov dword [ebx + 0x3b8], eax
mov dword [ebx + 0x3bc], esi
mov eax, dword [ebx + 0x3b8]
mov dword [ebp - 0xd4], eax
mov edx, 0x65c8cc
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, ebx
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax]
call dword [ecx + 0x78]
xor edx, edx
mov eax, dword [ebp - 0xd4]
call fcn.00546598
push 0x10
push 0x10
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebx + 0x38c]
mov eax, dword [ebp - 0xd4]
mov esi, dword [eax]
call dword [esi + 0x98]
mov eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x7c]
add eax, dword [ebp - 0xa0]
mov dword [ebp - 0x38], eax
cmp dword [edi + 0x48], 0
je 0x65c08a
cmp dword [ebx + 0x39c], 0
je 0x65c08a
xor eax, eax
mov dword [ebp - 0x88], eax
xor eax, eax
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x8c]
push eax
mov eax, ebx
call fcn.005215f0
mov edx, eax
mov eax, dword [ebx + 0x3b4]
mov ecx, dword [eax + 0x4c]
mov eax, ebx
call fcn.0065a41c
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x8c]
push eax
mov eax, ebx
call fcn.005215f0
mov edx, eax
mov eax, dword [ebx + 0x3b4]
mov ecx, dword [eax + 0x50]
mov eax, ebx
call fcn.0065a41c
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x88]
call fcn.004793c8
mov dword [ebp - 0x88], eax
mov eax, dword [ebx + 0x39c]
mov eax, dword [eax + 0x48]
add eax, dword [ebp - 0x38]
add eax, dword [ebx + 0x394]
add eax, dword [ebp - 0x88]
add eax, dword [ebx + 0x394]
mov dword [ebp - 0x38], eax
cmp dword [edi + 0x38], 0
jne 0x65c094
sub dword [ebp - 0x48], 0x14
movzx eax, byte [edi + 0xfd]
cmp eax, 5
ja case.default.0x65c0a4
jmp dword [eax*4 + 0x65c0ab]
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4e2ca0]
call fcn.004ed384
mov dword [ebx + 0x400], eax
mov edx, ebx
mov eax, dword [ebx + 0x400]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov dl, 1
mov eax, dword [ebx + 0x400]
call fcn.0054f910
mov edx, dword [edi + 0x100]
mov eax, dword [ebx + 0x400]
call fcn.005466b0
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0xec]
add eax, dword [ebx + 0x38c]
mov dword [ebp - 0x4c], eax
mov eax, ebx
mov si, 0xffc7
call fcn.004bfa18
test al, al
je 0x65c133
mov eax, ebx
call fcn.00545f64
sub eax, dword [ebp - 0x4c]
sub eax, dword [ebx + 0x48]
mov dword [ebp - 0x4c], eax
mov eax, ebx
call fcn.00545f64
sub eax, dword [ebp - 0x4c]
push eax
push 0x14
mov ecx, dword [ebp - 0x48]
add ecx, 0x14
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebx + 0x400]
mov esi, dword [eax]
call dword [esi + 0x98]
jmp case.default.0x65c0a4
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4e5994]
call fcn.004efefc
mov dword [ebx + 0x404], eax
mov edx, ebx
mov eax, dword [ebx + 0x404]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov dl, 1
mov eax, dword [ebx + 0x404]
call fcn.0054f910
mov edx, dword [edi + 0x100]
mov eax, dword [ebx + 0x404]
call fcn.005466b0
mov edx, dword [edi + 0x10c]
mov eax, dword [ebx + 0x404]
mov ecx, dword [eax]
call dword [ecx + 0x130]
mov eax, dword [ebx + 0x404]
mov eax, dword [eax + 0x2ac]
mov edx, dword [edi + 0x104]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp byte [edi + 0xfd], 3
jne 0x65c206
mov dl, 2
mov eax, dword [ebx + 0x404]
mov ecx, dword [eax]
call dword [ecx + 0x148]
mov eax, dword [ebx + 0x404]
mov eax, dword [eax + 0x2ac]
mov edx, dword [edi + 0x100]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, eax
mov eax, dword [ebx + 0x404]
mov ecx, dword [eax]
call dword [ecx + 0xf0]
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0xec]
add eax, dword [ebx + 0x38c]
mov dword [ebp - 0x4c], eax
mov eax, ebx
mov si, 0xffc7
call fcn.004bfa18
test al, al
je 0x65c237
mov eax, ebx
call fcn.00545f64
sub eax, dword [ebp - 0x4c]
sub eax, dword [ebx + 0x48]
mov dword [ebp - 0x4c], eax
mov eax, ebx
call fcn.00545f64
sub eax, dword [ebp - 0x4c]
push eax
push 0x14
mov ecx, dword [ebp - 0x48]
add ecx, 0x14
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebx + 0x404]
mov esi, dword [eax]
call dword [esi + 0x98]
jmp case.default.0x65c0a4
mov ecx, ebx
mov dl, 1
mov eax, dword [0x55b578]
call fcn.0055f3e8
mov dword [ebx + 0x408], eax
mov edx, ebx
mov eax, dword [ebx + 0x408]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov dl, 1
mov eax, dword [ebx + 0x408]
call fcn.0054f910
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0xec]
add eax, dword [ebx + 0x38c]
mov dword [ebp - 0x4c], eax
mov eax, ebx
mov si, 0xffc7
call fcn.004bfa18
test al, al
je 0x65c2bf
mov eax, ebx
call fcn.00545f64
sub eax, dword [ebp - 0x4c]
sub eax, dword [ebx + 0x48]
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x48]
add edx, 0x14
mov eax, dword [ebx + 0x408]
call fcn.00545c84
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebx + 0x408]
call fcn.00545c50
jmp case.default.0x65c0a4
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4e3cac]
call fcn.004ee5b4
mov dword [ebx + 0x40c], eax
mov edx, ebx
mov eax, dword [ebx + 0x40c]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov dl, 1
mov eax, dword [ebx + 0x40c]
call fcn.0054f910
mov eax, dword [ebx + 0x40c]
mov byte [eax + 0x2a6], 0
mov eax, dword [ebx + 0x40c]
mov eax, dword [eax + 0x2a0]
mov edx, dword [edi + 0x100]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0xec]
add eax, dword [ebx + 0x38c]
mov dword [ebp - 0x4c], eax
mov eax, ebx
mov si, 0xffc7
call fcn.004bfa18
test al, al
je 0x65c366
mov eax, ebx
call fcn.00545f64
sub eax, dword [ebp - 0x4c]
sub eax, dword [ebx + 0x48]
mov dword [ebp - 0x4c], eax
mov eax, ebx
call fcn.00545f64
sub eax, dword [ebp - 0x4c]
push eax
push 0x3c
mov ecx, dword [ebp - 0x48]
add ecx, 0x14
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebx + 0x40c]
mov esi, dword [eax]
call dword [esi + 0x98]
jmp case.default.0x65c0a4
cmp dword [edi + 0x108], 0
je case.default.0x65c0a4
mov eax, dword [edi + 0x108]
mov eax, dword [eax + 0x34]
mov dword [ebx + 0x410], eax
mov edx, ebx
mov eax, dword [edi + 0x108]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov dl, 1
mov eax, dword [edi + 0x108]
call fcn.00546598
cmp word [edi + 0xda], 0
je 0x65c3e5
mov ecx, dword [edi + 0x100]
mov edx, edi
mov eax, dword [edi + 0xdc]
call dword [edi + 0xd8]
jmp 0x65c402
mov eax, dword [edi + 0x100]
call fcn.004c2244
push eax
mov eax, dword [edi + 0x108]
call fcn.0054f634
push eax
call sub.USER32.DLL_SetWindowTextW
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0xec]
add eax, dword [ebx + 0x38c]
mov dword [ebp - 0x4c], eax
mov eax, ebx
mov si, 0xffc7
call fcn.004bfa18
test al, al
je 0x65c433
mov eax, ebx
call fcn.00545f64
sub eax, dword [ebp - 0x4c]
sub eax, dword [ebx + 0x48]
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov eax, dword [edi + 0x108]
call fcn.00545c50
mov edx, dword [ebp - 0x48]
add edx, 0x14
mov eax, dword [edi + 0x108]
call fcn.00545c84
mov eax, dword [edi + 0x108]
mov eax, dword [eax + 0x48]
add eax, dword [ebp - 0x4c]
cmp eax, dword [ebx + 0x48]
jle case.default.0x65c0a4
mov eax, dword [edi + 0x108]
mov eax, dword [eax + 0x48]
add eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
call fcn.004793c8
mov edx, eax
mov eax, dword [ebx + 0x3d0]
call fcn.004793c8
mov edx, dword [ebx + 0x38c]
add edx, edx
add eax, edx
mov dword [ebp - 0x88], eax
mov eax, dword [ebx + 0x38c]
add eax, eax
add eax, dword [ebx + 0x3e0]
mov edx, dword [ebp - 0x88]
call fcn.004793c8
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x68]
call fcn.004793c8
mov dword [ebp - 0x68], eax
mov edx, dword [ebx + 0x3fc]
mov eax, dword [ebp - 0x68]
call fcn.004793c8
mov dword [ebp - 0x68], eax
mov eax, dword [0x7e8f34]
mov eax, dword [eax]
call fcn.00526980
mov esi, eax
push 0x2e
call sub.USER32.DLL_GetSystemMetrics
add eax, eax
sub esi, eax
cmp esi, dword [ebp - 0x68]
jge 0x65c518
mov eax, dword [0x7e8f34]
mov eax, dword [eax]
call fcn.00526980
mov esi, eax
push 0x2e
call sub.USER32.DLL_GetSystemMetrics
add eax, eax
sub esi, eax
mov dword [ebp - 0x68], esi
mov edx, dword [ebp - 0x68]
mov eax, ebx
call fcn.00520284
cmp byte [edi + 0xfd], 5
jne 0x65c560
cmp dword [edi + 0x108], 0
je 0x65c560
mov eax, ebx
call fcn.00545f64
sub eax, dword [ebp - 0x4c]
mov edx, dword [edi + 0x108]
cmp eax, dword [edx + 0x48]
jge 0x65c560
mov eax, ebx
call fcn.00545f64
mov edx, eax
sub edx, dword [ebp - 0x4c]
mov eax, dword [edi + 0x108]
call fcn.00545cb8
test byte [edi + 0x68], 0x80
je 0x65c584
mov eax, ebx
call fcn.00545f64
mov edx, eax
mov eax, dword [ebx + 0x38c]
add eax, eax
sub edx, eax
mov eax, dword [ebx + 0x3c8]
call fcn.00545cb8
mov eax, ebx
call fcn.0065cf9c
cmp dword [edi + 0x48], 0
je 0x65c59f
test byte [edi + 0x68], 8
setne dl
mov eax, ebx
call fcn.0065e228
mov eax, dword [0x7e8f34]
mov eax, dword [eax]
call fcn.00526980
mov edx, eax
sar edx, 1
jns 0x65c5b4
adc edx, 0
mov eax, dword [ebx + 0x48]
sar eax, 1
jns 0x65c5be
adc eax, 0
sub edx, eax
mov eax, ebx
call fcn.00525cbc
mov eax, dword [0x7e8f34]
mov eax, dword [eax]
call fcn.00526978
mov edx, eax
sar edx, 1
jns 0x65c5dc
adc edx, 0
mov eax, dword [ebx + 0x4c]
sar eax, 1
jns 0x65c5e6
adc eax, 0
sub edx, eax
mov eax, ebx
call fcn.00525cf8
mov eax, dword [ebp - 0x94]
call fcn.004bf790
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65c678
lea eax, [ebp - 0x184]
call fcn.004c1264
lea eax, [ebp - 0x180]
call fcn.004c1264
lea eax, [ebp - 0x17c]
mov edx, 2
call fcn.004c12c4
lea eax, [ebp - 0x174]
call fcn.004c1264
lea eax, [ebp - 0x160]
mov edx, 0xc
call fcn.004c12c4
lea eax, [ebp - 0x130]
mov edx, 2
call fcn.004c12c4
lea eax, [ebp - 0x128]
call fcn.004c1264
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.004c12c4
ret