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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b3764
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 0x596fa2
jmp 0x596ef0
cmp dword [esi + 0x24], 0
je 0x596f93
push dword [esi + 4]
mov edx, dword [edi + 0x100]
lea ecx, [esp + 0x1c]
call fcn.0058f590
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 0x596f5a
mov dword [esp + 0xee8], 0xffffffff
lea edx, [eax - 0x10]
jmp 0x596f7c
push 0
push dword [esi + 0x24]
lea ecx, [edi + 0x118]
call fcn.004187ff
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 0x596f93
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0x58
cmp esi, dword [edi + 0x9c]
jne 0x596ef0
mov eax, dword [edi + 0x1cc]
mov dword [edi + 0x1d0], eax
xor eax, eax
mov dword [esp + 0x74], eax
cmp dword [edi + 0x1c4], eax
je 0x596fd4
push eax
push eax
push 0xb
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, edi
call fcn.00595f60
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 0x597037
mov edi, eax
mov ecx, esi
call fcn.0057f4d0
add esi, 0x58
cmp esi, edi
jne 0x597025
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 0x597078
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 0x597126
cmp ebx, eax
ja 0x597126
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 0x597117
mov eax, edx
sub eax, ecx
sar eax, 2
cmp eax, 1
jae 0x597117
sub ecx, ebx
mov eax, esi
sar ecx, 2
sub eax, ecx
cmp eax, 1
jae 0x5970db
push str.vector_T__too_long
call fcn.00546d0c
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 0x5970f5
xor edx, edx
jmp 0x5970f7
add edx, ecx
mov eax, dword [esp + 0x14]
cmp edx, eax
jae 0x597101
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 0x59719d
mov eax, dword [ebx + eax*4]
mov dword [ecx], eax
jmp 0x59719d
mov edx, dword [esp + 0x30]
mov esi, 0x3fffffff
cmp ecx, edx
jne 0x59718f
mov eax, edx
sub eax, ecx
sar eax, 2
cmp eax, 1
jae 0x59718f
sub ecx, ebx
mov eax, esi
sar ecx, 2
sub eax, ecx
cmp eax, 1
jae 0x597157
push str.vector_T__too_long
call fcn.00546d0c
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 0x597171
xor edx, edx
jmp 0x597173
add edx, ecx
mov eax, dword [esp + 0x14]
cmp edx, eax
jae 0x59717d
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 0x597199
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 0x597230
cmp ebx, eax
ja 0x597230
sub eax, ebx
sar eax, 2
mov dword [esp + 0x18], eax
cmp ecx, edx
jne 0x597225
mov eax, edx
sub eax, ecx
sar eax, 2
cmp eax, 1
jae 0x597221
sub ecx, ebx
mov eax, esi
sar ecx, 2
sub eax, ecx
cmp eax, 1
jae 0x5971e9
push str.vector_T__too_long
call fcn.00546d0c
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 0x597203
xor edx, edx
jmp 0x597205
add edx, ecx
mov eax, dword [esp + 0x14]
cmp edx, eax
jae 0x59720f
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 0x597296
mov eax, dword [ebx + eax*4]
mov dword [ecx], eax
jmp 0x597296
cmp ecx, edx
jne 0x59728c
mov eax, edx
sub eax, ecx
sar eax, 2
cmp eax, 1
jae 0x59728c
sub ecx, ebx
mov eax, esi
sar ecx, 2
sub eax, ecx
cmp eax, 1
jae 0x597258
push str.vector_T__too_long
call fcn.00546d0c
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 0x597272
xor edx, edx
jmp 0x597274
add edx, ecx
mov eax, dword [esp + 0x14]
cmp edx, eax
jae 0x59727e
mov edx, eax
push edx
lea ecx, [esp + 0x2c]
call fcn.00404ca0
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x597296
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 0x5972d6
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 0x59737d
cmp ebx, eax
ja 0x59737d
sub eax, ebx
sar eax, 2
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
cmp edx, eax
jne 0x59736e
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
jae 0x59736e
sub edx, ebx
mov ecx, esi
sar edx, 2
sub ecx, edx
cmp ecx, 1
jae 0x597332
push str.vector_T__too_long
call fcn.00546d0c
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 0x59734c
xor eax, eax
jmp 0x59734e
add eax, edx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jae 0x597358
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 0x5973ef
mov ecx, dword [ebx + ecx*4]
mov dword [edx], ecx
jmp 0x5973ef
mov eax, dword [esp + 0x24]
cmp edx, eax
jne 0x5973e5
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
jae 0x5973e5
sub edx, ebx
mov ecx, esi
sar edx, 2
sub ecx, edx
cmp ecx, 1
jae 0x5973a9
push str.vector_T__too_long
call fcn.00546d0c
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 0x5973c3
xor eax, eax
jmp 0x5973c5
add eax, edx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jae 0x5973cf
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 0x5973ef
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 0x59748a
cmp ebx, ecx
ja 0x59748a
sub ecx, ebx
sar ecx, 2
mov dword [esp + 0x18], ecx
cmp edx, eax
jne 0x59747f
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
jae 0x59747b
sub edx, ebx
mov ecx, esi
sar edx, 2
sub ecx, edx
cmp ecx, 1
jae 0x59743f
push str.vector_T__too_long
call fcn.00546d0c
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 0x597459
xor eax, eax
jmp 0x59745b
add eax, edx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jae 0x597465
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 0x5974f8
mov ecx, dword [ebx + ecx*4]
mov dword [edx], ecx
jmp 0x5974f8
cmp edx, eax
jne 0x5974ee
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
jae 0x5974ee
sub edx, ebx
mov ecx, esi
sar edx, 2
sub ecx, edx
cmp ecx, 1
jae 0x5974b2
push str.vector_T__too_long
call fcn.00546d0c
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 0x5974cc
xor eax, eax
jmp 0x5974ce
add eax, edx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jae 0x5974d8
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 0x5974f8
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 0x59758b
cmp ebx, ecx
ja 0x59758b
sub ecx, ebx
sar ecx, 2
mov dword [esp + 0x18], ecx
cmp edx, eax
jne 0x597580
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
jae 0x59757c
sub edx, ebx
mov ecx, esi
sar edx, 2
sub ecx, edx
cmp ecx, 1
jae 0x597544
push str.vector_T__too_long
call fcn.00546d0c
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 0x59755e
xor eax, eax
jmp 0x597560
add eax, edx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jae 0x59756a
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 0x5975f5
mov eax, dword [ebx + ecx*4]
mov dword [edx], eax
jmp 0x5975f5
cmp edx, eax
jne 0x5975eb
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
jae 0x5975eb
sub edx, ebx
mov ecx, esi
sar edx, 2
sub ecx, edx
cmp ecx, 1
jae 0x5975b3
push str.vector_T__too_long
call fcn.00546d0c
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 0x5975cd
xor eax, eax
jmp 0x5975cf
add eax, edx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jae 0x5975d9
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 0x5975f5
mov dword [edx], 0x23ab
add edx, 4
mov dword [esp + 0x20], edx
call fcn.0058b490
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 0x59764a
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 0x5976df
mov edx, dword [esp + 0x34]
cmp edx, eax
ja 0x5976df
sub eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 2
mov dword [esp + 0x14], eax
cmp ecx, edx
jne 0x5976cc
mov eax, edx
sub eax, ecx
sar eax, 2
cmp eax, 1
jae 0x5976cc
sub ecx, dword [esp + 0x34]
mov eax, esi
sar ecx, 2
sub eax, ecx
cmp eax, 1
jae 0x5976a0
push str.vector_T__too_long
call fcn.00546d0c
sub edx, dword [esp + 0x34]
inc ecx
sar edx, 2
mov eax, edx
shr eax, 1
sub esi, eax
cmp esi, edx
jae 0x5976b6
xor edx, edx
jmp 0x5976b8
add edx, eax
cmp edx, ecx
jae 0x5976be
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 0x597743
mov eax, dword [eax + edx*4]
mov dword [ecx], eax
jmp 0x597743
mov edx, dword [esp + 0x3c]
cmp ecx, edx
jne 0x597739
mov eax, edx
sub eax, ecx
sar eax, 2
cmp eax, 1
jae 0x597739
sub ecx, dword [esp + 0x34]
mov eax, esi
sar ecx, 2
sub eax, ecx
cmp eax, 1
jae 0x59770d
push str.vector_T__too_long
call fcn.00546d0c
sub edx, dword [esp + 0x34]
inc ecx
sar edx, 2
mov eax, edx
shr eax, 1
sub esi, eax
cmp esi, edx
jae 0x597723
xor edx, edx
jmp 0x597725
add edx, eax
cmp edx, ecx
jae 0x59772b
mov edx, ecx
push edx
lea ecx, [esp + 0x38]
call fcn.00404ca0
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x597743
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 0x597797
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 0x598429
lea eax, [esp + 0x28]
push eax
push 0
push 0xd57
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xdac]
call fcn.0057f760
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.0057f4d0
push 0
push 0xd4f
push 0
push 0x1f47
push dword [edi + 0x100]
lea ecx, [esp + 0x250]
call fcn.0057f6a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 8
call fcn.0040b240
lea ecx, [esp + 0x23c]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x87c]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 9
call fcn.0040b240
lea ecx, [esp + 0x86c]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xd4b
push 0x23ad
push 0x1f5a
push dword [edi + 0x100]
lea ecx, [esp + 0x2fc]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0xa
call fcn.0040b240
lea ecx, [esp + 0x2ec]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xb94]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0xb
call fcn.0040b240
lea ecx, [esp + 0xb84]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x3ac]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0xc
call fcn.0040b240
lea ecx, [esp + 0x39c]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
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.0057f760
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0xd
call fcn.0040b240
lea ecx, [esp + 0x91c]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x45c]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0xe
call fcn.0040b240
lea ecx, [esp + 0x44c]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0
push 0xd4f
push 0
push 0x1f45
push dword [edi + 0x100]
lea ecx, [esp + 0xcf8]
call fcn.0057f6a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0xf
call fcn.0040b240
lea ecx, [esp + 0xce4]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x50c]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x10
call fcn.0040b240
lea ecx, [esp + 0x4fc]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xd4b
push 0x23bb
push 0x1f5b
push dword [edi + 0x100]
lea ecx, [esp + 0x94]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x11
call fcn.0040b240
mov byte [esp + 0xee8], 6
lea ecx, [esp + 0x84]
call fcn.0057f4d0
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x5bc]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x12
call fcn.0040b240
lea ecx, [esp + 0x5ac]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x9dc]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x13
call fcn.0040b240
lea ecx, [esp + 0x9cc]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
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.0057f760
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x14
call fcn.0040b240
lea ecx, [esp + 0x65c]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xc44]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x15
call fcn.0040b240
lea ecx, [esp + 0xc34]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0
push 0xd4f
push 0
push 0x1f48
push dword [edi + 0x100]
lea ecx, [esp + 0x720]
call fcn.0057f6a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x16
call fcn.0040b240
lea ecx, [esp + 0x70c]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xae4]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x17
call fcn.0040b240
lea ecx, [esp + 0xad4]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xd4b
push 0x23a6
push 0x1f5d
push dword [edi + 0x100]
lea ecx, [esp + 0x7cc]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x18
call fcn.0040b240
lea ecx, [esp + 0x7bc]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x144]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x19
call fcn.0040b240
lea ecx, [esp + 0x134]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xec]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x1a
call fcn.0040b240
lea ecx, [esp + 0xdc]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
lea eax, [esp + 0x44]
push eax
push 0xfd8
push 0xd59
push 0x23a7
push 0x1f4e
push dword [edi + 0x100]
lea ecx, [esp + 0x1fc]
call fcn.0057f760
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x1b
call fcn.0040b240
lea ecx, [esp + 0x1e4]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x2a4]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x1c
call fcn.0040b240
lea ecx, [esp + 0x294]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0
push 0xd4f
push 0
push 0x1f49
push dword [edi + 0x100]
lea ecx, [esp + 0x358]
call fcn.0057f6a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x1d
call fcn.0040b240
lea ecx, [esp + 0x344]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x404]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x1e
call fcn.0040b240
lea ecx, [esp + 0x3f4]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xd4b
push 0x23a8
push 0x1f5e
push dword [edi + 0x100]
lea ecx, [esp + 0x4b4]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x1f
call fcn.0040b240
lea ecx, [esp + 0x4a4]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x564]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x20
call fcn.0040b240
lea ecx, [esp + 0x554]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x614]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x21
call fcn.0040b240
lea ecx, [esp + 0x604]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
lea eax, [esp + 0x44]
push eax
push 0xfd8
push 0xd59
push 0x23a9
push 0x1f4f
push dword [edi + 0x100]
lea ecx, [esp + 0x6cc]
call fcn.0057f760
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x22
call fcn.0040b240
lea ecx, [esp + 0x6b4]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x774]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x23
call fcn.0040b240
lea ecx, [esp + 0x764]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0
push 0xd4f
push 0
push 0x1f46
push dword [edi + 0x100]
lea ecx, [esp + 0x828]
call fcn.0057f6a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x24
call fcn.0040b240
lea ecx, [esp + 0x814]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x8d4]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x25
call fcn.0040b240
lea ecx, [esp + 0x8c4]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
lea eax, [esp + 0x78]
push eax
push 0x2cf
push 0xd4f
push 0
push 0x1f44
push dword [edi + 0x100]
lea ecx, [esp + 0x98c]
call fcn.0057f760
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x26
call fcn.0040b240
lea ecx, [esp + 0x974]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xff1
push 0xd5b
push 0x23c5
push 0x1f50
push dword [edi + 0x100]
lea ecx, [esp + 0xa90]
call fcn.0057f6a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x27
call fcn.0040b240
mov byte [esp + 0xee8], 6
lea ecx, [esp + 0xa7c]
call fcn.0057f4d0
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xb3c]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x28
call fcn.0040b240
lea ecx, [esp + 0xb2c]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0
push 0xd4f
push 0
push 0x1f4a
push dword [edi + 0x100]
lea ecx, [esp + 0xbf0]
call fcn.0057f6a0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x29
call fcn.0040b240
lea ecx, [esp + 0xbdc]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xc9c]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x2a
call fcn.0040b240
lea ecx, [esp + 0xc8c]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xd4b
push 0x2475
push 0x1f5c
push dword [edi + 0x100]
lea ecx, [esp + 0xd4c]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x2b
call fcn.0040b240
lea ecx, [esp + 0xd3c]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xdfc]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x2c
call fcn.0040b240
lea ecx, [esp + 0xdec]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xa34]
call fcn.0057f5e0
mov byte [esp + 0xee8], 0x2d
push eax
mov ecx, esi
call fcn.0040b240
lea ecx, [esp + 0xa24]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
lea eax, [esp + 0x50]
push eax
push 0xfd8
push 0xd59
push 0x23ac
push 0x1f4d
push dword [edi + 0x100]
lea ecx, [esp + 0x1a4]
call fcn.0057f760
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x2e
call fcn.0040b240
lea ecx, [esp + 0x18c]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xe84]
call fcn.0057f5e0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x2f
call fcn.0040b240
lea ecx, [esp + 0xe74]
mov byte [esp + 0xee8], 6
call fcn.0057f4d0
jmp 0x59842f
lea esi, [edi + 0xa4]
push 1
lea ecx, [edi + 0x98]
call fcn.005832d0
mov eax, dword [esi + 4]
mov esi, dword [esi]
mov dword [esp + 0x40], eax
cmp esi, eax
je 0x598462
mov ebx, eax
jmp 0x598450
mov ecx, esi
call fcn.0057f4d0
add esi, 0x58
cmp esi, ebx
jne 0x598450
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 0xa4]
mov dword [edi + 0xa8], eax
cmp dword [edi + 0x110], 0x1fad
jne 0x59869a
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.004147d2
mov esi, eax
test esi, esi
je 0x5984f0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x5984f0
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.0040fe2e
mov ecx, eax
call fcn.00416269
push 0x1f45
mov ecx, edi
call fcn.004147d2
mov esi, eax
test esi, esi
je 0x5985c5
mov eax, dword [esi + 0x20]
test eax, eax
je 0x5985c5
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 0x598570
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.0040fe2e
mov ecx, eax
call fcn.00416269
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.0041498f
push 0x1f46
mov ecx, edi
call fcn.004147d2
mov esi, eax
test esi, esi
je 0x59869a
mov eax, dword [esi + 0x20]
test eax, eax
je 0x59869a
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 0x598645
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.0040fe2e
mov ecx, eax
call fcn.00416269
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.0041498f
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 0x5986f2
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.00598ab0
push esi
mov ecx, edi
call fcn.00586660
add esp, 4
jmp 0x598706
push 6
push ecx
push eax
push 0
push 0
push 0x61ca40
mov ecx, edi
call fcn.00414a80
mov esi, dword [edi + 0x98]
cmp esi, dword [edi + 0x9c]
je 0x598835
jmp 0x598720
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x598826
mov eax, dword [esi + 4]
cmp eax, 0xe2f
je 0x598814
cmp eax, 0xe31
je 0x598814
cmp eax, 0xe35
je 0x598814
mov edx, dword [edi + 0x100]
lea ecx, [esp + 0x18]
push eax
call fcn.0058f590
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 0x5987be
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 0x598826
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x598826
mov ecx, dword [esi + 0x24]
push 0x5b7c2c
call fcn.0041a43b
push 0
push 0
push dword [esp + 0x20]
test eax, eax
je 0x5987f5
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.0040fe2e
push eax
jmp 0x5987f8
push dword [esi + 0x24]
lea ecx, [edi + 0x118]
call fcn.00418706
mov byte [esp + 0xee8], 6
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
jmp 0x5987a5
push 0
push 0
push 0xffffffffffffffff
push ecx
lea ecx, [edi + 0x118]
call fcn.00418706
add esi, 0x58
cmp esi, dword [edi + 0x9c]
jne 0x598720
cmp dword [edi + 0x110], 0x1fad
jne 0x59894c
push 0
push 0
push 0x31
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.00415f2b
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.00415d2e
push 0x1f5a
mov ecx, edi
call fcn.004147d2
test eax, eax
je 0x5988c2
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x5988c2
test esi, esi
jne 0x5988b3
xor eax, eax
jmp 0x5988b6
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.004147d2
test eax, eax
je 0x5988f0
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x5988f0
test esi, esi
jne 0x5988e1
xor eax, eax
jmp 0x5988e4
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.004147d2
test eax, eax
je 0x59891e
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x59891e
test esi, esi
jne 0x59890f
xor eax, eax
jmp 0x598912
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.004147d2
test eax, eax
je 0x59894c
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x59894c
test esi, esi
jne 0x59893d
xor eax, eax
jmp 0x598940
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 0x59895d
push eax
call fcn.0040d50c
add esp, 4
mov eax, dword [esp + 0x50]
test eax, eax
je 0x59896e
push eax
call fcn.0040d50c
add esp, 4
mov eax, dword [esp + 0x44]
test eax, eax
je 0x59897f
push eax
call fcn.0040d50c
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x598990
push eax
call fcn.0040d50c
add esp, 4
test ebx, ebx
je 0x59899d
push ebx
call fcn.0040d50c
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5989ae
push eax
call fcn.0040d50c
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.00527e2c
mov esp, ebp
pop ebp
ret