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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48a338
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x4ada80]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
push 0x210
mov dword [esp + 0x18], 0
call fcn.00438e58
add esp, 4
test eax, eax
je 0x40b6e4
mov esi, eax
call fcn.00434a90
jmp 0x40b6e6
xor eax, eax
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x17c], eax
lea eax, [esp + 0x14]
push eax
push 0x85
call fcn.004098a0
mov edi, dword [esp + 0x14]
mov esi, dword [ebx + 0x17c]
test edi, edi
je 0x40b735
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x40b728
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0xa4], 0
mov eax, esi
mov dword [esi + 0xa4], edi
call fcn.00434f30
mov eax, dword [ebx + 0x17c]
mov dword [eax + 0x158], 0xffffffff
mov esi, dword [ebx + 0x17c]
lea edi, [ebx + 0x100]
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], edi
test esi, esi
je 0x40b7a9
mov eax, dword [esi + 0xa8]
mov dword [esi + 0xf4], edi
mov dword [esp + 0x30], eax
test eax, eax
je 0x40b780
lea ecx, [esp + 0x30]
push ecx
lea eax, [edi + 0x50]
call fcn.00434210
mov dword [eax], esi
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x20]
mov dword [esp + 0x2c], eax
test eax, eax
jge 0x40b793
call fcn.0043ae1e
mov edi, eax
inc edi
call fcn.00434630
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [edx + ecx*4], eax
push 0x210
call fcn.00438e58
add esp, 4
test eax, eax
je 0x40b7c3
mov esi, eax
call fcn.00434a90
jmp 0x40b7c5
xor eax, eax
mov dword [ebx + 0x180], eax
call fcn.0043a8f1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40b7e5
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
push 0x49484c
lea ecx, [esp + 0x2c]
push 0x4953e4
push ecx
mov dword [esp + 0xac], 0
call fcn.00406270
mov esi, dword [ebx + 0x180]
lea edx, [esp + 0x34]
push edx
lea edi, [esi + 0x16c]
push edi
call fcn.00405960
add esp, 0x14
test al, al
jne 0x40b845
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.00401c20
mov eax, esi
call fcn.00434f30
mov eax, dword [ebx + 0x180]
mov ecx, 0xff929292
cmp dword [eax + 0xf8], ecx
je 0x40b863
mov dword [eax + 0xf8], ecx
call fcn.00434f30
mov esi, dword [ebx + 0x180]
mov dword [esp + 0x24], esi
test esi, esi
je 0x40b8c1
mov eax, dword [esi + 0xa8]
mov edi, dword [esp + 0x18]
mov dword [esi + 0xf4], edi
mov dword [esp + 0x30], eax
test eax, eax
je 0x40b898
lea ecx, [esp + 0x30]
push ecx
lea eax, [edi + 0x50]
call fcn.00434210
mov dword [eax], esi
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x20]
mov dword [esp + 0x2c], eax
test eax, eax
jge 0x40b8ab
call fcn.0043ae1e
mov edi, eax
inc edi
call fcn.00434630
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov dword [edx + ecx*4], eax
push 0x210
call fcn.00438e58
add esp, 4
test eax, eax
je 0x40b8db
mov esi, eax
call fcn.00434a90
jmp 0x40b8dd
xor eax, eax
lea edx, [esp + 0x14]
push edx
push 0x89
mov dword [ebx + 0x188], eax
call fcn.004098a0
mov edi, dword [esp + 0x14]
mov esi, dword [ebx + 0x188]
test edi, edi
je 0x40b929
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x40b91c
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0xa4], 0
mov eax, esi
mov dword [esi + 0xa4], edi
call fcn.00434f30
mov esi, dword [ebx + 0x188]
mov dword [esp + 0x24], esi
test esi, esi
je 0x40b987
mov eax, dword [esi + 0xa8]
mov edi, dword [esp + 0x18]
mov dword [esi + 0xf4], edi
mov dword [esp + 0x30], eax
test eax, eax
je 0x40b95e
lea eax, [esp + 0x30]
push eax
lea eax, [edi + 0x50]
call fcn.00434210
mov dword [eax], esi
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x20]
mov dword [esp + 0x2c], eax
test eax, eax
jge 0x40b971
call fcn.0043ae1e
mov edi, eax
inc edi
call fcn.00434630
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov dword [ecx + eax*4], edx
push 0x214
call fcn.00438e58
mov esi, eax
add esp, 4
test esi, esi
je 0x40b9b3
call fcn.00434a90
mov dword [esi], vtable.CUIButton.0
mov dword [esi + 0x210], 0
mov eax, esi
jmp 0x40b9b5
xor eax, eax
mov dword [ebx + 0x18c], eax
lea ecx, [ebx + 0x74]
mov dword [eax + 0xb4], ecx
mov eax, dword [ebx + 0x18c]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x14]
push ecx
push 0x8a
mov dword [eax + 0xa8], 0x3ea
call fcn.004098a0
mov edi, dword [esp + 0x14]
mov esi, dword [ebx + 0x18c]
test edi, edi
je 0x40ba1e
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x40ba11
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0xa4], 0
mov eax, esi
mov dword [esi + 0xa4], edi
call fcn.00434f30
mov edi, dword [sym.imp.USER32.dll_CopyRect]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x18c]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x34]
push ecx
add eax, 0x180
mov edx, 0x82
mov esi, 0x1b
push eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], esi
call edi
xor eax, eax
mov edx, 0x82
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x18c]
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x34]
mov ecx, esi
push edx
add eax, 0x190
mov esi, 0x36
push eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], esi
call edi
mov esi, dword [ebx + 0x18c]
mov dword [esp + 0x24], esi
test esi, esi
je 0x40baea
mov eax, dword [esi + 0xa8]
mov edi, dword [esp + 0x18]
mov dword [esi + 0xf4], edi
mov dword [esp + 0x30], eax
test eax, eax
je 0x40babb
lea eax, [esp + 0x30]
push eax
lea eax, [edi + 0x50]
call fcn.00434210
mov dword [eax], esi
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x20]
mov dword [esp + 0x2c], eax
test eax, eax
jge 0x40bace
call fcn.0043ae1e
mov edi, eax
inc edi
call fcn.00434630
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
mov dword [ecx + eax*4], edx
push 0x214
call fcn.00438e58
mov esi, eax
add esp, 4
test esi, esi
je 0x40bb16
call fcn.00434a90
mov dword [esi], vtable.CUIButton.0
mov dword [esi + 0x210], 0
mov eax, esi
jmp 0x40bb18
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x190], eax
lea edx, [esp + 0x14]
mov dword [eax + 0xb4], ecx
mov eax, dword [ebx + 0x190]
push edx
push 0x8b
mov dword [eax + 0xa8], 0x3f5
call fcn.004098a0
cmp dword [esp + 0x14], 0
mov esi, dword [ebx + 0x190]
je 0x40bb81
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x40bb70
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0xa4], 0
mov eax, dword [esp + 0x14]
mov dword [esi + 0xa4], eax
mov eax, esi
call fcn.00434f30
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x190]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x34]
push ecx
add eax, 0x180
mov edx, 0x4b
mov esi, 0x1b
push eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], esi
call edi
xor eax, eax
mov edx, 0x4b
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x190]
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x34]
mov ecx, esi
push edx
add eax, 0x190
mov esi, 0x36
push eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], esi
call edi
mov esi, dword [ebx + 0x190]
mov dword [esp + 0x24], esi
test esi, esi
je 0x40bc47
mov eax, dword [esi + 0xa8]
mov edi, dword [esp + 0x18]
mov dword [esi + 0xf4], edi
mov dword [esp + 0x30], eax
test eax, eax
je 0x40bc18
lea eax, [esp + 0x30]
push eax
lea eax, [edi + 0x50]
call fcn.00434210
mov dword [eax], esi
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x20]
mov dword [esp + 0x2c], eax
test eax, eax
jge 0x40bc2b
call fcn.0043ae1e
mov edi, eax
inc edi
call fcn.00434630
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
mov dword [ecx + eax*4], edx
push 0x210
call fcn.00438e58
add esp, 4
test eax, eax
je 0x40bc61
mov esi, eax
call fcn.00434a90
jmp 0x40bc63
xor eax, eax
lea ecx, [esp + 0x14]
push ecx
push 0x90
mov dword [ebx + 0x194], eax
call fcn.004098a0
cmp dword [esp + 0x14], 0
mov esi, dword [ebx + 0x194]
je 0x40bcb2
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x40bca1
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0xa4], 0
mov ecx, dword [esp + 0x14]
mov eax, esi
mov dword [esi + 0xa4], ecx
call fcn.00434f30
mov esi, dword [ebx + 0x194]
mov dword [esp + 0x24], esi
test esi, esi
je 0x40bd16
mov eax, dword [esi + 0xa8]
mov edi, dword [esp + 0x18]
mov dword [esi + 0xf4], edi
mov dword [esp + 0x30], eax
test eax, eax
je 0x40bce7
lea edx, [esp + 0x30]
push edx
lea eax, [edi + 0x50]
call fcn.00434210
mov dword [eax], esi
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x20]
mov dword [esp + 0x2c], eax
test eax, eax
jge 0x40bcfa
call fcn.0043ae1e
mov edi, eax
inc edi
call fcn.00434630
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
mov dword [eax + edx*4], ecx
push 0x214
call fcn.00438e58
mov esi, eax
add esp, 4
test esi, esi
je 0x40bd42
call fcn.00434a90
mov dword [esi], vtable.CUIButton.0
mov dword [esi + 0x210], 0
mov eax, esi
jmp 0x40bd44
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x198], eax
lea edx, [esp + 0x14]
mov dword [eax + 0xb4], ecx
mov eax, dword [ebx + 0x198]
push edx
push 0x8f
mov dword [eax + 0xa8], 0x3ea
call fcn.004098a0
cmp dword [esp + 0x14], 0
mov esi, dword [ebx + 0x198]
je 0x40bdad
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x40bd9c
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0xa4], 0
mov eax, dword [esp + 0x14]
mov dword [esi + 0xa4], eax
mov eax, esi
call fcn.00434f30
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x198]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x34]
push ecx
add eax, 0x180
mov edx, 0x5f
mov esi, 0x1b
push eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], esi
call edi
xor eax, eax
mov edx, 0x5f
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x198]
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x34]
mov ecx, esi
push edx
add eax, 0x190
mov esi, 0x36
push eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], esi
call edi
mov esi, dword [ebx + 0x198]
mov dword [esp + 0x24], esi
test esi, esi
je 0x40be73
mov eax, dword [esi + 0xa8]
mov edi, dword [esp + 0x18]
mov dword [esi + 0xf4], edi
mov dword [esp + 0x30], eax
test eax, eax
je 0x40be44
lea eax, [esp + 0x30]
push eax
lea eax, [edi + 0x50]
call fcn.00434210
mov dword [eax], esi
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x20]
mov dword [esp + 0x2c], eax
test eax, eax
jge 0x40be57
call fcn.0043ae1e
mov edi, eax
inc edi
call fcn.00434630
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
mov dword [ecx + eax*4], edx
push 0x214
call fcn.00438e58
mov esi, eax
add esp, 4
test esi, esi
je 0x40be9d
call fcn.00434a90
mov dword [esi], vtable.CUIButton.0
mov dword [esi + 0x210], 0
jmp 0x40be9f
xor esi, esi
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x19c], esi
lea edx, [esp + 0x14]
mov dword [esi + 0xb4], ecx
mov eax, dword [ebx + 0x19c]
push edx
push 0x8e
mov dword [eax + 0xa8], 0x3f6
call fcn.004098a0
cmp dword [esp + 0x14], 0
mov esi, dword [ebx + 0x19c]
je 0x40bf08
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x40bef7
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0xa4], 0
mov eax, dword [esp + 0x14]
mov dword [esi + 0xa4], eax
mov eax, esi
call fcn.00434f30
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x19c]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x34]
push ecx
add eax, 0x180
mov edx, 0x55
mov esi, 0x1b
push eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], esi
call edi
xor eax, eax
mov edx, 0x55
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x19c]
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x34]
mov ecx, esi
push edx
add eax, 0x190
mov esi, 0x36
push eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], esi
call edi
mov esi, dword [ebx + 0x19c]
mov dword [esp + 0x24], esi
test esi, esi
je 0x40bfce
mov eax, dword [esi + 0xa8]
mov edi, dword [esp + 0x18]
mov dword [esi + 0xf4], edi
mov dword [esp + 0x30], eax
test eax, eax
je 0x40bf9f
lea eax, [esp + 0x30]
push eax
lea eax, [edi + 0x50]
call fcn.00434210
mov dword [eax], esi
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x20]
mov dword [esp + 0x2c], eax
test eax, eax
jge 0x40bfb2
call fcn.0043ae1e
mov edi, eax
inc edi
call fcn.00434630
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
mov dword [ecx + eax*4], edx
push 0x258
call fcn.00438e58
mov esi, eax
add esp, 4
test esi, esi
je 0x40c00d
call fcn.00436c10
mov eax, 1
mov dword [esi + 0x248], eax
mov dword [esi + 0x24c], eax
xor eax, eax
mov dword [esi], vtable.CUIGridLayout.0
mov dword [esi + 0x250], eax
mov dword [esi + 0x254], eax
jmp 0x40c00f
xor esi, esi
mov dword [ebx + 0x1a0], esi
cmp dword [esi + 0xec], 0
je 0x40c02f
mov eax, esi
mov dword [esi + 0xec], 0
call fcn.00434f30
mov eax, dword [ebx + 0x1a0]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0xb4], ecx
mov eax, dword [ebx + 0x1a0]
mov dword [eax + 0x24c], 4
mov esi, dword [ebx + 0x1a0]
mov dword [esp + 0x24], esi
test esi, esi
je 0x40c0b3
mov eax, dword [esi + 0xa8]
mov edi, dword [esp + 0x18]
mov dword [esi + 0xf4], edi
mov dword [esp + 0x30], eax
test eax, eax
je 0x40c084
lea edx, [esp + 0x30]
push edx
lea eax, [edi + 0x50]
call fcn.00434210
mov dword [eax], esi
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x20]
mov dword [esp + 0x2c], eax
test eax, eax
jge 0x40c097
call fcn.0043ae1e
mov edi, eax
inc edi
call fcn.00434630
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
mov dword [eax + edx*4], ecx
mov eax, dword [ebx + 0xe8]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x20], ecx
jle 0x40c500
mov dword [esp + 0x24], ecx
jmp 0x40c0d0
push 0x214
call fcn.00438e58
mov esi, eax
add esp, 4
test esi, esi
je 0x40c0fa
call fcn.00434a90
mov dword [esi], vtable.CUIButton.0
mov dword [esi + 0x210], 0
jmp 0x40c0fc
xor esi, esi
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xb4], eax
mov eax, 0xc
mov dword [esi + 0x138], eax
mov dword [esi + 0x13c], eax
xor eax, eax
mov dword [esi + 0xd8], eax
mov eax, 2
mov dword [esi + 0xdc], eax
xor eax, eax
mov dword [esi + 0xe0], eax
lea ecx, [esp + 0x34]
mov dword [esi + 0xe4], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, 0xc
push ecx
lea edx, [esi + 0x180]
push edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call edi
mov eax, 0xc
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x48], eax
mov eax, 0x18
mov dword [esp + 0x4c], eax
mov eax, 0xc
mov dword [esp + 0x50], eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esi + 0x1b0]
push ecx
call edi
lea edx, [esp + 0x14]
push edx
push 0x91
call fcn.004098a0
mov edi, dword [esp + 0x14]
test edi, edi
je 0x40c20e
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x40c1c1
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0xa4], 0
mov eax, dword [esi + 0xf4]
mov dword [esi + 0xa4], edi
test eax, eax
je 0x40c20e
mov ecx, dword [esi + 0xc8]
mov edx, dword [esi + 0xcc]
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0xd0]
mov dword [esp + 0x58], edx
mov edx, dword [esi + 0xd4]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x40c20e
push 1
lea ecx, [esp + 0x58]
push ecx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x210], 1
test ecx, ecx
jl 0x40b78e
mov edx, dword [esp + 0x20]
cmp edx, dword [ebx + 0xe8]
jge 0x40b78e
mov eax, dword [ebx + 0xe4]
add eax, ecx
mov dword [esi + 0x11c], eax
mov edi, dword [ebx + 0x1a0]
mov eax, dword [edi + 0xf4]
test eax, eax
je 0x40c275
mov ecx, dword [esi + 0xa8]
mov dword [esi + 0xf4], eax
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x40c275
lea ecx, [esp + 0x30]
push ecx
add eax, 0x50
call fcn.00434210
mov dword [eax], esi
mov dword [esi + 0x140], edi
mov eax, dword [edi + 0x220]
lea esi, [edi + 0x218]
mov dword [esp + 0x30], eax
test eax, eax
jl 0x40b78e
mov edi, eax
inc edi
call fcn.00434630
mov eax, dword [esp + 0x2c]
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x30]
mov dword [edx + ecx*4], eax
cmp dword [eax + 0xf0], 1
je 0x40c314
mov esi, eax
mov ecx, dword [esi + 0xb0]
test ecx, ecx
je 0x40c2dc
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x40c2dc
push ecx
push eax
call fcn.00433740
test eax, eax
je 0x40c2dc
push 0
mov ecx, eax
call fcn.004364c0
mov ecx, dword [esi + 0xac]
mov eax, ecx
or eax, 4
cmp ecx, eax
je 0x40c2f8
mov dword [esi + 0xac], eax
mov eax, esi
call fcn.00434f30
mov ecx, dword [esi + 0xb4]
mov dword [esi + 0xf0], 1
test ecx, ecx
je 0x40c314
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push esi
call eax
push 0x210
call fcn.00438e58
add esp, 4
test eax, eax
je 0x40c334
mov esi, eax
call fcn.00434a90
mov esi, eax
mov dword [esp + 0x30], eax
jmp 0x40c33a
xor esi, esi
mov dword [esp + 0x30], esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esi + 0xb4], ecx
mov dword [esi + 0x138], 0x12c
mov dword [esi + 0x13c], 0x12
cmp edx, dword [ebx + 0xe8]
jge 0x40b78e
mov eax, dword [ebx + 0xe4]
add eax, dword [esp + 0x24]
mov edx, dword [eax + 4]
add eax, 4
mov dword [esp + 0x2c], eax
xor eax, eax
test edx, edx
setne al
test eax, eax
je 0x40b7db
mov eax, dword [esi + 0x16c]
lea ecx, [esi + 0x16c]
mov di, word [eax]
cmp di, word [edx]
jne 0x40c3bd
test di, di
je 0x40c3b9
mov di, word [eax + 2]
cmp di, word [edx + 2]
jne 0x40c3bd
add eax, 4
add edx, 4
test di, di
jne 0x40c397
xor eax, eax
jmp 0x40c3c2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x40c41c
mov eax, dword [esp + 0x2c]
push eax
call fcn.00401c20
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x40c41c
mov ecx, dword [esi + 0xc8]
mov edx, dword [esi + 0xcc]
mov dword [esp + 0x64], ecx
mov ecx, dword [esi + 0xd0]
mov dword [esp + 0x68], edx
mov edx, dword [esi + 0xd4]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x40c41c
push 1
lea ecx, [esp + 0x68]
push ecx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 0xff3b3b3b
cmp dword [esi + 0xf8], eax
je 0x40c479
mov dword [esi + 0xf8], eax
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x40c479
mov edx, dword [esi + 0xc8]
mov ecx, dword [esi + 0xcc]
mov dword [esp + 0x74], edx
mov edx, dword [esi + 0xd0]
mov dword [esp + 0x78], ecx
mov ecx, dword [esi + 0xd4]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x40c479
push 1
lea edx, [esp + 0x78]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edi, dword [ebx + 0x1a0]
mov eax, dword [edi + 0xf4]
test eax, eax
je 0x40c4ac
mov ecx, dword [esi + 0xa8]
mov dword [esi + 0xf4], eax
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x40c4ac
lea ecx, [esp + 0x2c]
push ecx
add eax, 0x50
call fcn.00434210
mov dword [eax], esi
mov dword [esi + 0x140], edi
mov eax, dword [edi + 0x220]
lea esi, [edi + 0x218]
mov dword [esp + 0x2c], eax
test eax, eax
jl 0x40b78e
mov edi, eax
inc edi
call fcn.00434630
mov eax, dword [esp + 0x30]
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x24], 0x10
mov edi, dword [sym.imp.USER32.dll_CopyRect]
mov dword [edx + ecx*4], eax
mov eax, dword [esp + 0x20]
inc eax
cmp eax, dword [ebx + 0xe8]
mov dword [esp + 0x20], eax
jl 0x40c0d0
push 0x210
call fcn.00438e58
add esp, 4
test eax, eax
je 0x40c51a
mov esi, eax
call fcn.00434a90
jmp 0x40c51c
xor eax, eax
lea edx, [esp + 0x14]
push edx
push 0x81
mov dword [ebx + 0x1a4], eax
call fcn.004098a0
cmp dword [esp + 0x14], 0
mov esi, dword [ebx + 0x1a4]
je 0x40c5ae
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x40c55a
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0xa4], 0
mov eax, dword [esp + 0x14]
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x40c5ae
mov ecx, dword [esi + 0xc8]
mov edx, dword [esi + 0xcc]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0xd0]
mov dword [esp + 0x78], edx
mov edx, dword [esi + 0xd4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x40c5ae
push 1
lea ecx, [esp + 0x78]
push ecx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esi, dword [ebx + 0x1a4]
mov dword [esp + 0x2c], esi
test esi, esi
je 0x40c612
mov eax, dword [esi + 0xa8]
mov edi, dword [esp + 0x18]
mov dword [esi + 0xf4], edi
mov dword [esp + 0x30], eax
test eax, eax
je 0x40c5e3
lea edx, [esp + 0x30]
push edx
lea eax, [edi + 0x50]
call fcn.00434210
mov dword [eax], esi
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x20]
mov dword [esp + 0x30], eax
test eax, eax
jge 0x40c5f6
call fcn.0043ae1e
mov edi, eax
inc edi
call fcn.00434630
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
mov dword [eax + edx*4], ecx
push 0x210
call fcn.00438e58
add esp, 4
test eax, eax
je 0x40c62c
mov esi, eax
call fcn.00434a90
jmp 0x40c62e
xor eax, eax
mov dword [ebx + 0x1a8], eax
lea eax, [esp + 0x14]
push eax
push 0x83
call fcn.004098a0
cmp dword [esp + 0x14], 0
mov esi, dword [ebx + 0x1a8]
je 0x40c6c0
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x40c66c
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0xa4], 0
mov eax, dword [esi + 0xf4]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xa4], ecx
test eax, eax
je 0x40c6c0
mov edx, dword [esi + 0xc8]
mov ecx, dword [esi + 0xcc]
mov dword [esp + 0x74], edx
mov edx, dword [esi + 0xd0]
mov dword [esp + 0x78], ecx
mov ecx, dword [esi + 0xd4]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x40c6c0
push 1
lea edx, [esp + 0x78]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esi, dword [ebx + 0x1a8]
mov dword [esp + 0x2c], esi
test esi, esi
je 0x40c724
mov eax, dword [esi + 0xa8]
mov edi, dword [esp + 0x18]
mov dword [esi + 0xf4], edi
mov dword [esp + 0x30], eax
test eax, eax
je 0x40c6f5
lea eax, [esp + 0x30]
push eax
lea eax, [edi + 0x50]
call fcn.00434210
mov dword [eax], esi
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x20]
mov dword [esp + 0x30], eax
test eax, eax
jge 0x40c708
call fcn.0043ae1e
mov edi, eax
inc edi
call fcn.00434630
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
mov dword [ecx + eax*4], edx
push 0x214
call fcn.00438e58
mov esi, eax
add esp, 4
test esi, esi
je 0x40c750
call fcn.00434a90
mov dword [esi], vtable.CUIButton.0
mov dword [esi + 0x210], 0
mov eax, esi
jmp 0x40c752
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x1ac], eax
lea edx, [esp + 0x14]
mov dword [eax + 0xb4], ecx
mov eax, dword [ebx + 0x1ac]
push edx
push 0x8a
mov dword [eax + 0xa8], 0x3ec
call fcn.004098a0
cmp dword [esp + 0x14], 0
mov esi, dword [ebx + 0x1ac]
je 0x40c7fe
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x40c7aa
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0xa4], 0
mov eax, dword [esp + 0x14]
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x40c7fe
mov ecx, dword [esi + 0xc8]
mov edx, dword [esi + 0xcc]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0xd0]
mov dword [esp + 0x78], edx
mov edx, dword [esi + 0xd4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x40c7fe
push 1
lea ecx, [esp + 0x78]
push ecx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
mov edx, 0x82
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x1ac]
mov dword [esp + 0x7c], edx
lea edx, [esp + 0x74]
push edx
add eax, 0x180
xor ecx, ecx
mov esi, 0x1b
push eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], esi
call edi
xor eax, eax
mov ecx, esi
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x1ac]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x74]
push ecx
add eax, 0x190
mov edx, 0x82
mov esi, 0x36
push eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], esi
call edi
mov esi, dword [ebx + 0x1ac]
mov dword [esp + 0x2c], esi
test esi, esi
je 0x40c8d0
mov eax, dword [esi + 0xa8]
mov edi, dword [esp + 0x18]
mov dword [esi + 0xf4], edi
mov dword [esp + 0x30], eax
test eax, eax
je 0x40c8a1
lea edx, [esp + 0x30]
push edx
lea eax, [edi + 0x50]
call fcn.00434210
mov dword [eax], esi
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x20]
mov dword [esp + 0x30], eax
test eax, eax
jge 0x40c8b4
call fcn.0043ae1e
mov edi, eax
inc edi
call fcn.00434630
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
mov dword [eax + edx*4], ecx
push 0x214
call fcn.00438e58
mov esi, eax
add esp, 4
test esi, esi
je 0x40c8fc
call fcn.00434a90
mov dword [esi], vtable.CUIButton.0
mov dword [esi + 0x210], 0
mov eax, esi
jmp 0x40c8fe
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x1b0], eax
lea edx, [esp + 0x14]
mov dword [eax + 0xb4], ecx
mov eax, dword [ebx + 0x1b0]
push edx
push 0x8b
mov dword [eax + 0xa8], 0x3f7
call fcn.004098a0
cmp dword [esp + 0x14], 0
mov esi, dword [ebx + 0x1b0]
je 0x40c9aa
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x40c956
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0xa4], 0
mov eax, dword [esp + 0x14]
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x40c9aa
mov ecx, dword [esi + 0xc8]
mov edx, dword [esi + 0xcc]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0xd0]
mov dword [esp + 0x78], edx
mov edx, dword [esi + 0xd4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x40c9aa
push 1
lea ecx, [esp + 0x78]
push ecx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
mov edx, 0x4b
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x1b0]
mov dword [esp + 0x7c], edx
lea edx, [esp + 0x74]
push edx
add eax, 0x180
xor ecx, ecx
mov esi, 0x1b
push eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], esi
call edi
xor eax, eax
mov ecx, esi
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x1b0]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x74]
push ecx
add eax, 0x190
mov edx, 0x4b
mov esi, 0x36
push eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], esi
call edi
mov esi, dword [ebx + 0x1b0]
mov dword [esp + 0x2c], esi
test esi, esi
je 0x40ca7c
mov eax, dword [esi + 0xa8]
mov edi, dword [esp + 0x18]
mov dword [esi + 0xf4], edi
mov dword [esp + 0x30], eax
test eax, eax
je 0x40ca4d
lea edx, [esp + 0x30]
push edx
lea eax, [edi + 0x50]
call fcn.00434210
mov dword [eax], esi
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x20]
mov dword [esp + 0x30], eax
test eax, eax
jge 0x40ca60
call fcn.0043ae1e
mov edi, eax
inc edi
call fcn.00434630
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
mov dword [eax + edx*4], ecx
push 0x214
call fcn.00438e58
mov esi, eax
add esp, 4
test esi, esi
je 0x40caa8
call fcn.00434a90
mov dword [esi], vtable.CUIButton.0
mov dword [esi + 0x210], 0
mov eax, esi
jmp 0x40caaa
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x1b4], eax
lea edx, [esp + 0x14]
mov dword [eax + 0xb4], ecx
mov eax, dword [ebx + 0x1b4]
push edx
push 0x92
mov dword [eax + 0xa8], 0x3ef
call fcn.004098a0
cmp dword [esp + 0x14], 0
mov esi, dword [ebx + 0x1b4]
je 0x40cb56
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x40cb02
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0xa4], 0
mov eax, dword [esp + 0x14]
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x40cb56
mov ecx, dword [esi + 0xc8]
mov edx, dword [esi + 0xcc]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0xd0]
mov dword [esp + 0x78], edx
mov edx, dword [esi + 0xd4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x40cb56
push 1
lea ecx, [esp + 0x78]
push ecx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
mov edx, 0x78
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x1b4]
mov dword [esp + 0x7c], edx
lea edx, [esp + 0x74]
push edx
add eax, 0x180
xor ecx, ecx
mov esi, 0x1e
push eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], esi
call edi
xor eax, eax
mov ecx, esi
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x1b4]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x74]
push ecx
add eax, 0x1b0
mov edx, 0x78
mov esi, 0x3c
push eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], esi
call edi
mov eax, dword [ebx + 0x1b4]
push 0x4953f4
lea ecx, [esp + 0x30]
mov dword [eax + 0x210], 1
call fcn.00401870
mov byte [esp + 0xa0], 1
mov ecx, dword [esp + 0x2c]
mov esi, dword [ebx + 0x1b4]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x40cc09
push 0x80004005
call fcn.004010b0
mov eax, dword [esi + 0x16c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40cc36
test dx, dx
je 0x40cc32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40cc36
add eax, 4
add ecx, 4
test dx, dx
jne 0x40cc10
xor eax, eax
jmp 0x40cc3b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x40cc9e
lea edx, [esp + 0x2c]
push edx
lea ecx, [esi + 0x16c]
call fcn.00401c20
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x40cc9e
mov ecx, dword [esi + 0xc8]
mov edx, dword [esi + 0xcc]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0xd0]
mov dword [esp + 0x78], edx
mov edx, dword [esi + 0xd4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x40cc9e
push 1
lea ecx, [esp + 0x78]
push ecx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [esp + 0xa0], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ccc6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x1b4]
mov ecx, 0xff595959
cmp dword [eax + 0xf8], ecx
je 0x40cd29
mov dword [eax + 0xf8], ecx
mov ecx, dword [eax + 0xf4]
test ecx, ecx
je 0x40cd29
mov edx, dword [eax + 0xc8]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0xcc]
mov dword [esp + 0x78], edx
mov edx, dword [eax + 0xd0]
mov eax, dword [eax + 0xd4]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov ecx, dword [ecx + 0x6c]
test ecx, ecx
je 0x40cd29
push 1
lea edx, [esp + 0x78]
push edx
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebx + 0x1b4]
mov dword [eax + 0x100], 0xffffffff
mov eax, dword [ebx + 0x1b4]
xor ecx, ecx
mov dword [eax + 0x10c], ecx
mov edx, 5
mov dword [eax + 0x110], edx
xor esi, esi
mov dword [eax + 0x114], esi
push 0x7f89
mov dword [eax + 0x118], ecx
mov esi, dword [ebx + 0x1b4]
push ecx
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esi + 0x78], eax
mov eax, dword [ebx + 0x1b4]
mov dword [eax + 0x74], 1
mov esi, dword [ebx + 0x1b4]
mov dword [esp + 0x2c], esi
test esi, esi
je 0x40cde6
mov eax, dword [esi + 0xa8]
mov edi, dword [esp + 0x18]
mov dword [esi + 0xf4], edi
mov dword [esp + 0x30], eax
test eax, eax
je 0x40cdb7
lea eax, [esp + 0x30]
push eax
lea eax, [edi + 0x50]
call fcn.00434210
mov dword [eax], esi
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x20]
mov dword [esp + 0x30], eax
test eax, eax
jge 0x40cdca
call fcn.0043ae1e
mov edi, eax
inc edi
call fcn.00434630
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
mov dword [ecx + eax*4], edx
push 0x214
call fcn.00438e58
mov esi, eax
add esp, 4
test esi, esi
je 0x40ce12
call fcn.00434a90
mov dword [esi], vtable.CUIButton.0
mov dword [esi + 0x210], 0
mov eax, esi
jmp 0x40ce14
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x1b8], eax
lea edx, [esp + 0x14]
mov dword [eax + 0xb4], ecx
mov eax, dword [ebx + 0x1b8]
push edx
push 0x92
mov dword [eax + 0xa8], 0x3f0
call fcn.004098a0
cmp dword [esp + 0x14], 0
mov esi, dword [ebx + 0x1b8]
je 0x40cec0
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x40ce6c
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0xa4], 0
mov eax, dword [esp + 0x14]
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x40cec0
mov ecx, dword [esi + 0xc8]
mov edx, dword [esi + 0xcc]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0xd0]
mov dword [esp + 0x78], edx
mov edx, dword [esi + 0xd4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x40cec0
push 1
lea ecx, [esp + 0x78]
push ecx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
mov edx, 0x78
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x1b8]
mov dword [esp + 0x7c], edx
lea edx, [esp + 0x74]
push edx
add eax, 0x180
xor ecx, ecx
mov esi, 0x1e
push eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], esi
call edi
xor eax, eax
mov ecx, esi
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x1b8]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x74]
push ecx
add eax, 0x1b0
mov edx, 0x78
mov esi, 0x3c
push eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], esi
call edi
mov eax, dword [ebx + 0x1b8]
push 0x495404
lea ecx, [esp + 0x30]
mov dword [eax + 0x210], 1
call fcn.00401870
mov byte [esp + 0xa0], 2
mov ecx, dword [esp + 0x2c]
mov esi, dword [ebx + 0x1b8]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x40cf73
push 0x80004005
call fcn.004010b0
mov eax, dword [esi + 0x16c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40cfa6
test dx, dx
je 0x40cfa2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40cfa6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40cf80
xor eax, eax
jmp 0x40cfab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x40d00e
lea edx, [esp + 0x2c]
push edx
lea ecx, [esi + 0x16c]
call fcn.00401c20
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x40d00e
mov ecx, dword [esi + 0xc8]
mov edx, dword [esi + 0xcc]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0xd0]
mov dword [esp + 0x78], edx
mov edx, dword [esi + 0xd4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x40d00e
push 1
lea ecx, [esp + 0x78]
push ecx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [esp + 0xa0], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d036
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x1b8]
mov ecx, 0xff595959
cmp dword [eax + 0xf8], ecx
je 0x40d099
mov dword [eax + 0xf8], ecx
mov ecx, dword [eax + 0xf4]
test ecx, ecx
je 0x40d099
mov edx, dword [eax + 0xc8]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0xcc]
mov dword [esp + 0x78], edx
mov edx, dword [eax + 0xd0]
mov eax, dword [eax + 0xd4]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov ecx, dword [ecx + 0x6c]
test ecx, ecx
je 0x40d099
push 1
lea edx, [esp + 0x78]
push edx
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebx + 0x1b8]
mov dword [eax + 0x100], 0xffffffff
mov eax, dword [ebx + 0x1b8]
xor ecx, ecx
mov dword [eax + 0x10c], ecx
mov edx, 5
mov dword [eax + 0x110], edx
xor esi, esi
mov dword [eax + 0x114], esi
push 0x7f89
mov dword [eax + 0x118], ecx
mov esi, dword [ebx + 0x1b8]
push ecx
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esi + 0x78], eax
mov eax, dword [ebx + 0x1b8]
mov dword [eax + 0x74], 1
mov esi, dword [ebx + 0x1b8]
mov dword [esp + 0x2c], esi
test esi, esi
je 0x40d156
mov eax, dword [esi + 0xa8]
mov edi, dword [esp + 0x18]
mov dword [esi + 0xf4], edi
mov dword [esp + 0x30], eax
test eax, eax
je 0x40d127
lea eax, [esp + 0x30]
push eax
lea eax, [edi + 0x50]
call fcn.00434210
mov dword [eax], esi
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x20]
mov dword [esp + 0x30], eax
test eax, eax
jge 0x40d13a
call fcn.0043ae1e
mov edi, eax
inc edi
call fcn.00434630
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
mov dword [ecx + eax*4], edx
push 0x214
call fcn.00438e58
mov esi, eax
add esp, 4
test esi, esi
je 0x40d182
call fcn.00434a90
mov dword [esi], vtable.CUIButton.0
mov dword [esi + 0x210], 0
mov eax, esi
jmp 0x40d184
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x1bc], eax
lea edx, [esp + 0x14]
mov dword [eax + 0xb4], ecx
mov eax, dword [ebx + 0x1bc]
push edx
push 0x92
mov dword [eax + 0xa8], 0x3f1
call fcn.004098a0
cmp dword [esp + 0x14], 0
mov esi, dword [ebx + 0x1bc]
je 0x40d230
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x40d1dc
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0xa4], 0
mov eax, dword [esp + 0x14]
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x40d230
mov ecx, dword [esi + 0xc8]
mov edx, dword [esi + 0xcc]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0xd0]
mov dword [esp + 0x78], edx
mov edx, dword [esi + 0xd4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x40d230
push 1
lea ecx, [esp + 0x78]
push ecx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
mov edx, 0x78
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x1bc]
mov dword [esp + 0x7c], edx
lea edx, [esp + 0x74]
push edx
add eax, 0x180
xor ecx, ecx
mov esi, 0x1e
push eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], esi
call edi
xor eax, eax
mov ecx, esi
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x1bc]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x74]
push ecx
add eax, 0x1b0
mov edx, 0x78
mov esi, 0x3c
push eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], esi
call edi
mov eax, dword [ebx + 0x1bc]
push 0x495410
lea ecx, [esp + 0x30]
mov dword [eax + 0x210], 1
call fcn.00401870
mov byte [esp + 0xa0], 3
mov ecx, dword [esp + 0x2c]
mov esi, dword [ebx + 0x1bc]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x40d2e3
push 0x80004005
call fcn.004010b0
mov eax, dword [esi + 0x16c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40d316
test dx, dx
je 0x40d312
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40d316
add eax, 4
add ecx, 4
test dx, dx
jne 0x40d2f0
xor eax, eax
jmp 0x40d31b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x40d37e
lea edx, [esp + 0x2c]
push edx
lea ecx, [esi + 0x16c]
call fcn.00401c20
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x40d37e
mov ecx, dword [esi + 0xc8]
mov edx, dword [esi + 0xcc]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0xd0]
mov dword [esp + 0x78], edx
mov edx, dword [esi + 0xd4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x40d37e
push 1
lea ecx, [esp + 0x78]
push ecx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [esp + 0xa0], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d3a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x1bc]
mov ecx, 0xff595959
cmp dword [eax + 0xf8], ecx
je 0x40d409
mov dword [eax + 0xf8], ecx
mov ecx, dword [eax + 0xf4]
test ecx, ecx
je 0x40d409
mov edx, dword [eax + 0xc8]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0xcc]
mov dword [esp + 0x78], edx
mov edx, dword [eax + 0xd0]
mov eax, dword [eax + 0xd4]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov ecx, dword [ecx + 0x6c]
test ecx, ecx
je 0x40d409
push 1
lea edx, [esp + 0x78]
push edx
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebx + 0x1bc]
mov dword [eax + 0x100], 0xffffffff
mov eax, dword [ebx + 0x1bc]
xor ecx, ecx
mov dword [eax + 0x10c], ecx
mov edx, 5
mov dword [eax + 0x110], edx
xor esi, esi
mov dword [eax + 0x114], esi
push 0x7f89
mov dword [eax + 0x118], ecx
mov esi, dword [ebx + 0x1bc]
push ecx
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esi + 0x78], eax
mov eax, dword [ebx + 0x1bc]
mov dword [eax + 0x74], 1
mov esi, dword [ebx + 0x1bc]
mov dword [esp + 0x2c], esi
test esi, esi
je 0x40d4c6
mov eax, dword [esi + 0xa8]
mov edi, dword [esp + 0x18]
mov dword [esi + 0xf4], edi
mov dword [esp + 0x30], eax
test eax, eax
je 0x40d497
lea eax, [esp + 0x30]
push eax
lea eax, [edi + 0x50]
call fcn.00434210
mov dword [eax], esi
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x20]
mov dword [esp + 0x30], eax
test eax, eax
jge 0x40d4aa
call fcn.0043ae1e
mov edi, eax
inc edi
call fcn.00434630
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
mov dword [ecx + eax*4], edx
push 0x214
call fcn.00438e58
mov esi, eax
add esp, 4
test esi, esi
je 0x40d4f2
call fcn.00434a90
mov dword [esi], vtable.CUIButton.0
mov dword [esi + 0x210], 0
mov eax, esi
jmp 0x40d4f4
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x1c0], eax
lea edx, [esp + 0x14]
mov dword [eax + 0xb4], ecx
mov eax, dword [ebx + 0x1c0]
push edx
push 0x92
mov dword [eax + 0xa8], 0x3f2
call fcn.004098a0
cmp dword [esp + 0x14], 0
mov esi, dword [ebx + 0x1c0]
je 0x40d5a0
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x40d54c
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0xa4], 0
mov eax, dword [esp + 0x14]
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x40d5a0
mov ecx, dword [esi + 0xc8]
mov edx, dword [esi + 0xcc]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0xd0]
mov dword [esp + 0x78], edx
mov edx, dword [esi + 0xd4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x40d5a0
push 1
lea ecx, [esp + 0x78]
push ecx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
mov edx, 0x78
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x1c0]
mov dword [esp + 0x7c], edx
lea edx, [esp + 0x74]
push edx
add eax, 0x180
xor ecx, ecx
mov esi, 0x1e
push eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], esi
call edi
xor eax, eax
mov ecx, esi
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x1c0]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x74]
push ecx
add eax, 0x1b0
mov edx, 0x78
mov esi, 0x3c
push eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], esi
call edi
mov eax, dword [ebx + 0x1c0]
push 0x49541c
lea ecx, [esp + 0x30]
mov dword [eax + 0x210], 1
call fcn.00401870
mov byte [esp + 0xa0], 4
mov ecx, dword [esp + 0x2c]
mov esi, dword [ebx + 0x1c0]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x40d653
push 0x80004005
call fcn.004010b0
mov eax, dword [esi + 0x16c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40d686
test dx, dx
je 0x40d682
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40d686
add eax, 4
add ecx, 4
test dx, dx
jne 0x40d660
xor eax, eax
jmp 0x40d68b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x40d6ee
lea edx, [esp + 0x2c]
push edx
lea ecx, [esi + 0x16c]
call fcn.00401c20
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x40d6ee
mov ecx, dword [esi + 0xc8]
mov edx, dword [esi + 0xcc]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0xd0]
mov dword [esp + 0x78], edx
mov edx, dword [esi + 0xd4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x40d6ee
push 1
lea ecx, [esp + 0x78]
push ecx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [esp + 0xa0], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d716
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x1c0]
mov ecx, 0xff595959
cmp dword [eax + 0xf8], ecx
je 0x40d779
mov dword [eax + 0xf8], ecx
mov ecx, dword [eax + 0xf4]
test ecx, ecx
je 0x40d779
mov edx, dword [eax + 0xc8]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0xcc]
mov dword [esp + 0x78], edx
mov edx, dword [eax + 0xd0]
mov eax, dword [eax + 0xd4]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov ecx, dword [ecx + 0x6c]
test ecx, ecx
je 0x40d779
push 1
lea edx, [esp + 0x78]
push edx
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebx + 0x1c0]
mov dword [eax + 0x100], 0xffffffff
mov eax, dword [ebx + 0x1c0]
xor ecx, ecx
mov dword [eax + 0x10c], ecx
mov edx, 5
mov dword [eax + 0x110], edx
xor esi, esi
mov dword [eax + 0x114], esi
push 0x7f89
mov dword [eax + 0x118], ecx
mov esi, dword [ebx + 0x1c0]
push ecx
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esi + 0x78], eax
mov eax, dword [ebx + 0x1c0]
mov dword [eax + 0x74], 1
mov esi, dword [ebx + 0x1c0]
mov dword [esp + 0x2c], esi
test esi, esi
je 0x40d836
mov eax, dword [esi + 0xa8]
mov edi, dword [esp + 0x18]
mov dword [esi + 0xf4], edi
mov dword [esp + 0x30], eax
test eax, eax
je 0x40d807
lea eax, [esp + 0x30]
push eax
lea eax, [edi + 0x50]
call fcn.00434210
mov dword [eax], esi
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x20]
mov dword [esp + 0x30], eax
test eax, eax
jge 0x40d81a
call fcn.0043ae1e
mov edi, eax
inc edi
call fcn.00434630
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
mov dword [ecx + eax*4], edx
push 0x214
call fcn.00438e58
mov esi, eax
add esp, 4
test esi, esi
je 0x40d862
call fcn.00434a90
mov dword [esi], vtable.CUIButton.0
mov dword [esi + 0x210], 0
mov eax, esi
jmp 0x40d864
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x1c4], eax
lea edx, [esp + 0x14]
mov dword [eax + 0xb4], ecx
mov eax, dword [ebx + 0x1c4]
push edx
push 0x92
mov dword [eax + 0xa8], 0x3f3
call fcn.004098a0
cmp dword [esp + 0x14], 0
mov esi, dword [ebx + 0x1c4]
je 0x40d910
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x40d8bc
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0xa4], 0
mov eax, dword [esp + 0x14]
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x40d910
mov ecx, dword [esi + 0xc8]
mov edx, dword [esi + 0xcc]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0xd0]
mov dword [esp + 0x78], edx
mov edx, dword [esi + 0xd4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x40d910
push 1
lea ecx, [esp + 0x78]
push ecx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
mov edx, 0x78
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x1c4]
mov dword [esp + 0x7c], edx
lea edx, [esp + 0x74]
push edx
add eax, 0x180
xor ecx, ecx
mov esi, 0x1e
push eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], esi
call edi
xor eax, eax
mov ecx, esi
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x1c4]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x74]
push ecx
add eax, 0x1b0
mov edx, 0x78
mov esi, 0x3c
push eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], esi
call edi
mov eax, dword [ebx + 0x1c4]
push 0x495428
lea ecx, [esp + 0x30]
mov dword [eax + 0x210], 1
call fcn.00401870
mov byte [esp + 0xa0], 5
mov ecx, dword [esp + 0x2c]
mov esi, dword [ebx + 0x1c4]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x40d9c3
push 0x80004005
call fcn.004010b0
mov eax, dword [esi + 0x16c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40d9f6
test dx, dx
je 0x40d9f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40d9f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40d9d0
xor eax, eax
jmp 0x40d9fb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x40da5e
lea edx, [esp + 0x2c]
push edx
lea ecx, [esi + 0x16c]
call fcn.00401c20
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x40da5e
mov ecx, dword [esi + 0xc8]
mov edx, dword [esi + 0xcc]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0xd0]
mov dword [esp + 0x78], edx
mov edx, dword [esi + 0xd4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x40da5e
push 1
lea ecx, [esp + 0x78]
push ecx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [esp + 0xa0], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40da86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x1c4]
mov ecx, 0xff595959
cmp dword [eax + 0xf8], ecx
je 0x40dae9
mov dword [eax + 0xf8], ecx
mov ecx, dword [eax + 0xf4]
test ecx, ecx
je 0x40dae9
mov edx, dword [eax + 0xc8]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0xcc]
mov dword [esp + 0x78], edx
mov edx, dword [eax + 0xd0]
mov eax, dword [eax + 0xd4]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov ecx, dword [ecx + 0x6c]
test ecx, ecx
je 0x40dae9
push 1
lea edx, [esp + 0x78]
push edx
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebx + 0x1c4]
mov dword [eax + 0x100], 0xffffffff
mov eax, dword [ebx + 0x1c4]
xor ecx, ecx
mov dword [eax + 0x10c], ecx
mov edx, 5
mov dword [eax + 0x110], edx
xor esi, esi
mov dword [eax + 0x114], esi
push 0x7f89
mov dword [eax + 0x118], ecx
mov esi, dword [ebx + 0x1c4]
push ecx
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esi + 0x78], eax
mov eax, dword [ebx + 0x1c4]
mov dword [eax + 0x74], 1
mov esi, dword [ebx + 0x1c4]
mov dword [esp + 0x2c], esi
test esi, esi
je 0x40dba6
mov eax, dword [esi + 0xa8]
mov edi, dword [esp + 0x18]
mov dword [esi + 0xf4], edi
mov dword [esp + 0x30], eax
test eax, eax
je 0x40db77
lea eax, [esp + 0x30]
push eax
lea eax, [edi + 0x50]
call fcn.00434210
mov dword [eax], esi
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x20]
mov dword [esp + 0x30], eax
test eax, eax
jge 0x40db8a
call fcn.0043ae1e
mov edi, eax
inc edi
call fcn.00434630
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
mov dword [ecx + eax*4], edx
push 0x214
call fcn.00438e58
mov esi, eax
add esp, 4
test esi, esi
je 0x40dbd2
call fcn.00434a90
mov dword [esi], vtable.CUIButton.0
mov dword [esi + 0x210], 0
mov eax, esi
jmp 0x40dbd4
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x1c8], eax
lea edx, [esp + 0x14]
mov dword [eax + 0xb4], ecx
mov eax, dword [ebx + 0x1c8]
push edx
push 0x92
mov dword [eax + 0xa8], 0x3f4
call fcn.004098a0
cmp dword [esp + 0x14], 0
mov esi, dword [ebx + 0x1c8]
je 0x40dc80
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x40dc2c
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0xa4], 0
mov eax, dword [esp + 0x14]
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x40dc80
mov ecx, dword [esi + 0xc8]
mov edx, dword [esi + 0xcc]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0xd0]
mov dword [esp + 0x78], edx
mov edx, dword [esi + 0xd4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x40dc80
push 1
lea ecx, [esp + 0x78]
push ecx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
mov edx, 0x78
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x1c8]
mov dword [esp + 0x7c], edx
lea edx, [esp + 0x74]
push edx
add eax, 0x180
xor ecx, ecx
mov esi, 0x1e
push eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], esi
call edi
xor eax, eax
mov ecx, esi
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x1c8]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x74]
push ecx
add eax, 0x1b0
mov edx, 0x78
mov esi, 0x3c
push eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], esi
call edi
push 0x495434
lea ecx, [esp + 0x30]
call fcn.00401870
mov byte [esp + 0xa0], 6
mov ecx, dword [esp + 0x2c]
mov esi, dword [ebx + 0x1c8]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x40dd23
push 0x80004005
call fcn.004010b0
mov eax, dword [esi + 0x16c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40dd56
test dx, dx
je 0x40dd52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40dd56
add eax, 4
add ecx, 4
test dx, dx
jne 0x40dd30
xor eax, eax
jmp 0x40dd5b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x40ddbe
lea edx, [esp + 0x2c]
push edx
lea ecx, [esi + 0x16c]
call fcn.00401c20
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x40ddbe
mov ecx, dword [esi + 0xc8]
mov edx, dword [esi + 0xcc]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0xd0]
mov dword [esp + 0x78], edx
mov edx, dword [esi + 0xd4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x40ddbe
push 1
lea ecx, [esp + 0x78]
push ecx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [esp + 0xa0], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40dde6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x1c8]
mov ecx, 0xffb45f5f
cmp dword [eax + 0xf8], ecx
je 0x40de49
mov dword [eax + 0xf8], ecx
mov ecx, dword [eax + 0xf4]
test ecx, ecx
je 0x40de49
mov edx, dword [eax + 0xc8]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0xcc]
mov dword [esp + 0x78], edx
mov edx, dword [eax + 0xd0]
mov eax, dword [eax + 0xd4]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov ecx, dword [ecx + 0x6c]
test ecx, ecx
je 0x40de49
push 1
lea edx, [esp + 0x78]
push edx
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebx + 0x1c8]
xor ecx, ecx
mov dword [eax + 0x10c], ecx
mov edx, 5
mov dword [eax + 0x110], edx
xor esi, esi
mov dword [eax + 0x114], esi
push 0x7f89
mov dword [eax + 0x118], ecx
mov esi, dword [ebx + 0x1c8]
push ecx
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esi + 0x78], eax
mov eax, dword [ebx + 0x1c8]
mov dword [eax + 0x74], 1
mov esi, dword [ebx + 0x1c8]
mov dword [esp + 0x2c], esi
test esi, esi
je 0x40def6
mov eax, dword [esi + 0xa8]
mov edi, dword [esp + 0x18]
mov dword [esi + 0xf4], edi
mov dword [esp + 0x30], eax
test eax, eax
je 0x40dec7
lea eax, [esp + 0x30]
push eax
lea eax, [edi + 0x50]
call fcn.00434210
mov dword [eax], esi
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x20]
mov dword [esp + 0x30], eax
test eax, eax
jge 0x40deda
call fcn.0043ae1e
mov edi, eax
inc edi
call fcn.00434630
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
mov dword [ecx + eax*4], edx
push 0x220
call fcn.00438e58
mov esi, eax
add esp, 4
test esi, esi
je 0x40df52
call fcn.00434a90
xor eax, eax
lea ecx, [esi + 0x190]
push ecx
mov dword [esi], vtable.CUIProgress.0
mov dword [esi + 0x210], 1
mov dword [esi + 0x214], 0x64
mov dword [esi + 0x218], eax
mov dword [esi + 0x21c], eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
lea edx, [esi + 0x180]
push edx
call dword [sym.imp.USER32.dll_SetRectEmpty]
jmp 0x40df54
xor esi, esi
lea eax, [esp + 0x14]
push eax
push 0x84
mov dword [ebx + 0x1cc], esi
call fcn.004098a0
cmp dword [esp + 0x14], 0
mov esi, dword [ebx + 0x1cc]
je 0x40dfe6
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x40df92
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0xa4], 0
mov eax, dword [esi + 0xf4]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xa4], ecx
test eax, eax
je 0x40dfe6
mov edx, dword [esi + 0xc8]
mov ecx, dword [esi + 0xcc]
mov dword [esp + 0x74], edx
mov edx, dword [esi + 0xd0]
mov dword [esp + 0x78], ecx
mov ecx, dword [esi + 0xd4]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x40dfe6
push 1
lea edx, [esp + 0x78]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
mov ecx, 0xa
mov edx, ecx
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x1cc]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x74]
push ecx
add eax, 0x180
mov esi, 0x14
push eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], esi
call edi
xor eax, eax
mov edx, 0xa
mov esi, edx
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x1cc]
mov dword [esp + 0x7c], edx
lea edx, [esp + 0x74]
push edx
add eax, 0x190
xor ecx, ecx
push eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], esi
call edi
mov eax, 2
xor ecx, ecx
mov edx, eax
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x1cc]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x74]
push ecx
add eax, 0xb8
xor esi, esi
push eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], esi
call edi
mov esi, dword [ebx + 0x1cc]
mov dword [esp + 0x2c], esi
test esi, esi
je 0x40e0e9
mov eax, dword [esi + 0xa8]
mov edi, dword [esp + 0x18]
mov dword [esi + 0xf4], edi
mov dword [esp + 0x30], eax
test eax, eax
je 0x40e0ba
lea edx, [esp + 0x30]
push edx
lea eax, [edi + 0x50]
call fcn.00434210
mov dword [eax], esi
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x20]
mov dword [esp + 0x30], eax
test eax, eax
jge 0x40e0cd
call fcn.0043ae1e
mov edi, eax
inc edi
call fcn.00434630
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
mov dword [eax + edx*4], ecx
push 0x210
call fcn.00438e58
add esp, 4
test eax, eax
je 0x40e109
mov esi, eax
call fcn.00434a90
mov esi, eax
mov dword [esp + 0x30], eax
jmp 0x40e10f
xor esi, esi
mov dword [esp + 0x30], esi
mov dword [ebx + 0x1d0], esi
test esi, esi
je 0x40e16f
mov eax, dword [esi + 0xa8]
mov edi, dword [esp + 0x18]
mov dword [esi + 0xf4], edi
mov dword [esp + 0x2c], eax
test eax, eax
je 0x40e140
lea eax, [esp + 0x2c]
push eax
lea eax, [edi + 0x50]
call fcn.00434210
mov dword [eax], esi
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x20]
mov dword [esp + 0x2c], eax
test eax, eax
jge 0x40e153
call fcn.0043ae1e
mov edi, eax
inc edi
call fcn.00434630
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
mov dword [ecx + eax*4], edx
push 0x210
call fcn.00438e58
add esp, 4
test eax, eax
je 0x40e189
mov esi, eax
call fcn.00434a90
jmp 0x40e18b
xor eax, eax
mov dword [ebx + 0x1d4], eax
mov dword [eax + 0x124], 0xffdcdcdc
mov eax, dword [ebx + 0x1d4]
mov dword [eax + 0x130], 1
mov eax, dword [ebx + 0x1d4]
mov dword [eax + 0x158], 0xffffffff
mov esi, dword [ebx + 0x1d4]
mov dword [esp + 0x2c], esi
test esi, esi
je 0x40e21f
mov eax, dword [esi + 0xa8]
mov edi, dword [esp + 0x18]
mov dword [esi + 0xf4], edi
mov dword [esp + 0x30], eax
test eax, eax
je 0x40e1f0
lea ecx, [esp + 0x30]
push ecx
lea eax, [edi + 0x50]
call fcn.00434210
mov dword [eax], esi
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x20]
mov dword [esp + 0x30], eax
test eax, eax
jge 0x40e203
call fcn.0043ae1e
mov edi, eax
inc edi
call fcn.00434630
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
mov dword [edx + ecx*4], eax
push 0x3e8
push ebx
xor eax, eax
lea edx, [esp + 0x8c]
push edx
push 0x40010084
lea ecx, [ebx + 0x1d8]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
call fcn.0044559a
push 0x214
call fcn.00438e58
mov esi, eax
add esp, 4
test esi, esi
je 0x40e285
call fcn.00434a90
mov dword [esi], vtable.CUIButton.0
mov dword [esi + 0x210], 0
jmp 0x40e287
xor esi, esi
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x22c], esi
lea ecx, [esp + 0x14]
mov dword [esi + 0xb4], eax
mov eax, dword [ebx + 0x22c]
push ecx
push 0x86
mov dword [eax + 0xa8], 0x3ed
call fcn.004098a0
cmp dword [esp + 0x14], 0
mov esi, dword [ebx + 0x22c]
je 0x40e333
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x40e2df
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0xa4], 0
mov eax, dword [esi + 0xf4]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xa4], ecx
test eax, eax
je 0x40e333
mov edx, dword [esi + 0xc8]
mov ecx, dword [esi + 0xcc]
mov dword [esp + 0x74], edx
mov edx, dword [esi + 0xd0]
mov dword [esp + 0x78], ecx
mov ecx, dword [esi + 0xd4]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x40e333
push 1
lea edx, [esp + 0x78]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x22c]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x74]
push ecx
add eax, 0x180
mov edx, 0x3d
mov esi, 0x1b
push eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], esi
call edi
xor eax, eax
mov edx, 0x3d
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x22c]
mov dword [esp + 0x7c], edx
lea edx, [esp + 0x74]
mov ecx, esi
push edx
add eax, 0x190
mov esi, 0x36
push eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], esi
call edi
mov ebx, dword [ebx + 0x22c]
mov eax, dword [esp + 0x18]
call fcn.004337a0
push 0x210
call fcn.00438e58
add esp, 4
test eax, eax
je 0x40e3ca
mov esi, eax
call fcn.00434a90
jmp 0x40e3cc
xor eax, eax
mov edi, dword [ebp + 8]
mov dword [edi + 0x230], eax
lea eax, [esp + 0x14]
push eax
push 0x88
call fcn.004098a0
mov ebx, dword [esp + 0x14]
mov esi, dword [edi + 0x230]
test ebx, ebx
je 0x40e41b
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x40e40e
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0xa4], 0
mov eax, esi
mov dword [esi + 0xa4], ebx
call fcn.00434f30
mov ebx, dword [edi + 0x230]
mov eax, dword [esp + 0x18]
call fcn.004337a0
push 0x214
call fcn.00438e58
mov esi, eax
add esp, 4
test esi, esi
je 0x40e454
call fcn.00434a90
mov dword [esi], vtable.CUIButton.0
mov dword [esi + 0x210], 0
jmp 0x40e456
xor esi, esi
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x234], esi
lea edx, [esp + 0x14]
mov dword [esi + 0xb4], ecx
mov eax, dword [edi + 0x234]
push edx
push 0x87
mov dword [eax + 0xa8], 0x3ed
call fcn.004098a0
mov ebx, dword [esp + 0x14]
mov esi, dword [edi + 0x234]
test ebx, ebx
je 0x40e4bc
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x40e4af
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0xa4], 0
mov eax, esi
mov dword [esi + 0xa4], ebx
call fcn.00434f30
mov ebx, dword [sym.imp.USER32.dll_CopyRect]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x234]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x74]
push ecx
add eax, 0x180
mov edx, 0xcb
mov esi, 0x34
push eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], esi
call ebx
xor eax, eax
mov edx, 0xcb
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x234]
mov dword [esp + 0x7c], edx
lea edx, [esp + 0x74]
mov ecx, esi
push edx
add eax, 0x190
mov esi, 0x68
push eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], esi
call ebx
mov ebx, dword [edi + 0x234]
mov eax, dword [esp + 0x18]
call fcn.004337a0
push 0x214
call fcn.00438e58
mov esi, eax
add esp, 4
test esi, esi
je 0x40e569
call fcn.00434a90
mov dword [esi], vtable.CUIButton.0
mov dword [esi + 0x210], 0
jmp 0x40e56b
xor esi, esi
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x184], esi
lea ecx, [esp + 0x14]
mov dword [esi + 0xb4], eax
mov eax, dword [edi + 0x184]
push ecx
push 0x82
mov dword [eax + 0xa8], 0x3e9
call fcn.004098a0
mov ebx, dword [esp + 0x14]
mov esi, dword [edi + 0x184]
test ebx, ebx
je 0x40e5d1
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x40e5c4
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0xa4], 0
mov eax, esi
mov dword [esi + 0xa4], ebx
call fcn.00434f30
mov ebx, dword [sym.imp.USER32.dll_CopyRect]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x184]
mov dword [esp + 0x78], ecx
mov edx, 0x1a
lea ecx, [esp + 0x74]
push ecx
add eax, 0x180
mov esi, edx
push eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], esi
call ebx
mov ecx, esi
xor eax, eax
mov edx, ecx
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x184]
mov dword [esp + 0x7c], edx
lea edx, [esp + 0x74]
push edx
add eax, 0x190
mov esi, 0x34
push eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], esi
call ebx
mov ebx, dword [edi + 0x184]
mov eax, dword [esp + 0x18]
call fcn.004337a0
mov dword [esp + 0xa0], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e679
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4