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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b13a4
mov eax, dword fs:[0]
push eax
sub esp, 0xed0
mov eax, dword [0x614040]
xor eax, esp
mov dword [esp + 0xec8], eax
push ebx
push esi
push edi
mov eax, dword [0x614040]
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 0x594e42
jmp 0x594d90
cmp dword [esi + 0x24], 0
je 0x594e33
push dword [esi + 4]
mov edx, dword [edi + 0x100]
lea ecx, [esp + 0x1c]
call fcn.0058d5b0
add esp, 4
push 0x5e7af0
push 0x5e7bac
lea ecx, [esp + 0x20]
mov dword [esp + 0xef0], 0
call fcn.00403990
sub esp, 8
lea ecx, [esp + 0x20]
call fcn.004044c0
mov ecx, eax
call fcn.00404540
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jne 0x594dfa
mov dword [esp + 0xee8], 0xffffffff
lea edx, [eax - 0x10]
jmp 0x594e1c
push 0
push dword [esi + 0x24]
lea ecx, [edi + 0x118]
call fcn.00418869
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 0x594e33
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0x58
cmp esi, dword [edi + 0x9c]
jne 0x594d90
mov eax, dword [edi + 0x1cc]
mov dword [edi + 0x1d0], eax
xor eax, eax
mov dword [esp + 0x74], eax
cmp dword [edi + 0x1c4], eax
je 0x594e74
push eax
push eax
push 0xb
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, edi
call fcn.00593e00
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 0x594ed7
mov edi, eax
mov ecx, esi
call fcn.0057e3b0
add esi, 0x58
cmp esi, edi
jne 0x594ec5
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.00404c50
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x594f18
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 0x594fc6
cmp ebx, eax
ja 0x594fc6
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 0x594fb7
mov eax, edx
sub eax, ecx
sar eax, 2
cmp eax, 1
jae 0x594fb7
sub ecx, ebx
mov eax, esi
sar ecx, 2
sub eax, ecx
cmp eax, 1
jae 0x594f7b
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 0x594f95
xor edx, edx
jmp 0x594f97
add edx, ecx
mov eax, dword [esp + 0x14]
cmp edx, eax
jae 0x594fa1
mov edx, eax
push edx
lea ecx, [esp + 0x2c]
call fcn.00404c50
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x59503d
mov eax, dword [ebx + eax*4]
mov dword [ecx], eax
jmp 0x59503d
mov edx, dword [esp + 0x30]
mov esi, 0x3fffffff
cmp ecx, edx
jne 0x59502f
mov eax, edx
sub eax, ecx
sar eax, 2
cmp eax, 1
jae 0x59502f
sub ecx, ebx
mov eax, esi
sar ecx, 2
sub eax, ecx
cmp eax, 1
jae 0x594ff7
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 0x595011
xor edx, edx
jmp 0x595013
add edx, ecx
mov eax, dword [esp + 0x14]
cmp edx, eax
jae 0x59501d
mov edx, eax
push edx
lea ecx, [esp + 0x2c]
call fcn.00404c50
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x595039
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 0x5950d0
cmp ebx, eax
ja 0x5950d0
sub eax, ebx
sar eax, 2
mov dword [esp + 0x18], eax
cmp ecx, edx
jne 0x5950c5
mov eax, edx
sub eax, ecx
sar eax, 2
cmp eax, 1
jae 0x5950c1
sub ecx, ebx
mov eax, esi
sar ecx, 2
sub eax, ecx
cmp eax, 1
jae 0x595089
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 0x5950a3
xor edx, edx
jmp 0x5950a5
add edx, ecx
mov eax, dword [esp + 0x14]
cmp edx, eax
jae 0x5950af
mov edx, eax
push edx
lea ecx, [esp + 0x2c]
call fcn.00404c50
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x595136
mov eax, dword [ebx + eax*4]
mov dword [ecx], eax
jmp 0x595136
cmp ecx, edx
jne 0x59512c
mov eax, edx
sub eax, ecx
sar eax, 2
cmp eax, 1
jae 0x59512c
sub ecx, ebx
mov eax, esi
sar ecx, 2
sub eax, ecx
cmp eax, 1
jae 0x5950f8
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 0x595112
xor edx, edx
jmp 0x595114
add edx, ecx
mov eax, dword [esp + 0x14]
cmp edx, eax
jae 0x59511e
mov edx, eax
push edx
lea ecx, [esp + 0x2c]
call fcn.00404c50
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x595136
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.00404c50
mov edx, dword [esp + 0x20]
test edx, edx
je 0x595176
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 0x59521d
cmp ebx, eax
ja 0x59521d
sub eax, ebx
sar eax, 2
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
cmp edx, eax
jne 0x59520e
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
jae 0x59520e
sub edx, ebx
mov ecx, esi
sar edx, 2
sub ecx, edx
cmp ecx, 1
jae 0x5951d2
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 0x5951ec
xor eax, eax
jmp 0x5951ee
add eax, edx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jae 0x5951f8
mov eax, ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00404c50
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test edx, edx
je 0x59528f
mov ecx, dword [ebx + ecx*4]
mov dword [edx], ecx
jmp 0x59528f
mov eax, dword [esp + 0x24]
cmp edx, eax
jne 0x595285
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
jae 0x595285
sub edx, ebx
mov ecx, esi
sar edx, 2
sub ecx, edx
cmp ecx, 1
jae 0x595249
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 0x595263
xor eax, eax
jmp 0x595265
add eax, edx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jae 0x59526f
mov eax, ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00404c50
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test edx, edx
je 0x59528f
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 0x59532a
cmp ebx, ecx
ja 0x59532a
sub ecx, ebx
sar ecx, 2
mov dword [esp + 0x18], ecx
cmp edx, eax
jne 0x59531f
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
jae 0x59531b
sub edx, ebx
mov ecx, esi
sar edx, 2
sub ecx, edx
cmp ecx, 1
jae 0x5952df
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 0x5952f9
xor eax, eax
jmp 0x5952fb
add eax, edx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jae 0x595305
mov eax, ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00404c50
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test edx, edx
je 0x595398
mov ecx, dword [ebx + ecx*4]
mov dword [edx], ecx
jmp 0x595398
cmp edx, eax
jne 0x59538e
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
jae 0x59538e
sub edx, ebx
mov ecx, esi
sar edx, 2
sub ecx, edx
cmp ecx, 1
jae 0x595352
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 0x59536c
xor eax, eax
jmp 0x59536e
add eax, edx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jae 0x595378
mov eax, ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00404c50
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test edx, edx
je 0x595398
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 0x59542b
cmp ebx, ecx
ja 0x59542b
sub ecx, ebx
sar ecx, 2
mov dword [esp + 0x18], ecx
cmp edx, eax
jne 0x595420
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
jae 0x59541c
sub edx, ebx
mov ecx, esi
sar edx, 2
sub ecx, edx
cmp ecx, 1
jae 0x5953e4
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 0x5953fe
xor eax, eax
jmp 0x595400
add eax, edx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jae 0x59540a
mov eax, ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00404c50
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test edx, edx
je 0x595495
mov eax, dword [ebx + ecx*4]
mov dword [edx], eax
jmp 0x595495
cmp edx, eax
jne 0x59548b
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
jae 0x59548b
sub edx, ebx
mov ecx, esi
sar edx, 2
sub ecx, edx
cmp ecx, 1
jae 0x595453
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 0x59546d
xor eax, eax
jmp 0x59546f
add eax, edx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jae 0x595479
mov eax, ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00404c50
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test edx, edx
je 0x595495
mov dword [edx], 0x23ab
add edx, 4
mov dword [esp + 0x20], edx
call fcn.00589460
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.00404c50
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x5954ea
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 0x59557f
mov edx, dword [esp + 0x34]
cmp edx, eax
ja 0x59557f
sub eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 2
mov dword [esp + 0x14], eax
cmp ecx, edx
jne 0x59556c
mov eax, edx
sub eax, ecx
sar eax, 2
cmp eax, 1
jae 0x59556c
sub ecx, dword [esp + 0x34]
mov eax, esi
sar ecx, 2
sub eax, ecx
cmp eax, 1
jae 0x595540
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 0x595556
xor edx, edx
jmp 0x595558
add edx, eax
cmp edx, ecx
jae 0x59555e
mov edx, ecx
push edx
lea ecx, [esp + 0x38]
call fcn.00404c50
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
test ecx, ecx
je 0x5955e3
mov eax, dword [eax + edx*4]
mov dword [ecx], eax
jmp 0x5955e3
mov edx, dword [esp + 0x3c]
cmp ecx, edx
jne 0x5955d9
mov eax, edx
sub eax, ecx
sar eax, 2
cmp eax, 1
jae 0x5955d9
sub ecx, dword [esp + 0x34]
mov eax, esi
sar ecx, 2
sub eax, ecx
cmp eax, 1
jae 0x5955ad
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 0x5955c3
xor edx, edx
jmp 0x5955c5
add edx, eax
cmp edx, ecx
jae 0x5955cb
mov edx, ecx
push edx
lea ecx, [esp + 0x38]
call fcn.00404c50
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x5955e3
mov dword [ecx], 0x23bd
xor eax, eax
mov dword [esp + 0x44], 0
add ecx, 4
mov dword [esp + 0x48], 0
cmp dword [0x62002c], 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.00404c50
mov eax, dword [esp + 0x48]
test eax, eax
je 0x595637
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.00404360
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x2d1
push eax
lea ecx, [esp + 0x48]
call fcn.00404360
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x2d2
push eax
lea ecx, [esp + 0x48]
call fcn.00404360
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x2d3
push eax
lea ecx, [esp + 0x48]
call fcn.00404360
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x2d4
push eax
lea ecx, [esp + 0x48]
call fcn.00404360
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x2d5
push eax
lea ecx, [esp + 0x48]
call fcn.00404360
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x2d6
push eax
lea ecx, [esp + 0x48]
call fcn.00404360
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.00404360
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x28
push eax
lea ecx, [esp + 0x54]
call fcn.00404360
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x2d7
push eax
lea ecx, [esp + 0x54]
call fcn.00404360
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x2d8
push eax
lea ecx, [esp + 0x54]
call fcn.00404360
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x2d9
push eax
lea ecx, [esp + 0x54]
call fcn.00404360
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x2da
push eax
lea ecx, [esp + 0x54]
call fcn.00404360
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x2db
push eax
lea ecx, [esp + 0x54]
call fcn.00404360
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x2dc
push eax
lea ecx, [esp + 0x54]
call fcn.00404360
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.00404360
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x10
push eax
lea ecx, [esp + 0x7c]
call fcn.00404360
cmp dword [edi + 0x110], 0x1fad
jne 0x5962c9
lea eax, [esp + 0x28]
push eax
push 0
push 0xd57
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xdac]
call fcn.0057e640
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.0057e3b0
push 0
push 0xd4f
push 0
push 0x1f47
push dword [edi + 0x100]
lea ecx, [esp + 0x250]
call fcn.0057e580
push eax
mov ecx, esi
mov byte [esp + 0xeec], 8
call fcn.0040b240
lea ecx, [esp + 0x23c]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x87c]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 9
call fcn.0040b240
lea ecx, [esp + 0x86c]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xd4b
push 0x23ad
push 0x1f5a
push dword [edi + 0x100]
lea ecx, [esp + 0x2fc]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0xa
call fcn.0040b240
lea ecx, [esp + 0x2ec]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xb94]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0xb
call fcn.0040b240
lea ecx, [esp + 0xb84]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x3ac]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0xc
call fcn.0040b240
lea ecx, [esp + 0x39c]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
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.0057e640
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0xd
call fcn.0040b240
lea ecx, [esp + 0x91c]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x45c]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0xe
call fcn.0040b240
lea ecx, [esp + 0x44c]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0
push 0xd4f
push 0
push 0x1f45
push dword [edi + 0x100]
lea ecx, [esp + 0xcf8]
call fcn.0057e580
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0xf
call fcn.0040b240
lea ecx, [esp + 0xce4]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x50c]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x10
call fcn.0040b240
lea ecx, [esp + 0x4fc]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xd4b
push 0x23bb
push 0x1f5b
push dword [edi + 0x100]
lea ecx, [esp + 0x94]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x11
call fcn.0040b240
mov byte [esp + 0xee8], 6
lea ecx, [esp + 0x84]
call fcn.0057e3b0
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x5bc]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x12
call fcn.0040b240
lea ecx, [esp + 0x5ac]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x9dc]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x13
call fcn.0040b240
lea ecx, [esp + 0x9cc]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
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.0057e640
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x14
call fcn.0040b240
lea ecx, [esp + 0x65c]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xc44]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x15
call fcn.0040b240
lea ecx, [esp + 0xc34]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0
push 0xd4f
push 0
push 0x1f48
push dword [edi + 0x100]
lea ecx, [esp + 0x720]
call fcn.0057e580
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x16
call fcn.0040b240
lea ecx, [esp + 0x70c]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xae4]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x17
call fcn.0040b240
lea ecx, [esp + 0xad4]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xd4b
push 0x23a6
push 0x1f5d
push dword [edi + 0x100]
lea ecx, [esp + 0x7cc]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x18
call fcn.0040b240
lea ecx, [esp + 0x7bc]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x144]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x19
call fcn.0040b240
lea ecx, [esp + 0x134]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xec]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x1a
call fcn.0040b240
lea ecx, [esp + 0xdc]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
lea eax, [esp + 0x44]
push eax
push 0xfd8
push 0xd59
push 0x23a7
push 0x1f4e
push dword [edi + 0x100]
lea ecx, [esp + 0x1fc]
call fcn.0057e640
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x1b
call fcn.0040b240
lea ecx, [esp + 0x1e4]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x2a4]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x1c
call fcn.0040b240
lea ecx, [esp + 0x294]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0
push 0xd4f
push 0
push 0x1f49
push dword [edi + 0x100]
lea ecx, [esp + 0x358]
call fcn.0057e580
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x1d
call fcn.0040b240
lea ecx, [esp + 0x344]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x404]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x1e
call fcn.0040b240
lea ecx, [esp + 0x3f4]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xd4b
push 0x23a8
push 0x1f5e
push dword [edi + 0x100]
lea ecx, [esp + 0x4b4]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x1f
call fcn.0040b240
lea ecx, [esp + 0x4a4]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x564]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x20
call fcn.0040b240
lea ecx, [esp + 0x554]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x614]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x21
call fcn.0040b240
lea ecx, [esp + 0x604]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
lea eax, [esp + 0x44]
push eax
push 0xfd8
push 0xd59
push 0x23a9
push 0x1f4f
push dword [edi + 0x100]
lea ecx, [esp + 0x6cc]
call fcn.0057e640
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x22
call fcn.0040b240
lea ecx, [esp + 0x6b4]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x774]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x23
call fcn.0040b240
lea ecx, [esp + 0x764]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0
push 0xd4f
push 0
push 0x1f46
push dword [edi + 0x100]
lea ecx, [esp + 0x828]
call fcn.0057e580
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x24
call fcn.0040b240
lea ecx, [esp + 0x814]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0x8d4]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x25
call fcn.0040b240
lea ecx, [esp + 0x8c4]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
lea eax, [esp + 0x78]
push eax
push 0x2cf
push 0xd4f
push 0
push 0x1f44
push dword [edi + 0x100]
lea ecx, [esp + 0x98c]
call fcn.0057e640
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x26
call fcn.0040b240
lea ecx, [esp + 0x974]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xff1
push 0xd5b
push 0x23c5
push 0x1f50
push dword [edi + 0x100]
lea ecx, [esp + 0xa90]
call fcn.0057e580
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x27
call fcn.0040b240
mov byte [esp + 0xee8], 6
lea ecx, [esp + 0xa7c]
call fcn.0057e3b0
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xb3c]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x28
call fcn.0040b240
lea ecx, [esp + 0xb2c]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0
push 0xd4f
push 0
push 0x1f4a
push dword [edi + 0x100]
lea ecx, [esp + 0xbf0]
call fcn.0057e580
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x29
call fcn.0040b240
lea ecx, [esp + 0xbdc]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xc9c]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x2a
call fcn.0040b240
lea ecx, [esp + 0xc8c]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xd4b
push 0x2475
push 0x1f5c
push dword [edi + 0x100]
lea ecx, [esp + 0xd4c]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x2b
call fcn.0040b240
lea ecx, [esp + 0xd3c]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xdfc]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x2c
call fcn.0040b240
lea ecx, [esp + 0xdec]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xd56
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xa34]
call fcn.0057e4c0
mov byte [esp + 0xee8], 0x2d
push eax
mov ecx, esi
call fcn.0040b240
lea ecx, [esp + 0xa24]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
lea eax, [esp + 0x50]
push eax
push 0xfd8
push 0xd59
push 0x23ac
push 0x1f4d
push dword [edi + 0x100]
lea ecx, [esp + 0x1a4]
call fcn.0057e640
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x2e
call fcn.0040b240
lea ecx, [esp + 0x18c]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
push 0xd48
push 0
push 0
push dword [edi + 0x100]
lea ecx, [esp + 0xe84]
call fcn.0057e4c0
push eax
mov ecx, esi
mov byte [esp + 0xeec], 0x2f
call fcn.0040b240
lea ecx, [esp + 0xe74]
mov byte [esp + 0xee8], 6
call fcn.0057e3b0
jmp 0x5962cf
lea esi, [edi + 0xa4]
push 1
lea ecx, [edi + 0x98]
call fcn.00581fc0
mov eax, dword [esi + 4]
mov esi, dword [esi]
mov dword [esp + 0x40], eax
cmp esi, eax
je 0x596302
mov ebx, eax
jmp 0x5962f0
mov ecx, esi
call fcn.0057e3b0
add esi, 0x58
cmp esi, ebx
jne 0x5962f0
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 0xa4]
mov dword [edi + 0xa8], eax
cmp dword [edi + 0x110], 0x1fad
jne 0x59653a
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.0041485e
mov esi, eax
test esi, esi
je 0x596390
mov eax, dword [esi + 0x20]
test eax, eax
je 0x596390
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.0040fe0e
mov ecx, eax
call fcn.004162e0
push 0x1f45
mov ecx, edi
call fcn.0041485e
mov esi, eax
test esi, esi
je 0x596465
mov eax, dword [esi + 0x20]
test eax, eax
je 0x596465
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 0x596410
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.0040fe0e
mov ecx, eax
call fcn.004162e0
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.00414a1b
push 0x1f46
mov ecx, edi
call fcn.0041485e
mov esi, eax
test esi, esi
je 0x59653a
mov eax, dword [esi + 0x20]
test eax, eax
je 0x59653a
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 0x5964e5
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.0040fe0e
mov ecx, eax
call fcn.004162e0
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.00414a1b
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 0x596592
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.00596950
push esi
mov ecx, edi
call fcn.00584ca0
add esp, 4
jmp 0x5965a6
push 6
push ecx
push eax
push 0
push 0
push 0x61aa40
mov ecx, edi
call fcn.00414b0c
mov esi, dword [edi + 0x98]
cmp esi, dword [edi + 0x9c]
je 0x5966d5
jmp 0x5965c0
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x5966c6
mov eax, dword [esi + 4]
cmp eax, 0xe2f
je 0x5966b4
cmp eax, 0xe31
je 0x5966b4
cmp eax, 0xe35
je 0x5966b4
mov edx, dword [edi + 0x100]
lea ecx, [esp + 0x18]
push eax
call fcn.0058d5b0
add esp, 4
push 0x5e7af0
push 0x5e7bac
lea ecx, [esp + 0x20]
mov byte [esp + 0xef0], 0x30
call fcn.00403990
sub esp, 8
lea ecx, [esp + 0x20]
call fcn.004044c0
mov ecx, eax
call fcn.00404540
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jne 0x59665e
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 0x5966c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x5966c6
mov ecx, dword [esi + 0x24]
push 0x5b5c2c
call fcn.0041a43e
push 0
push 0
push dword [esp + 0x20]
test eax, eax
je 0x596695
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.0040fe0e
push eax
jmp 0x596698
push dword [esi + 0x24]
lea ecx, [edi + 0x118]
call fcn.00418770
mov byte [esp + 0xee8], 6
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
jmp 0x596645
push 0
push 0
push 0xffffffffffffffff
push ecx
lea ecx, [edi + 0x118]
call fcn.00418770
add esi, 0x58
cmp esi, dword [edi + 0x9c]
jne 0x5965c0
cmp dword [edi + 0x110], 0x1fad
jne 0x5967ec
push 0
push 0
push 0x31
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.00415fa2
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.00415da5
push 0x1f5a
mov ecx, edi
call fcn.0041485e
test eax, eax
je 0x596762
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x596762
test esi, esi
jne 0x596753
xor eax, eax
jmp 0x596756
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.0041485e
test eax, eax
je 0x596790
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x596790
test esi, esi
jne 0x596781
xor eax, eax
jmp 0x596784
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.0041485e
test eax, eax
je 0x5967be
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x5967be
test esi, esi
jne 0x5967af
xor eax, eax
jmp 0x5967b2
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.0041485e
test eax, eax
je 0x5967ec
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x5967ec
test esi, esi
jne 0x5967dd
xor eax, eax
jmp 0x5967e0
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 0x5967fd
push eax
call fcn.0040d50c
add esp, 4
mov eax, dword [esp + 0x50]
test eax, eax
je 0x59680e
push eax
call fcn.0040d50c
add esp, 4
mov eax, dword [esp + 0x44]
test eax, eax
je 0x59681f
push eax
call fcn.0040d50c
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x596830
push eax
call fcn.0040d50c
add esp, 4
test ebx, ebx
je 0x59683d
push ebx
call fcn.0040d50c
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x59684e
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