Function at 0x597260
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b3b44
mov eax, dword fs:[0]
push eax
sub esp, 0xed0
mov eax, dword [0x616040]
xor eax, esp
mov dword [esp + 0xec8], eax
push ebx
push esi
push edi
mov eax, dword [0x616040]
xor eax, esp
push eax
lea eax, [esp + 0xee0]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov esi, dword [edi + 0x98]
cmp esi, dword [edi + 0x9c]
je 0x597372
jmp 0x5972c0
cmp dword [esi + 0x24], 0
je 0x597363
push dword [esi + 4]
mov edx, dword [edi + 0x100]
lea ecx, [esp + 0x1c]
call fcn.0058f8e0
add esp, 4
push 0x5e9af0
push 0x5e9bac
lea ecx, [esp + 0x20]
mov dword [esp + 0xef0], 0
call fcn.00403990
sub esp, 8
lea ecx, [esp + 0x20]
call fcn.00404510
mov ecx, eax
call fcn.00404590
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jne 0x59732a
mov dword [esp + 0xee8], 0xffffffff
lea edx, [eax - 0x10]
jmp 0x59734c
push 0
push dword [esi + 0x24]
lea ecx, [edi + 0x118]
call fcn.00418a4a
mov dword [esp + 0xee8], 0xffffffff
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x597363
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0x58
cmp esi, dword [edi + 0x9c]
jne 0x5972c0
mov eax, dword [edi + 0x1cc]
mov dword [edi + 0x1d0], eax
xor eax, eax
mov dword [esp + 0x74], eax
cmp dword [edi + 0x1c4], eax
je 0x5973a4
push eax
push eax
push 0xb
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, edi
call fcn.00596330
mov dword [esp + 0x74], eax
lea eax, [esp + 0xe64]
mov dword [esp + 0xe64], 0
push eax
push dword [edi + 0x20]
mov dword [esp + 0xe70], 0
mov dword [esp + 0xe74], 0
mov dword [esp + 0xe78], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [edi + 0xa8]
lea ebx, [edi + 0xa4]
mov esi, dword [ebx]
cmp esi, eax
je 0x597407
mov edi, eax
mov ecx, esi
call fcn.0057f490
add esi, 0x58
cmp esi, edi
jne 0x5973f5
mov edi, dword [esp + 0x14]
mov eax, dword [ebx]
mov dword [ebx + 4], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
push 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0xeec], 1
call fcn.00404ca0
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x597448
mov dword [ecx], 0x32
mov ebx, dword [esp + 0x28]
lea eax, [esp + 0x60]
add ecx, 4
mov dword [esp + 0x60], 0xc8
mov dword [esp + 0x2c], ecx
cmp eax, ecx
jae 0x5974f6
cmp ebx, eax
ja 0x5974f6
mov edx, eax
mov esi, 0x3fffffff
sub edx, ebx
sar edx, 2
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x30]
cmp ecx, edx
jne 0x5974e7
mov eax, edx
sub eax, ecx
sar eax, 2
cmp eax, 1
jae 0x5974e7
sub ecx, ebx
mov eax, esi
sar ecx, 2
sub eax, ecx
cmp eax, 1
jae 0x5974ab
push str.vector_T__too_long
call fcn.00546d3a
inc ecx
sub edx, ebx
sar edx, 2
mov eax, esi
mov dword [esp + 0x14], ecx
mov ecx, edx
shr ecx, 1
sub eax, ecx
cmp eax, edx
jae 0x5974c5
xor edx, edx
jmp 0x5974c7
add edx, ecx
mov eax, dword [esp + 0x14]
cmp edx, eax
jae 0x5974d1
mov edx, eax
push edx
lea ecx, [esp + 0x2c]
call fcn.00404ca0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x59756d
mov eax, dword [ebx + eax*4]
mov dword [ecx], eax
jmp 0x59756d
mov edx, dword [esp + 0x30]
mov esi, 0x3fffffff
cmp ecx, edx
jne 0x59755f
mov eax, edx
sub eax, ecx
sar eax, 2
cmp eax, 1
jae 0x59755f
sub ecx, ebx
mov eax, esi
sar ecx, 2
sub eax, ecx
cmp eax, 1
jae 0x597527
push str.vector_T__too_long
call fcn.00546d3a
inc ecx
sub edx, ebx
sar edx, 2
mov eax, esi
mov dword [esp + 0x14], ecx
mov ecx, edx
shr ecx, 1
sub eax, ecx
cmp eax, edx
jae 0x597541
xor edx, edx
jmp 0x597543
add edx, ecx
mov eax, dword [esp + 0x14]
cmp edx, eax
jae 0x59754d
mov edx, eax
push edx
lea ecx, [esp + 0x2c]
call fcn.00404ca0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x597569
mov dword [ecx], 0xc8
mov ebx, dword [esp + 0x28]
add ecx, 4
mov dword [esp + 0x68], 0xa
lea eax, [esp + 0x68]
mov dword [esp + 0x2c], ecx
cmp eax, ecx
jae 0x597600
cmp ebx, eax
ja 0x597600
sub eax, ebx
sar eax, 2
mov dword [esp + 0x18], eax
cmp ecx, edx
jne 0x5975f5
mov eax, edx
sub eax, ecx
sar eax, 2
cmp eax, 1
jae 0x5975f1
sub ecx, ebx
mov eax, esi
sar ecx, 2
sub eax, ecx
cmp eax, 1
jae 0x5975b9
push str.vector_T__too_long
call fcn.00546d3a
inc ecx
sub edx, ebx
sar edx, 2
mov eax, esi
mov dword [esp + 0x14], ecx
mov ecx, edx
shr ecx, 1
sub eax, ecx
cmp eax, edx
jae 0x5975d3
xor edx, edx
jmp 0x5975d5
add edx, ecx
mov eax, dword [esp + 0x14]
cmp edx, eax
jae 0x5975df
mov edx, eax
push edx
lea ecx, [esp + 0x2c]
call fcn.00404ca0
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x597666
mov eax, dword [ebx + eax*4]
mov dword [ecx], eax
jmp 0x597666
cmp ecx, edx
jne 0x59765c
mov eax, edx
sub eax, ecx
sar eax, 2
cmp eax, 1
jae 0x59765c
sub ecx, ebx
mov eax, esi
sar ecx, 2
sub eax, ecx
cmp eax, 1
jae 0x597628
push str.vector_T__too_long
call fcn.00546d3a
inc ecx
sub edx, ebx
sar edx, 2
mov eax, esi
mov dword [esp + 0x14], ecx
mov ecx, edx
shr ecx, 1
sub eax, ecx
cmp eax, edx
jae 0x597642
xor edx, edx
jmp 0x597644
add edx, ecx
mov eax, dword [esp + 0x14]
cmp edx, eax
jae 0x59764e
mov edx, eax
push edx
lea ecx, [esp + 0x2c]
call fcn.00404ca0
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x597666
mov dword [ecx], 0xa
add ecx, 4
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0xeec], 2
call fcn.00404ca0
mov edx, dword [esp + 0x20]
test edx, edx
je 0x5976a6
mov dword [edx], 0x23a5
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x70]
add edx, 4
mov dword [esp + 0x70], 0x23a4
mov dword [esp + 0x20], edx
cmp eax, edx
jae 0x59774d
cmp ebx, eax
ja 0x59774d
sub eax, ebx
sar eax, 2
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
cmp edx, eax
jne 0x59773e
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
jae 0x59773e
sub edx, ebx
mov ecx, esi
sar edx, 2
sub ecx, edx
cmp ecx, 1
jae 0x597702
push str.vector_T__too_long
call fcn.00546d3a
inc edx
sub eax, ebx
sar eax, 2
mov ecx, esi
mov dword [esp + 0x14], edx
mov edx, eax
shr edx, 1
sub ecx, edx
cmp ecx, eax
jae 0x59771c
xor eax, eax
jmp 0x59771e
add eax, edx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jae 0x597728
mov eax, ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00404ca0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test edx, edx
je 0x5977bf
mov ecx, dword [ebx + ecx*4]
mov dword [edx], ecx
jmp 0x5977bf
mov eax, dword [esp + 0x24]
cmp edx, eax
jne 0x5977b5
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
jae 0x5977b5
sub edx, ebx
mov ecx, esi
sar edx, 2
sub ecx, edx
cmp ecx, 1
jae 0x597779
push str.vector_T__too_long
call fcn.00546d3a
inc edx
sub eax, ebx
sar eax, 2
mov ecx, esi
mov dword [esp + 0x14], edx
mov edx, eax
shr edx, 1
sub ecx, edx
cmp ecx, eax
jae 0x597793
xor eax, eax
jmp 0x597795
add eax, edx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jae 0x59779f
mov eax, ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00404ca0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test edx, edx
je 0x5977bf
mov dword [edx], 0x23a4
add edx, 4
mov dword [esp + 0x64], 0x23aa
lea ecx, [esp + 0x64]
mov dword [esp + 0x20], edx
cmp ecx, edx
jae 0x59785a
cmp ebx, ecx
ja 0x59785a
sub ecx, ebx
sar ecx, 2
mov dword [esp + 0x18], ecx
cmp edx, eax
jne 0x59784f
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
jae 0x59784b
sub edx, ebx
mov ecx, esi
sar edx, 2
sub ecx, edx
cmp ecx, 1
jae 0x59780f
push str.vector_T__too_long
call fcn.00546d3a
inc edx
sub eax, ebx
sar eax, 2
mov ecx, esi
mov dword [esp + 0x14], edx
mov edx, eax
shr edx, 1
sub ecx, edx
cmp ecx, eax
jae 0x597829
xor eax, eax
jmp 0x59782b
add eax, edx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jae 0x597835
mov eax, ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00404ca0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test edx, edx
je 0x5978c8
mov ecx, dword [ebx + ecx*4]
mov dword [edx], ecx
jmp 0x5978c8
cmp edx, eax
jne 0x5978be
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
jae 0x5978be
sub edx, ebx
mov ecx, esi
sar edx, 2
sub ecx, edx
cmp ecx, 1
jae 0x597882
push str.vector_T__too_long
call fcn.00546d3a
inc edx
sub eax, ebx
sar eax, 2
mov ecx, esi
mov dword [esp + 0x14], edx
mov edx, eax
shr edx, 1
sub ecx, edx
cmp ecx, eax
jae 0x59789c
xor eax, eax
jmp 0x59789e
add eax, edx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jae 0x5978a8
mov eax, ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00404ca0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test edx, edx
je 0x5978c8
mov dword [edx], 0x23aa
add edx, 4
mov dword [esp + 0x6c], 0x23ab
lea ecx, [esp + 0x6c]
mov dword [esp + 0x20], edx
cmp ecx, edx
jae 0x59795b
cmp ebx, ecx
ja 0x59795b
sub ecx, ebx
sar ecx, 2
mov dword [esp + 0x18], ecx
cmp edx, eax
jne 0x597950
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
jae 0x59794c
sub edx, ebx
mov ecx, esi
sar edx, 2
sub ecx, edx
cmp ecx, 1
jae 0x597914
push str.vector_T__too_long
call fcn.00546d3a
inc edx
sub eax, ebx
sar eax, 2
mov ecx, esi
mov dword [esp + 0x14], edx
mov edx, eax
shr edx, 1
sub ecx, edx
cmp ecx, eax
jae 0x59792e
xor eax, eax
jmp 0x597930
add eax, edx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jae 0x59793a
mov eax, ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00404ca0
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test edx, edx
je 0x5979c5
mov eax, dword [ebx + ecx*4]
mov dword [edx], eax
jmp 0x5979c5
cmp edx, eax
jne 0x5979bb
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
jae 0x5979bb
sub edx, ebx
mov ecx, esi
sar edx, 2
sub ecx, edx
cmp ecx, 1
jae 0x597983
push str.vector_T__too_long
call fcn.00546d3a
inc edx
sub eax, ebx
sar eax, 2
mov ecx, esi
mov dword [esp + 0x14], edx
mov edx, eax
shr edx, 1
sub ecx, edx
cmp ecx, eax
jae 0x59799d
xor eax, eax
jmp 0x59799f
add eax, edx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jae 0x5979a9
mov eax, ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00404ca0
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test edx, edx
je 0x5979c5
mov dword [edx], 0x23ab
add edx, 4
mov dword [esp + 0x20], edx
call fcn.0058b760
neg eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
sbb eax, eax
mov dword [esp + 0x3c], 0
and eax, 6
add eax, 0x23a4
mov dword [esp + 0x18], eax
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0xeec], 3
call fcn.00404ca0
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x597a1a
mov dword [ecx], 0x23bc
add ecx, 4
mov dword [esp + 0x5c], 0x23bd
lea eax, [esp + 0x5c]
mov dword [esp + 0x38], ecx
cmp eax, ecx
jae 0x597aaf
mov edx, dword [esp + 0x34]
cmp edx, eax
ja 0x597aaf
sub eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 2
mov dword [esp + 0x14], eax
cmp ecx, edx
jne 0x597a9c
mov eax, edx
sub eax, ecx
sar eax, 2
cmp eax, 1
jae 0x597a9c
sub ecx, dword [esp + 0x34]
mov eax, esi
sar ecx, 2
sub eax, ecx
cmp eax, 1
jae 0x597a70
push str.vector_T__too_long
call fcn.00546d3a
sub edx, dword [esp + 0x34]
inc ecx
sar edx, 2
mov eax, edx
shr eax, 1
sub esi, eax
cmp esi, edx
jae 0x597a86
xor edx, edx
jmp 0x597a88
add edx, eax
cmp edx, ecx
jae 0x597a8e
mov edx, ecx
push edx
lea ecx, [esp + 0x38]
call fcn.00404ca0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
test ecx, ecx
je 0x597b13
mov eax, dword [eax + edx*4]
mov dword [ecx], eax
jmp 0x597b13
mov edx, dword [esp + 0x3c]
cmp ecx, edx
jne 0x597b09
mov eax, edx
sub eax, ecx
sar eax, 2
cmp eax, 1
jae 0x597b09
sub ecx, dword [esp + 0x34]
mov eax, esi
sar ecx, 2
sub eax, ecx
cmp eax, 1
jae 0x597add
push str.vector_T__too_long
call fcn.00546d3a
sub edx, dword [esp + 0x34]
inc ecx
sar edx, 2
mov eax, edx
shr eax, 1
sub esi, eax
cmp esi, edx
jae 0x597af3
xor edx, edx
jmp 0x597af5
add edx, eax
cmp edx, ecx
jae 0x597afb
mov edx, ecx
push edx
lea ecx, [esp + 0x38]
call fcn.00404ca0
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x597b13
mov dword [ecx], 0x23bd
xor eax, eax
mov dword [esp + 0x44], 0
add ecx, 4
mov dword [esp + 0x48], 0
cmp dword [0x62202c], eax
mov dword [esp + 0x38], ecx
setne al
mov dword [esp + 0x4c], 0
add eax, 0x23bc
mov dword [esp + 0x40], eax
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0xeec], 4
call fcn.00404ca0
mov eax, dword [esp + 0x48]
test eax, eax
je 0x597b67
mov dword [eax], 0xc8
add eax, 4
mov dword [esp + 0x14], 0x28
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x44]
lea eax, [esp + 0x14]
push eax
call fcn.004043b0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x2d1
push eax
lea ecx, [esp + 0x48]
call fcn.004043b0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x2d2
push eax
lea ecx, [esp + 0x48]
call fcn.004043b0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x2d3
push eax
lea ecx, [esp + 0x48]
call fcn.004043b0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x2d4
push eax
lea ecx, [esp + 0x48]
call fcn.004043b0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x2d5
push eax
lea ecx, [esp + 0x48]
call fcn.004043b0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x2d6
push eax
lea ecx, [esp + 0x48]
call fcn.004043b0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea eax, [esp + 0x14]
mov byte [esp + 0xee8], 5
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x18], 0xc8
call fcn.004043b0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x28
push eax
lea ecx, [esp + 0x54]
call fcn.004043b0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x2d7
push eax
lea ecx, [esp + 0x54]
call fcn.004043b0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x2d8
push eax
lea ecx, [esp + 0x54]
call fcn.004043b0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x2d9
push eax
lea ecx, [esp + 0x54]
call fcn.004043b0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x2da
push eax
lea ecx, [esp + 0x54]
call fcn.004043b0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x2db
push eax
lea ecx, [esp + 0x54]
call fcn.004043b0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x2dc
push eax
lea ecx, [esp + 0x54]
call fcn.004043b0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [esp + 0x14]
mov byte [esp + 0xee8], 6
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x18], 0x12
call fcn.004043b0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x10
push eax
lea ecx, [esp + 0x7c]
call fcn.004043b0
cmp dword [edi + 0x110], 0x1fad
jne 0x5987f9
lea eax, [esp + 0x28]
push eax
push 0
push 0xd57
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xdac]
call fcn.0057f720
lea esi, [edi + 0xa4]
mov byte [esp + 0xee8], 7
push eax
mov ecx, esi
call fcn.0040b240
lea ecx, [esp + 0xd94]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0
push 0xd4f
push 0
push 0x1f47
push dword [edi + 0x100]
lea ecx, [esp + 0x250]
call fcn.0057f660
push eax
mov ecx, esi
mov byte [esp + 0xeec], 8
call fcn.0040b240
lea ecx, [esp + 0x23c]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x87c]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 9
call fcn.0040b240
lea ecx, [esp + 0x86c]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xd4b
push 0x23ad
push 0x1f5a
push dword [edi + 0x100]
lea ecx, [esp + 0x2fc]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0xa
call fcn.0040b240
lea ecx, [esp + 0x2ec]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xb94]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0xb
call fcn.0040b240
lea ecx, [esp + 0xb84]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x3ac]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0xc
call fcn.0040b240
lea ecx, [esp + 0x39c]
mov byte [esp + 0xee8], 6
call fcn.0057f490
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x1c]
lea ecx, [esp + 0x924]
push 0xd60
push 0
push 0x1f51
push dword [edi + 0x100]
call fcn.0057f720
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0xd
call fcn.0040b240
lea ecx, [esp + 0x91c]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x45c]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0xe
call fcn.0040b240
lea ecx, [esp + 0x44c]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0
push 0xd4f
push 0
push 0x1f45
push dword [edi + 0x100]
lea ecx, [esp + 0xcf8]
call fcn.0057f660
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0xf
call fcn.0040b240
lea ecx, [esp + 0xce4]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x50c]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x10
call fcn.0040b240
lea ecx, [esp + 0x4fc]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xd4b
push 0x23bb
push 0x1f5b
push dword [edi + 0x100]
lea ecx, [esp + 0x94]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x11
call fcn.0040b240
mov byte [esp + 0xee8], 6
lea ecx, [esp + 0x84]
call fcn.0057f490
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x5bc]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x12
call fcn.0040b240
lea ecx, [esp + 0x5ac]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x9dc]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x13
call fcn.0040b240
lea ecx, [esp + 0x9cc]
mov byte [esp + 0xee8], 6
call fcn.0057f490
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x44]
lea ecx, [esp + 0x664]
push 0xd60
push 0
push 0x1f52
push dword [edi + 0x100]
call fcn.0057f720
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x14
call fcn.0040b240
lea ecx, [esp + 0x65c]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xc44]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x15
call fcn.0040b240
lea ecx, [esp + 0xc34]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0
push 0xd4f
push 0
push 0x1f48
push dword [edi + 0x100]
lea ecx, [esp + 0x720]
call fcn.0057f660
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x16
call fcn.0040b240
lea ecx, [esp + 0x70c]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xae4]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x17
call fcn.0040b240
lea ecx, [esp + 0xad4]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xd4b
push 0x23a6
push 0x1f5d
push dword [edi + 0x100]
lea ecx, [esp + 0x7cc]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x18
call fcn.0040b240
lea ecx, [esp + 0x7bc]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x144]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x19
call fcn.0040b240
lea ecx, [esp + 0x134]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xec]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x1a
call fcn.0040b240
lea ecx, [esp + 0xdc]
mov byte [esp + 0xee8], 6
call fcn.0057f490
lea eax, [esp + 0x44]
push eax
push 0xfd8
push 0xd59
push 0x23a7
push 0x1f4e
push dword [edi + 0x100]
lea ecx, [esp + 0x1fc]
call fcn.0057f720
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x1b
call fcn.0040b240
lea ecx, [esp + 0x1e4]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x2a4]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x1c
call fcn.0040b240
lea ecx, [esp + 0x294]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0
push 0xd4f
push 0
push 0x1f49
push dword [edi + 0x100]
lea ecx, [esp + 0x358]
call fcn.0057f660
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x1d
call fcn.0040b240
lea ecx, [esp + 0x344]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x404]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x1e
call fcn.0040b240
lea ecx, [esp + 0x3f4]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xd4b
push 0x23a8
push 0x1f5e
push dword [edi + 0x100]
lea ecx, [esp + 0x4b4]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x1f
call fcn.0040b240
lea ecx, [esp + 0x4a4]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x564]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x20
call fcn.0040b240
lea ecx, [esp + 0x554]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x614]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x21
call fcn.0040b240
lea ecx, [esp + 0x604]
mov byte [esp + 0xee8], 6
call fcn.0057f490
lea eax, [esp + 0x44]
push eax
push 0xfd8
push 0xd59
push 0x23a9
push 0x1f4f
push dword [edi + 0x100]
lea ecx, [esp + 0x6cc]
call fcn.0057f720
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x22
call fcn.0040b240
lea ecx, [esp + 0x6b4]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x774]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x23
call fcn.0040b240
lea ecx, [esp + 0x764]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0
push 0xd4f
push 0
push 0x1f46
push dword [edi + 0x100]
lea ecx, [esp + 0x828]
call fcn.0057f660
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x24
call fcn.0040b240
lea ecx, [esp + 0x814]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x8d4]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x25
call fcn.0040b240
lea ecx, [esp + 0x8c4]
mov byte [esp + 0xee8], 6
call fcn.0057f490
lea eax, [esp + 0x78]
push eax
push 0x2cf
push 0xd4f
push 0
push 0x1f44
push dword [edi + 0x100]
lea ecx, [esp + 0x98c]
call fcn.0057f720
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x26
call fcn.0040b240
lea ecx, [esp + 0x974]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xff1
push 0xd5b
push 0x23c5
push 0x1f50
push dword [edi + 0x100]
lea ecx, [esp + 0xa90]
call fcn.0057f660
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x27
call fcn.0040b240
mov byte [esp + 0xee8], 6
lea ecx, [esp + 0xa7c]
call fcn.0057f490
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xb3c]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x28
call fcn.0040b240
lea ecx, [esp + 0xb2c]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0
push 0xd4f
push 0
push 0x1f4a
push dword [edi + 0x100]
lea ecx, [esp + 0xbf0]
call fcn.0057f660
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x29
call fcn.0040b240
lea ecx, [esp + 0xbdc]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xc9c]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x2a
call fcn.0040b240
lea ecx, [esp + 0xc8c]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xd4b
push 0x2475
push 0x1f5c
push dword [edi + 0x100]
lea ecx, [esp + 0xd4c]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x2b
call fcn.0040b240
lea ecx, [esp + 0xd3c]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xdfc]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x2c
call fcn.0040b240
lea ecx, [esp + 0xdec]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xa34]
call fcn.0057f5a0
mov byte [esp + 0xee8], 0x2d
push eax
mov ecx, esi
call fcn.0040b240
lea ecx, [esp + 0xa24]
mov byte [esp + 0xee8], 6
call fcn.0057f490
lea eax, [esp + 0x50]
push eax
push 0xfd8
push 0xd59
push 0x23ac
push 0x1f4d
push dword [edi + 0x100]
lea ecx, [esp + 0x1a4]
call fcn.0057f720
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x2e
call fcn.0040b240
lea ecx, [esp + 0x18c]
mov byte [esp + 0xee8], 6
call fcn.0057f490
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xe84]
call fcn.0057f5a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x2f
call fcn.0040b240
lea ecx, [esp + 0xe74]
mov byte [esp + 0xee8], 6
call fcn.0057f490
jmp 0x5987ff
lea esi, [edi + 0xa4]
push 1
lea ecx, [edi + 0x98]
call fcn.00583510
mov eax, dword [esi + 4]
mov esi, dword [esi]
mov dword [esp + 0x40], eax
cmp esi, eax
je 0x598832
mov ebx, eax
jmp 0x598820
mov ecx, esi
call fcn.0057f490
add esi, 0x58
cmp esi, ebx
jne 0x598820
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 0xa4]
mov dword [edi + 0xa8], eax
cmp dword [edi + 0x110], 0x1fad
jne 0x598a6a
push 0x1f47
mov ecx, edi
mov dword [esp + 0xe58], 0
mov dword [esp + 0xe5c], 0
mov dword [esp + 0xe60], 0
mov dword [esp + 0xe64], 0
call fcn.00414a12
mov esi, eax
test esi, esi
je 0x5988c0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x5988c0
lea ecx, [esp + 0xe54]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0xe54]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0040fef6
mov ecx, eax
call fcn.004164c1
push 0x1f45
mov ecx, edi
call fcn.00414a12
mov esi, eax
test esi, esi
je 0x598995
mov eax, dword [esi + 0x20]
test eax, eax
je 0x598995
xor ecx, ecx
xor edx, edx
mov dword [esp + 0xe44], ecx
mov dword [esp + 0xe48], ecx
mov dword [esp + 0xe4c], edx
mov dword [esp + 0xe50], ecx
test eax, eax
je 0x598940
lea ecx, [esp + 0xe44]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0xe44]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0040fef6
mov ecx, eax
call fcn.004164c1
mov edx, dword [esp + 0xe4c]
mov ecx, dword [esp + 0xe44]
mov eax, dword [esp + 0xe5c]
sub eax, edx
sub eax, dword [esp + 0xe54]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
push 0
push eax
lea eax, [esp + 0xe4c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0xe50]
mov edx, dword [esp + 0xe48]
sub eax, edx
mov ecx, dword [esp + 0xe44]
push 1
push eax
mov eax, dword [esp + 0xe54]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, esi
call fcn.00414bcf
push 0x1f46
mov ecx, edi
call fcn.00414a12
mov esi, eax
test esi, esi
je 0x598a6a
mov eax, dword [esi + 0x20]
test eax, eax
je 0x598a6a
xor ecx, ecx
xor edx, edx
mov dword [esp + 0xe44], ecx
mov dword [esp + 0xe48], ecx
mov dword [esp + 0xe4c], edx
mov dword [esp + 0xe50], ecx
test eax, eax
je 0x598a15
lea ecx, [esp + 0xe44]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0xe44]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0040fef6
mov ecx, eax
call fcn.004164c1
mov edx, dword [esp + 0xe4c]
mov ecx, dword [esp + 0xe44]
mov eax, dword [esp + 0xe5c]
sub eax, edx
sub eax, dword [esp + 0xe54]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
push 0
push eax
lea eax, [esp + 0xe4c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0xe50]
mov edx, dword [esp + 0xe48]
sub eax, edx
mov ecx, dword [esp + 0xe44]
push 1
push eax
mov eax, dword [esp + 0xe54]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, esi
call fcn.00414bcf
cmp dword [edi + 0x1c4], 0
mov eax, dword [edi + 0xbc]
mov ecx, dword [edi + 0xc0]
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], ecx
je 0x598ac2
mov esi, dword [esp + 0x74]
push 0
neg esi
push 1
sbb esi, esi
push 0xb
push dword [edi + 0x20]
not esi
and esi, dword [edi + 0xc8]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esp + 0x40]
mov ecx, edi
push dword [esp + 0x18]
call fcn.00598e80
push esi
mov ecx, edi
call fcn.00586930
add esp, 4
jmp 0x598ad6
push 6
push ecx
push eax
push 0
push 0
push 0x61ca40
mov ecx, edi
call fcn.00414cc0
mov esi, dword [edi + 0x98]
cmp esi, dword [edi + 0x9c]
je 0x598c05
jmp 0x598af0
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x598bf6
mov eax, dword [esi + 4]
cmp eax, 0xe2f
je 0x598be4
cmp eax, 0xe31
je 0x598be4
cmp eax, 0xe35
je 0x598be4
mov edx, dword [edi + 0x100]
lea ecx, [esp + 0x18]
push eax
call fcn.0058f8e0
add esp, 4
push 0x5e9af0
push 0x5e9bac
lea ecx, [esp + 0x20]
mov byte [esp + 0xef0], 0x30
call fcn.00403990
sub esp, 8
lea ecx, [esp + 0x20]
call fcn.00404510
mov ecx, eax
call fcn.00404590
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jne 0x598b8e
mov byte [esp + 0xee8], 6
lea edx, [eax - 0x10]
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x598bf6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x598bf6
mov ecx, dword [esi + 0x24]
push 0x5b7c2c
call fcn.0041a686
push 0
push 0
push dword [esp + 0x20]
test eax, eax
je 0x598bc5
mov eax, dword [esi + 0x24]
push 0
push 0
push 0x406
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.0040fef6
push eax
jmp 0x598bc8
push dword [esi + 0x24]
lea ecx, [edi + 0x118]
call fcn.00418951
mov byte [esp + 0xee8], 6
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
jmp 0x598b75
push 0
push 0
push 0xffffffffffffffff
push ecx
lea ecx, [edi + 0x118]
call fcn.00418951
add esi, 0x58
cmp esi, dword [edi + 0x9c]
jne 0x598af0
cmp dword [edi + 0x110], 0x1fad
jne 0x598d1c
push 0
push 0
push 0x31
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.00416183
lea ecx, [esp + 0xe74]
push ecx
push 0x5c
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [esp + 0xe74]
mov dword [esp + 0xe84], 0x2bc
push eax
lea esi, [edi + 0x1bc]
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
mov ecx, esi
call fcn.00415f75
push 0x1f5a
mov ecx, edi
call fcn.00414a12
test eax, eax
je 0x598c92
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x598c92
test esi, esi
jne 0x598c83
xor eax, eax
jmp 0x598c86
mov eax, dword [esi + 4]
push 1
push eax
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x1f5d
mov ecx, edi
call fcn.00414a12
test eax, eax
je 0x598cc0
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x598cc0
test esi, esi
jne 0x598cb1
xor eax, eax
jmp 0x598cb4
mov eax, dword [esi + 4]
push 1
push eax
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x1f5e
mov ecx, edi
call fcn.00414a12
test eax, eax
je 0x598cee
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x598cee
test esi, esi
jne 0x598cdf
xor eax, eax
jmp 0x598ce2
mov eax, dword [esi + 4]
push 1
push eax
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x1f5c
mov ecx, edi
call fcn.00414a12
test eax, eax
je 0x598d1c
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x598d1c
test esi, esi
jne 0x598d0d
xor eax, eax
jmp 0x598d10
mov eax, dword [esi + 4]
push 1
push eax
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x78]
test eax, eax
je 0x598d2d
push eax
call fcn.0040d533
add esp, 4
mov eax, dword [esp + 0x50]
test eax, eax
je 0x598d3e
push eax
call fcn.0040d533
add esp, 4
mov eax, dword [esp + 0x44]
test eax, eax
je 0x598d4f
push eax
call fcn.0040d533
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x598d60
push eax
call fcn.0040d533
add esp, 4
test ebx, ebx
je 0x598d6d
push ebx
call fcn.0040d533
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x598d7e
push eax
call fcn.0040d533
add esp, 4
mov ecx, dword [esp + 0xee0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xec8]
xor ecx, esp
call fcn.00527e5c
mov esp, ebp
pop ebp
ret