Function at 0x40b690
Capabilities:
Get file size
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x445b34
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x459668]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
mov eax, dword [0x459668]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x74], ebx
call fcn.0041a5c5
mov eax, dword [ebx + 0x20]
push 0
push eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.0041e64a
mov esi, eax
test esi, esi
je 0x40b796
call fcn.00419091
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40b711
push 0x80004005
call fcn.00402a70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x4c], edi
push 0x65
mov dword [esp + 0x184], 0
call fcn.00419463
test eax, eax
je 0x40b747
push 0x65
push eax
lea ecx, [esp + 0x54]
call fcn.00402e50
mov edi, dword [esp + 0x4c]
cmp dword [edi - 0xc], 0
je 0x40b76f
mov ecx, dword [esi + 4]
push 0
push 0
push 0x800
push ecx
call dword [sym.imp.USER32.dll_AppendMenuW]
mov edx, dword [esi + 4]
push edi
push 0x10
push 0
push edx
call dword [sym.imp.USER32.dll_AppendMenuW]
lea eax, [edi - 0x10]
mov dword [esp + 0x180], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b796
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x1ca4]
mov ecx, dword [ebx + 0x20]
push eax
push 1
push 0x80
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebx + 0x1c94], 0
je 0x40b878
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x9c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx + 0x1c94]
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
mov dword [esp + 0x50], ecx
call fcn.00406b40
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x54], edi
cmp esi, 0x320
mov dword [esp + 0x180], 1
mov ecx, esi
jge 0x40b80c
mov ecx, 0x320
mov eax, dword [esp + 0x4c]
cmp eax, 0x1f4
mov dword [esp + 0xa4], ecx
jge 0x40b823
mov eax, 0x1f4
mov edx, dword [esp + 0xa0]
push 1
mov dword [esp + 0xac], eax
sub eax, edx
push eax
mov eax, dword [esp + 0xa4]
sub ecx, eax
push ecx
push edx
push eax
mov ecx, ebx
call fcn.004172f3
push edi
mov ecx, ebx
call fcn.00417297
add edi, 0xfffffff0
mov dword [esp + 0x180], 0xffffffff
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40b878
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x9c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
xor esi, esi
test byte [0x45da90], 1
jne 0x40b8b9
or dword [0x45da90], 1
push 0x446d60
mov dword [0x45da8c], esi
mov dword [0x45da88], 0x449c04
call fcn.0042efe6
add esp, 4
mov eax, dword [ebx + 0x20]
push esi
push esi
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.0041688c
mov edx, dword [eax + 4]
lea ecx, [esp + 0xdc]
push ecx
push 0x5c
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [esp + 0xdc]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
mov ecx, 0x45da88
call fcn.0041689a
test byte [0x45da90], 2
mov edi, vtable.CBitmap.0
jne 0x40b928
or dword [0x45da90], 2
push 0x446d40
mov dword [0x45da84], esi
mov dword [0x45da80], edi
call fcn.0042efe6
add esp, 4
test byte [0x45da90], 4
jne 0x40b951
or dword [0x45da90], 4
push 0x446d20
mov dword [0x45da7c], esi
mov dword [0x45da78], edi
call fcn.0042efe6
add esp, 4
test byte [0x45da90], 8
jne 0x40b97a
or dword [0x45da90], 8
push 0x446d00
mov dword [0x45da74], esi
mov dword [0x45da70], edi
call fcn.0042efe6
add esp, 4
test byte [0x45da90], 0x10
jne 0x40b9a3
or dword [0x45da90], 0x10
push 0x446ce0
mov dword [0x45da6c], esi
mov dword [0x45da68], edi
call fcn.0042efe6
add esp, 4
test byte [0x45da90], 0x20
jne 0x40b9cc
or dword [0x45da90], 0x20
push 0x446cc0
mov dword [0x45da64], esi
mov dword [0x45da60], edi
call fcn.0042efe6
add esp, 4
mov eax, 0x40
test byte [0x45da90], al
jne 0x40b9f8
or dword [0x45da90], eax
push 0x446ca0
mov dword [0x45da5c], esi
mov dword [0x45da58], edi
call fcn.0042efe6
add esp, 4
test byte [0x45da90], 0x80
jne 0x40ba24
or dword [0x45da90], 0x80
push 0x446c80
mov dword [0x45da54], esi
mov dword [0x45da50], edi
call fcn.0042efe6
add esp, 4
mov eax, 0x100
test dword [0x45da90], eax
jne 0x40ba50
or dword [0x45da90], eax
push 0x446c60
mov dword [0x45da4c], esi
mov dword [0x45da48], edi
call fcn.0042efe6
add esp, 4
mov eax, 0x200
test dword [0x45da90], eax
jne 0x40ba7c
or dword [0x45da90], eax
push 0x446c40
mov dword [0x45da44], esi
mov dword [0x45da40], edi
call fcn.0042efe6
add esp, 4
mov eax, 0x400
test dword [0x45da90], eax
jne 0x40baa8
or dword [0x45da90], eax
push 0x446c20
mov dword [0x45da3c], esi
mov dword [0x45da38], edi
call fcn.0042efe6
add esp, 4
mov eax, 0x800
test dword [0x45da90], eax
jne 0x40bad4
or dword [0x45da90], eax
push 0x446c00
mov dword [0x45da34], esi
mov dword [0x45da30], edi
call fcn.0042efe6
add esp, 4
mov eax, 0x1000
test dword [0x45da90], eax
jne 0x40bb00
or dword [0x45da90], eax
push 0x446be0
mov dword [0x45da2c], esi
mov dword [0x45da28], edi
call fcn.0042efe6
add esp, 4
mov eax, 0x2000
test dword [0x45da90], eax
jne 0x40bb2c
or dword [0x45da90], eax
push 0x446bc0
mov dword [0x45da04], esi
mov dword [0x45da00], edi
call fcn.0042efe6
add esp, 4
mov eax, 0x4000
test dword [0x45da90], eax
jne 0x40bb58
or dword [0x45da90], eax
push 0x446ba0
mov dword [0x45d9fc], esi
mov dword [0x45d9f8], edi
call fcn.0042efe6
add esp, 4
mov eax, 0x8000
test dword [0x45da90], eax
jne 0x40bb84
or dword [0x45da90], eax
push 0x446b80
mov dword [0x45d9f4], esi
mov dword [0x45d9f0], edi
call fcn.0042efe6
add esp, 4
call fcn.00418481
mov eax, dword [eax + 0xc]
mov esi, dword [sym.imp.USER32.dll_LoadBitmapW]
push 0xa6
push eax
call esi
push eax
mov ecx, 0x45da80
call fcn.0041689a
call fcn.00418481
mov eax, dword [eax + 0xc]
push 0xa7
push eax
call esi
push eax
mov ecx, 0x45da78
call fcn.0041689a
call fcn.00418481
mov eax, dword [eax + 0xc]
push 0xa8
push eax
call esi
push eax
mov ecx, 0x45da70
call fcn.0041689a
call fcn.00418481
mov eax, dword [eax + 0xc]
push 0xa9
push eax
call esi
push eax
mov ecx, 0x45da68
call fcn.0041689a
call fcn.00418481
mov eax, dword [eax + 0xc]
push 0xaa
push eax
call esi
push eax
mov ecx, 0x45da60
call fcn.0041689a
call fcn.00418481
mov eax, dword [eax + 0xc]
push 0xab
push eax
call esi
push eax
mov ecx, 0x45da58
call fcn.0041689a
call fcn.00418481
mov eax, dword [eax + 0xc]
push 0x94
push eax
call esi
push eax
mov ecx, 0x45da50
call fcn.0041689a
call fcn.00418481
mov eax, dword [eax + 0xc]
push 0x95
push eax
call esi
push eax
mov ecx, 0x45da48
call fcn.0041689a
call fcn.00418481
mov eax, dword [eax + 0xc]
push 0x96
push eax
call esi
push eax
mov ecx, 0x45da40
call fcn.0041689a
call fcn.00418481
mov eax, dword [eax + 0xc]
push 0x97
push eax
call esi
push eax
mov ecx, 0x45da38
call fcn.0041689a
call fcn.00418481
mov eax, dword [eax + 0xc]
push 0x98
push eax
call esi
push eax
mov ecx, 0x45da30
call fcn.0041689a
call fcn.00418481
mov eax, dword [eax + 0xc]
push 0x99
push eax
call esi
push eax
mov ecx, 0x45da28
call fcn.0041689a
call fcn.00418481
mov eax, dword [eax + 0xc]
push 0x9a
push eax
call esi
push eax
mov ecx, 0x45da00
call fcn.0041689a
call fcn.00418481
mov eax, dword [eax + 0xc]
push 0x9b
push eax
call esi
push eax
mov ecx, 0x45d9f8
call fcn.0041689a
call fcn.00418481
mov eax, dword [eax + 0xc]
push 0x9c
push eax
call esi
push eax
mov ecx, 0x45d9f0
call fcn.0041689a
push 0
push 0
push 0x21
push 0x20
lea ecx, [ebx + 0x1ca8]
push 0x20
call fcn.00419f41
mov eax, dword [ebx + 0x1cc0]
mov ecx, dword [ebx + 0x1cac]
push eax
push ecx
call fcn.00418481
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.00410670
push 0
push 0
push 0x21
push 0x10
lea ecx, [ebx + 0x1cb0]
push 0x10
call fcn.00419f41
mov eax, dword [ebx + 0x1cc0]
mov ecx, dword [ebx + 0x1cb4]
push eax
push ecx
call fcn.00418481
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00410670
mov eax, dword [ebx + 0x1c94]
cmp dword [eax + 0x18], 0
je 0x40c0ad
call fcn.00418481
call fcn.00418481
mov eax, dword [eax + 0xc]
push 0xb1
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov ecx, dword [ebx + 0x1cac]
push eax
push ecx
call fcn.00418481
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.00410530
mov edx, dword [ebx + 0x1c94]
mov eax, dword [edx + 0x18]
xor edi, edi
mov dword [esp + 0x5c], edi
mov eax, dword [eax]
mov ecx, 0x44dc14
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40be06
test dx, dx
je 0x40be02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40be06
add eax, 4
add ecx, 4
test dx, dx
jne 0x40bde0
xor eax, eax
jmp 0x40be0b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x40be88
mov eax, dword [ebx + 0x1c94]
mov ecx, dword [eax + 0x18]
mov esi, dword [ecx + edi + 4]
call fcn.00418481
mov eax, dword [eax + 0xc]
push 0x2010
push 0x20
push 0x20
push 1
push esi
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
test eax, eax
jne 0x40be59
call fcn.00418481
call fcn.00418481
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov ecx, dword [ebx + 0x1cac]
push eax
push ecx
call fcn.00418481
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00410530
mov eax, dword [ebx + 0x1c94]
mov eax, dword [eax + 0x18]
add dword [esp + 0x5c], 1
add edi, 0xc
add eax, edi
jmp 0x40bdd2
mov esi, dword [esp + 0x5c]
add esi, 1
xor ecx, ecx
mov eax, esi
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00410a6d
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
mov dword [esp + 0x180], 2
je 0x40bee5
push fcn.00419fee
push fcn.00419baf
push esi
lea edi, [eax + 4]
push 8
push edi
mov dword [eax], esi
call fcn.0042ed6c
mov ecx, edi
jmp 0x40bee7
xor ecx, ecx
push 0
push 0
push 0x21
push 0x20
mov dword [esp + 0x190], 0xffffffff
push 0x20
mov dword [ebx + 0x1cb8], ecx
call fcn.00419f41
mov eax, dword [ebx + 0x1cb8]
mov eax, dword [eax + 4]
push 0xffffff
push eax
call fcn.00418481
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.00410670
mov edx, dword [ebx + 0x1c94]
mov esi, dword [edx + 0x18]
xor edi, edi
call fcn.00406150
test al, al
je 0x40c0ad
mov dword [esp + 0x84], edi
mov eax, dword [ebx + 0x1cb8]
push 0
push 0
push 0x21
push 0x20
push 0x20
lea ecx, [eax + edi*8 + 8]
call fcn.00419f41
mov ecx, dword [ebx + 0x1cb8]
lea eax, [ecx + edi*8 + 8]
mov eax, dword [eax + 4]
push 0xffffff
push eax
call fcn.00418481
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00410670
mov eax, dword [ebx + 0x1c94]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x84]
cmp dword [ecx + edx + 8], 0
je 0x40c084
mov dword [esp + 0x5c], 0
jmp 0x40bfb0
mov eax, dword [ebx + 0x1c94]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x84]
mov eax, dword [ecx + edx + 8]
mov ecx, dword [esp + 0x5c]
lea esi, [eax + ecx]
mov eax, dword [esi]
mov ecx, 0x44dc14
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40bff8
test dx, dx
je 0x40bff4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40bff8
add eax, 4
add ecx, 4
test dx, dx
jne 0x40bfd2
xor eax, eax
jmp 0x40bffd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x40c084
mov esi, dword [esi + 4]
call fcn.00418481
mov eax, dword [eax + 0xc]
push 0x2010
push 0x20
push 0x20
push 1
push esi
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
test esi, esi
jne 0x40c045
call fcn.00418481
call fcn.00418481
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, eax
mov edx, dword [ebx + 0x1cb8]
mov eax, dword [edx + 4]
push esi
push eax
call fcn.00418481
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.00410530
mov ecx, dword [ebx + 0x1cb8]
mov eax, dword [ecx + edi*8 + 0xc]
push esi
push eax
call fcn.00418481
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00410530
add dword [esp + 0x5c], 0x18
jmp 0x40bfb0
mov ecx, dword [ebx + 0x1c94]
mov esi, dword [ecx + 0x18]
add edi, 1
lea eax, [edi + edi*2]
add eax, eax
add eax, eax
add esi, eax
mov dword [esp + 0x84], eax
call fcn.00406150
test al, al
jne 0x40bf44
call fcn.00418481
call fcn.00418481
mov eax, dword [eax + 0xc]
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0xae
push eax
call esi
mov ecx, dword [ebx + 0x1cb4]
push eax
push ecx
call fcn.00418481
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00410530
call fcn.00418481
call fcn.00418481
mov eax, dword [eax + 0xc]
push 0xaf
push eax
call esi
mov ecx, dword [ebx + 0x1cb4]
push eax
push ecx
call fcn.00418481
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.00410530
push 0x3e8
push ebx
lea ecx, [esp + 0xa4]
push ecx
lea edi, [ebx + 0x74]
push 0x50014405
mov ecx, edi
mov dword [esp + 0x8c], edi
call fcn.0041996d
mov edx, dword [ebx + 0x94]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1037
push edx
call esi
or eax, 0x20
push eax
mov eax, dword [ebx + 0x94]
push 0
push 0x1036
push eax
call esi
lea eax, [ebx + 0x1ca8]
test eax, eax
je 0x40c168
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x94]
push eax
push 1
push 0x1003
push ecx
call esi
push eax
call fcn.00419e8f
mov edx, dword [0x45da8c]
mov eax, dword [ebx + 0x94]
push 0
push edx
push 0x30
push eax
call esi
push fcn.00403060
push fcn.00403080
push 5
push 4
lea ecx, [esp + 0x70]
push ecx
mov dword [edi + 0x210], 0
call fcn.0042ed6c
push 0x66
mov dword [esp + 0x184], 3
call fcn.00419463
test eax, eax
je 0x40c1d7
push 0x66
push eax
lea ecx, [esp + 0x68]
call fcn.00402e50
push 0x68
call fcn.00419463
test eax, eax
je 0x40c1ee
push 0x68
push eax
lea ecx, [esp + 0x6c]
call fcn.00402e50
push 0x69
call fcn.00419463
test eax, eax
je 0x40c205
push 0x69
push eax
lea ecx, [esp + 0x70]
call fcn.00402e50
push 0x6a
call fcn.00419463
test eax, eax
je 0x40c21c
push 0x6a
push eax
lea ecx, [esp + 0x74]
call fcn.00402e50
mov esi, dword [esp + 0x60]
push 1
push 0
push 0
lea ecx, [edi + 0x178]
call fcn.0042bb47
push 1
push 0
push 0
lea ecx, [edi + 0x1a8]
call fcn.0042bb47
push 0xffffffffffffffff
push 0xa0
push 2
push esi
push 0
mov ecx, edi
mov dword [edi + 0x1bc], 2
call fcn.00419b10
mov edx, dword [ebx + 0x1c94]
cmp dword [edx + 0x18], 0
je 0x40d802
push 1
push 0x44dc14
push 0
lea ecx, [edi + 0x9c]
call fcn.00419913
push 1
push 0
push 0
lea ecx, [edi + 0x18c]
call fcn.0042bb47
push 0
push 0
push 0
push 0
push 0x44dc14
push 0
push 1
mov ecx, edi
call fcn.00419b63
cmp dword [edi + 0x1b0], 0
jg 0x40c2ba
jmp fcn.00417047
mov eax, dword [edi + 0x1ac]
cmp dword [eax], 0
je 0x40c2d4
mov ecx, dword [esp + 0x7c]
xor edi, edi
call fcn.004035c0
mov edi, dword [esp + 0x7c]
mov eax, dword [ebx + 0x1c94]
mov eax, dword [eax + 0x18]
xor ecx, ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x58], ecx
lea esi, [ecx + 1]
mov eax, dword [eax]
mov dword [esp + 0x4c], ecx
mov ecx, 0x44dc14
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40c326
test dx, dx
je 0x40c322
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40c326
add eax, 4
add ecx, 4
test dx, dx
jne 0x40c300
xor eax, eax
jmp 0x40c32b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x40c3ba
push 1
push 0x44dc14
push esi
lea ecx, [edi + 0x9c]
call fcn.00419913
push 1
push 0
push esi
lea ecx, [edi + 0x18c]
call fcn.0042bb47
push 0
push esi
push 0
push 0
push 0x44dc14
push esi
push 3
mov ecx, edi
call fcn.00419b63
cmp dword [edi + 0x1b0], 0
jle 0x40c2b5
mov ecx, dword [edi + 0x1ac]
cmp dword [ecx], 0
je 0x40c398
mov ecx, dword [esp + 0x7c]
xor edi, edi
call fcn.004035c0
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ebx + 0x1c94]
mov eax, dword [edx + 0x18]
add dword [esp + 0x80], 1
add ecx, 0xc
add esi, 1
add eax, ecx
jmp 0x40c2f1
mov esi, dword [esp + 0x80]
add esi, 1
xor ecx, ecx
mov eax, esi
mov edx, 0x214
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00410a6d
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
mov byte [esp + 0x180], 4
je 0x40c41a
push fcn.00403340
push fcn.00403180
push esi
lea edi, [eax + 4]
push 0x214
push edi
mov dword [eax], esi
call fcn.0042ed6c
mov ecx, edi
jmp 0x40c41c
xor ecx, ecx
push 0x3f2
push ebx
lea edx, [esp + 0xa4]
push edx
mov byte [esp + 0x18c], 3
push 0x50014405
mov dword [ebx + 0x1c90], ecx
call fcn.0041996d
mov eax, dword [ebx + 0x1c90]
mov eax, dword [eax + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1037
push eax
call esi
mov ecx, dword [ebx + 0x1c90]
mov ecx, dword [ecx + 0x20]
or eax, 0x24
push eax
push 0
push 0x1036
push ecx
call esi
mov eax, dword [ebx + 0x1cb8]
test eax, eax
mov ecx, dword [ebx + 0x1c90]
je 0x40c487
mov eax, dword [eax + 4]
mov edx, dword [ecx + 0x20]
push eax
push 1
push 0x1003
push edx
call esi
push eax
call fcn.00419e8f
mov eax, dword [ebx + 0x1c90]
lea ecx, [ebx + 0x1cb0]
test ecx, ecx
je 0x40c4ae
mov ecx, dword [ecx + 4]
mov eax, dword [eax + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ecx
push 2
push 0x1003
push eax
call esi
push eax
call fcn.00419e8f
mov ecx, dword [0x45da8c]
mov eax, dword [ebx + 0x1c90]
mov edx, dword [eax + 0x20]
push 0
push ecx
push 0x30
push edx
call esi
mov esi, dword [ebx + 0x1c90]
mov edi, dword [esp + 0x64]
push 1
push 0
push 0
lea ecx, [esi + 0x178]
call fcn.0042bb47
push 1
push 0
push 0
lea ecx, [esi + 0x1a8]
call fcn.0042bb47
push 0xffffffffffffffff
push 0xc8
push 0
push edi
push 0
mov ecx, esi
mov dword [esi + 0x1bc], 0
call fcn.00419b10
mov esi, dword [ebx + 0x1c90]
mov edi, dword [esp + 0x68]
push 1
push 0
push 1
lea ecx, [esi + 0x178]
call fcn.0042bb47
push 1
push 0
push 1
lea ecx, [esi + 0x1a8]
call fcn.0042bb47
push 0xffffffffffffffff
push 0x64
push 2
push edi
push 1
mov ecx, esi
call fcn.00419b10
mov esi, dword [ebx + 0x1c90]
mov edi, dword [esp + 0x6c]
push 1
push 0
push 3
lea ecx, [esi + 0x178]
call fcn.0042bb47
push 1
push 1
push 3
lea ecx, [esi + 0x1a8]
call fcn.0042bb47
push 0xffffffffffffffff
push 0xb4
push 2
push edi
push 3
mov ecx, esi
call fcn.00419b10
mov esi, dword [ebx + 0x1c90]
push 1
push 0
push 4
lea ecx, [esi + 0x178]
call fcn.0042bb47
push 1
push 0
push 4
lea ecx, [esi + 0x1a8]
call fcn.0042bb47
push 0xffffffffffffffff
push 0x1e
push 2
push 0x44dc14
push 4
mov ecx, esi
call fcn.00419b10
mov eax, dword [ebx + 0x1c94]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x80], 0
push eax
lea ecx, [esp + 0x74]
call fcn.00406ac0
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x70]
mov ecx, 0x44dc14
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40c636
test dx, dx
je 0x40c632
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40c636
add eax, 4
add ecx, 4
test dx, dx
jne 0x40c610
xor eax, eax
jmp 0x40c63b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x40d675
mov edi, dword [esp + 0x80]
mov eax, dword [ebx + 0x1c90]
mov esi, edi
imul esi, esi, 0x214
lea ecx, [edi + 0x3f3]
push ecx
push ebx
lea edx, [esp + 0xa4]
push edx
push 0x40014405
lea ecx, [esi + eax + 0x214]
mov dword [esp + 0x6c], esi
call fcn.0041996d
mov ecx, dword [ebx + 0x1c90]
mov edx, dword [esi + ecx + 0x234]
push 0
push 0
lea eax, [esi + ecx + 0x214]
push 0x1037
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x1c90]
mov edx, dword [esi + ecx + 0x234]
or eax, 0x24
push eax
push 0
lea ecx, [esi + ecx + 0x214]
push 0x1036
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x1cb8]
mov ecx, dword [ebx + 0x1c90]
lea edi, [eax + edi*8 + 8]
test edi, edi
lea eax, [esi + ecx + 0x214]
je 0x40c6ea
mov edi, dword [edi + 4]
mov edx, dword [eax + 0x20]
push edi
push 1
push 0x1003
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.00419e8f
mov eax, dword [ebx + 0x1c90]
lea ecx, [ebx + 0x1cb0]
test ecx, ecx
lea eax, [esi + eax + 0x214]
je 0x40c71c
mov ecx, dword [ecx + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ecx
mov ecx, dword [eax + 0x20]
push 2
push 0x1003
push ecx
call edi
push eax
call fcn.00419e8f
mov edx, dword [ebx + 0x1c90]
mov ecx, dword [0x45da8c]
push 0
lea eax, [esi + edx + 0x214]
mov edx, dword [eax + 0x20]
push ecx
push 0x30
push edx
call edi
mov ecx, dword [ebx + 0x1c90]
mov eax, dword [esp + 0x64]
push 1
lea edi, [esi + ecx + 0x214]
push 0
push 0
lea ecx, [edi + 0x178]
mov dword [esp + 0x58], eax
call fcn.0042bb47
push 1
push 0
push 0
lea ecx, [edi + 0x1a8]
call fcn.0042bb47
mov edx, dword [esp + 0x4c]
push 0xffffffffffffffff
push 0xc8
push 0
push edx
push 0
mov ecx, edi
mov dword [edi + 0x1bc], 0
call fcn.00419b10
mov ecx, dword [ebx + 0x1c90]
mov eax, dword [esp + 0x68]
push 1
lea edi, [esi + ecx + 0x214]
push 0
push 1
lea ecx, [edi + 0x178]
mov dword [esp + 0x58], eax
call fcn.0042bb47
push 1
push 0
push 1
lea ecx, [edi + 0x1a8]
call fcn.0042bb47
mov edx, dword [esp + 0x4c]
push 0xffffffffffffffff
push 0x64
push 2
push edx
push 1
mov ecx, edi
call fcn.00419b10
mov ecx, dword [ebx + 0x1c90]
mov eax, dword [esp + 0x6c]
push 1
lea edi, [esi + ecx + 0x214]
push 0
push 3
lea ecx, [edi + 0x178]
mov dword [esp + 0x58], eax
call fcn.0042bb47
push 1
push 1
push 3
lea ecx, [edi + 0x1a8]
call fcn.0042bb47
mov edx, dword [esp + 0x4c]
push 0xffffffffffffffff
push 0xb4
push 2
push edx
push 3
mov ecx, edi
call fcn.00419b10
mov eax, dword [ebx + 0x1c90]
push 1
lea edi, [esi + eax + 0x214]
push 0
push 4
lea ecx, [edi + 0x178]
call fcn.0042bb47
push 1
push 0
push 4
lea ecx, [edi + 0x1a8]
call fcn.0042bb47
push 0xffffffffffffffff
push 0x1e
push 2
push 0x44dc14
push 4
mov ecx, edi
call fcn.00419b10
mov eax, dword [esp + 0x80]
mov ecx, dword [ebx + 0x1c94]
mov edx, dword [ecx + 0x18]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
cmp dword [edx + eax + 8], 0
mov dword [esp + 0x98], eax
je 0x40d1f3
mov ecx, dword [esp + 0x70]
mov esi, dword [ecx - 0xc]
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x40c8d7
push esi
lea ecx, [esp + 0x74]
call fcn.00402af0
mov ecx, dword [esp + 0x70]
mov esi, dword [ebx + 0x1c90]
mov edi, dword [esp + 0x58]
push 1
push 0x44dc14
mov dword [esp + 0x54], ecx
push edi
lea ecx, [esi + 0x9c]
call fcn.00419913
push 1
push 1
push edi
lea ecx, [esi + 0x18c]
call fcn.0042bb47
mov eax, dword [esp + 0x4c]
add dword [esi + 0x98], 1
push 0
push 0
push 0
push 0
push eax
push edi
push 1
mov ecx, esi
call fcn.00419b63
cmp dword [esi + 0x1b0], 0
jle 0x40c2b5
mov eax, dword [esi + 0x1ac]
cmp dword [eax], 0
je 0x40c94b
xor edi, edi
mov ecx, esi
call fcn.004035c0
mov edi, dword [esp + 0x58]
mov ecx, dword [ebx + 0x1c94]
mov edx, dword [ecx + 0x18]
mov eax, dword [esp + 0x98]
mov eax, dword [edx + eax + 8]
add edi, 1
xor esi, esi
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x7c], esi
call fcn.00406ac0
sub edi, dword [esp + 0x80]
mov dword [esp + 0x84], esi
sub edi, 1
mov dword [esp + 0x4c], edi
jmp 0x40c990
mov eax, dword [esp + 0x60]
mov ecx, 0x44dc14
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40c9c6
test dx, dx
je 0x40c9c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40c9c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40c9a0
xor eax, eax
jmp 0x40c9cb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x40d1ef
mov ecx, dword [ebx + 0x1c94]
mov edx, dword [ecx + 0x18]
mov eax, dword [esp + 0x98]
mov ecx, dword [edx + eax + 8]
mov edx, dword [esp + 0x84]
lea eax, [ecx + edx + 0x14]
mov edx, dword [eax]
mov eax, dword [esp + 0x70]
lea esi, [eax - 0x10]
lea edi, [edx - 0x10]
cmp edi, esi
mov dword [esp + 0x50], esi
je 0x40cabb
cmp dword [esi + 0xc], 0
jl 0x40caa9
mov ecx, dword [edi]
cmp ecx, dword [esi]
jne 0x40caa9
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x40ca44
cmp eax, dword [edi]
jne 0x40ca44
mov esi, edi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x40ca7f
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x40d670
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
add edi, 0x10
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [esi + 0x10]
push eax
call fcn.0042e9f7
add esp, 0x10
mov eax, dword [esp + 0x50]
add eax, 0xc
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40caa0
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi + 0x10]
mov dword [esp + 0x70], eax
jmp 0x40cabb
mov eax, dword [edx - 0xc]
push eax
push edx
lea ecx, [esp + 0x78]
call fcn.00406920
mov eax, dword [esp + 0x70]
mov esi, dword [eax - 0xc]
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x40cadd
push esi
lea ecx, [esp + 0x74]
call fcn.00402af0
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x60]
mov esi, dword [edx - 0xc]
mov edi, eax
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x40cb05
push esi
lea ecx, [esp + 0x64]
call fcn.00402af0
mov edx, dword [esp + 0x60]
test edi, edi
mov esi, dword [ebx + 0x1c90]
mov dword [esp + 0x50], edx
push 1
je 0x40cb28
push edi
mov edi, dword [esp + 0x60]
push edi
lea ecx, [esi + 0x9c]
call fcn.00419913
jmp 0x40cb41
mov ecx, dword [esp + 0x5c]
push 0x44dc14
push ecx
lea ecx, [esi + 0x9c]
call fcn.00419913
mov edi, dword [esp + 0x58]
push 1
push 0
push edi
lea ecx, [esi + 0x18c]
call fcn.0042bb47
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
push 0
push edx
push 0
push 0
push eax
push edi
push 3
mov ecx, esi
call fcn.00419b63
cmp dword [esi + 0x1b0], 0
jle 0x40c2b5
mov eax, dword [esi + 0x1ac]
cmp dword [eax], 0
je 0x40cb8c
xor edi, edi
mov ecx, esi
call fcn.004035c0
mov ecx, dword [esp + 0x70]
mov esi, dword [ecx - 0xc]
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x40cbb2
push esi
lea ecx, [esp + 0x74]
call fcn.00402af0
mov ecx, dword [esp + 0x70]
test ecx, ecx
mov edx, dword [esp + 0x60]
mov eax, dword [ebx + 0x1c90]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x5c]
lea esi, [edx + eax + 0x214]
push 1
je 0x40cbd8
push ecx
jmp 0x40cbdd
push 0x44dc14
push edi
lea ecx, [esi + 0x9c]
call fcn.00419913
push 1
push 0
push edi
lea ecx, [esi + 0x18c]
call fcn.0042bb47
mov eax, dword [esp + 0x50]
push 0
push edi
push 0
push 0
push eax
push edi
push 3
mov ecx, esi
call fcn.00419b63
cmp dword [esi + 0x1b0], 0
jle 0x40c2b5
mov eax, dword [esi + 0x1ac]
cmp dword [eax], 0
je 0x40cc30
xor edi, edi
mov ecx, esi
call fcn.004035c0
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x44dc14
call fcn.004069c0
mov eax, dword [esp + 0x9c]
mov byte [esp + 0x184], 5
mov ecx, dword [ebx + 0x1c94]
mov edx, dword [ecx + 0x18]
mov ecx, dword [edx + eax + 8]
mov edx, dword [esp + 0x88]
mov esi, dword [ecx + edx + 0x10]
lea eax, [ecx + edx + 0x10]
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub esi, 0x10
mov dword [esp + 0x58], esp
mov dword [esp + 0x58], esp
call edx
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x40cc9c
cmp eax, dword [esi]
jne 0x40cc9c
mov edi, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40ccd7
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x40d670
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0042e9f7
add esp, 0x10
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0xc8]
add edi, 0x10
mov dword [ecx], edi
push edx
mov byte [esp + 0x18c], 3
call fcn.00407ec0
xor edi, edi
mov byte [esp + 0x180], 6
cmp dword [esp + 0xc4], edi
je 0x40cd5e
mov eax, dword [esp + 0xcc]
push edi
push edi
push 3
push edi
push edi
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
lea ecx, [esp + 0xb8]
mov esi, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push esi
mov dword [esp + 0xb8], eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, eax
je 0x40cd5e
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], eax
jmp 0x40cd6c
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], edi
fild qword [esp + 0xac]
sub esp, 8
lea ecx, [esp + 0x68]
fmul qword [0x44ed48]
fstp qword [esp]
push str._.2f_MB
push ecx
call fcn.00402dc0
mov ecx, dword [esp + 0x70]
mov esi, dword [ecx - 0xc]
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, esi
add esp, 0x10
or eax, edx
jge 0x40cdb7
push esi
lea ecx, [esp + 0x64]
call fcn.00402af0
mov ecx, dword [esp + 0x60]
mov esi, dword [ebx + 0x1c90]
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x1004
push edx
mov dword [esp + 0x64], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, 1
sub eax, edi
cmp dword [esp + 0x58], eax
jg 0x40cee3
mov eax, dword [esi + 0x180]
sub eax, edi
cmp eax, edi
jl 0x40cee3
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_LockWindowUpdate]
cmp dword [esi + 0x180], edi
jle 0x40c2b5
mov eax, dword [esi + 0x17c]
add eax, 4
cmp dword [eax], edi
jbe 0x40ce7b
mov edx, dword [esi + 0x1a0]
sub edx, edi
test edx, edx
mov dword [esp + 0x50], 0
jle 0x40ce58
lea edi, [esi + 0xb0]
lea eax, [edi + 0x14]
push eax
mov ecx, edi
call fcn.0041982e
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 0x1a0]
add eax, 1
sub ecx, 1
add edi, 0x14
cmp eax, ecx
mov dword [esp + 0x50], eax
jl 0x40ce32
mov eax, dword [esp + 0x50]
push 0xffffffffffffffff
lea edx, [eax + eax*4]
push 0
lea ecx, [esi + edx*4 + 0xb0]
call fcn.00419512
add dword [esi + 0x1a0], 0xffffffff
mov edi, 1
cmp dword [esi + 0x180], edi
jle 0x40c2b5
mov eax, dword [esi + 0x17c]
mov ecx, dword [esp + 0x58]
add eax, 4
mov dword [eax], 0
mov eax, dword [esp + 0x54]
push eax
push edi
push ecx
mov ecx, esi
call fcn.00419a1a
cmp dword [esi + 0x1b0], edi
jle 0x40c2b5
mov eax, dword [esi + 0x1ac]
add eax, 4
cmp dword [eax], 0
je 0x40cece
mov edi, 1
mov ecx, esi
call fcn.004035c0
mov edx, dword [esi + 0x20]
push edi
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov ecx, dword [esp + 0x60]
mov esi, dword [ecx - 0xc]
mov eax, dword [ecx - 8]
mov edx, edi
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x40cf06
push esi
lea ecx, [esp + 0x64]
call fcn.00402af0
mov ecx, dword [esp + 0x60]
mov eax, dword [ebx + 0x1c90]
push 0
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + eax + 0x234]
push 0
lea esi, [ecx + eax + 0x214]
push 0x1004
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
sub eax, edi
cmp dword [esp + 0x78], eax
jg 0x40d041
mov eax, dword [esi + 0x180]
sub eax, edi
cmp eax, edi
jl 0x40d041
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_LockWindowUpdate]
cmp dword [esi + 0x180], edi
jle 0x40c2b5
mov eax, dword [esi + 0x17c]
add eax, 4
cmp dword [eax], edi
jbe 0x40cfd9
mov edx, dword [esi + 0x1a0]
sub edx, edi
test edx, edx
mov dword [esp + 0x50], 0
jle 0x40cfb6
lea edi, [esi + 0xb0]
jmp 0x40cf90
lea eax, [edi + 0x14]
push eax
mov ecx, edi
call fcn.0041982e
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 0x1a0]
add eax, 1
sub ecx, 1
add edi, 0x14
cmp eax, ecx
mov dword [esp + 0x50], eax
jl 0x40cf90
mov eax, dword [esp + 0x50]
push 0xffffffffffffffff
lea edx, [eax + eax*4]
push 0
lea ecx, [esi + edx*4 + 0xb0]
call fcn.00419512
add dword [esi + 0x1a0], 0xffffffff
mov edi, 1
cmp dword [esi + 0x180], edi
jle 0x40c2b5
mov eax, dword [esi + 0x17c]
mov ecx, dword [esp + 0x78]
add eax, 4
mov dword [eax], 0
mov eax, dword [esp + 0x54]
push eax
push edi
push ecx
mov ecx, esi
call fcn.00419a1a
cmp dword [esi + 0x1b0], edi
jle 0x40c2b5
mov eax, dword [esi + 0x1ac]
add eax, 4
cmp dword [eax], 0
je 0x40d02c
mov edi, 1
mov ecx, esi
call fcn.004035c0
mov edx, dword [esi + 0x20]
push edi
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov eax, dword [esp + 0x58]
mov edx, dword [ebx + 0x1c90]
lea esi, [ebx + 0x1d34]
push eax
mov ecx, esi
call fcn.004037d0
mov ecx, dword [esp + 0x78]
mov edx, dword [ebx + 0x1c90]
mov eax, dword [esp + 0x5c]
push ecx
lea edx, [eax + edx + 0x214]
mov ecx, esi
call fcn.004037d0
mov ecx, dword [ebx + 0x1c94]
mov edx, dword [ecx + 0x18]
mov edi, dword [esp + 0x98]
mov eax, dword [edx + edi + 8]
mov esi, dword [esp + 0x84]
mov ecx, dword [eax + esi + 8]
mov edx, dword [esp + 0x58]
push ecx
mov ecx, dword [ebx + 0x1c90]
push edx
call fcn.0041a143
mov eax, dword [ebx + 0x1c94]
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx + edi + 8]
mov edi, dword [esp + 0x60]
add dword [esp + 0x78], 1
add esi, 0x18
add eax, esi
mov eax, dword [eax]
mov dword [esp + 0x84], esi
lea esi, [eax - 0x10]
add edi, 0xfffffff0
cmp esi, edi
je 0x40d180
cmp dword [edi + 0xc], 0
jl 0x40d172
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x40d172
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40d10f
cmp eax, dword [esi]
jne 0x40d10f
mov dword [esp + 0x50], esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40d14c
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
test eax, eax
mov dword [esp + 0x50], eax
je 0x40d670
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 4]
lea edx, [ecx + ecx + 2]
push edx
add esi, 0x10
push esi
lea ecx, [ecx + ecx + 2]
push ecx
add eax, 0x10
push eax
call fcn.0042e9f7
add esp, 0x10
lea eax, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x40d165
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [esp + 0x50]
add eax, 0x10
mov dword [esp + 0x60], eax
jmp 0x40d180
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.00406920
mov eax, 1
add dword [esp + 0x4c], eax
add dword [esp + 0x58], eax
mov byte [esp + 0x180], 3
mov eax, dword [esp + 0xd0]
add eax, 0xfffffff0
mov dword [esp + 0xc0], vtable.CShell.0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d1c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xcc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c990
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40c990
mov esi, dword [esp + 0x5c]
mov ecx, dword [ebx + 0x1c90]
mov eax, dword [esi + ecx + 0x234]
lea edi, [esi + ecx + 0x214]
lea edx, [esp + 0x88]
push edx
push eax
mov dword [edi + 0x1a4], 0x3c
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov edi, dword [edi + 0x20]
sub ecx, dword [esp + 0x88]
sub edx, dword [esp + 0x8c]
lea eax, [esp + 0xc0]
push eax
push 0
push 0x47
push edi
mov dword [esp + 0xd0], edi
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe8], 0x216
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebx + 0x1c90]
mov eax, dword [esi + edx + 0x234]
mov ecx, dword [ebx + 0x1cc0]
lea edi, [esi + edx + 0x214]
push eax
mov dword [esp + 0x50], ecx
call dword [sym.imp.USER32.dll_LockWindowUpdate]
cmp dword [esp + 0x4c], 0
je 0x40d2a8
mov ecx, dword [esp + 0x4c]
mov dword [edi + 0x94], ecx
mov edx, dword [edi + 0x20]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov ecx, dword [ebx + 0x1c90]
mov edx, dword [esi + ecx + 0x234]
mov eax, dword [ebx + 0x1cc4]
lea edi, [esi + ecx + 0x214]
push edx
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_LockWindowUpdate]
cmp dword [esp + 0x4c], 0
je 0x40d2f4
mov eax, dword [esp + 0x4c]
mov dword [edi + 0x80], eax
mov ecx, dword [edi + 0x20]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov edx, dword [ebx + 0x1c90]
mov eax, dword [esi + edx + 0x234]
lea edi, [esi + edx + 0x214]
push eax
call dword [sym.imp.USER32.dll_LockWindowUpdate]
cmp dword [edi + 0x1c0], 0
mov eax, 0x45da38
mov dword [edi + 0x1cc], eax
mov dword [edi + 0x1d0], eax
mov eax, 0x45da30
mov dword [edi + 0x1d8], eax
mov dword [edi + 0x1dc], eax
mov eax, 0x45da28
mov dword [edi + 0x1c8], 0x45da50
mov dword [edi + 0x1d4], 0x45da48
mov dword [edi + 0x1e0], 0x45da40
mov dword [edi + 0x1e4], eax
mov dword [edi + 0x1e8], eax
je 0x40d38d
mov ecx, dword [edi + 0x20]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov edx, dword [ebx + 0x1c90]
mov eax, dword [esi + edx + 0x234]
lea edi, [esi + edx + 0x214]
push eax
call dword [sym.imp.USER32.dll_LockWindowUpdate]
cmp dword [edi + 0x1c0], 0
mov eax, 0x45da00
mov dword [edi + 0x1ec], eax
mov dword [edi + 0x1f0], eax
mov dword [edi + 0x1f4], eax
mov eax, 0x45d9f8
mov dword [edi + 0x1f8], eax
mov dword [edi + 0x1fc], eax
mov dword [edi + 0x200], eax
mov eax, 0x45d9f0
mov dword [edi + 0x204], eax
mov dword [edi + 0x208], eax
mov dword [edi + 0x20c], eax
je 0x40d40c
mov ecx, dword [edi + 0x20]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edi, dword [sym.imp.USER32.dll_LockWindowUpdate]
push 0
call edi
mov edx, dword [ebx + 0x1c90]
mov eax, dword [esi + edx + 0x234]
lea esi, [esi + edx + 0x214]
push eax
call edi
mov ecx, dword [esi + 0x20]
push 1
push 0
push ecx
mov dword [esi + 0x1c0], 0xe
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
call edi
mov edx, dword [esp + 0x78]
mov eax, dword [ebx + 0x1c94]
mov ecx, dword [eax + 0x18]
push edx
mov edx, dword [esp + 0x9c]
mov eax, dword [ecx + edx]
push eax
lea ecx, [esp + 0x78]
push str._s___d
push ecx
call fcn.00402dc0
mov eax, dword [esp + 0x80]
mov ecx, dword [eax - 0xc]
mov esi, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub esi, ecx
add esp, 0x10
or edx, esi
jge 0x40d49d
push ecx
lea ecx, [esp + 0x74]
call fcn.00402af0
mov eax, dword [esp + 0x70]
mov esi, dword [ebx + 0x1c90]
mov edi, dword [esp + 0x58]
sub edi, dword [esp + 0x78]
push 0
push 0
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x20]
push 0x1004
push eax
sub edi, 1
call dword [sym.imp.USER32.dll_SendMessageW]
sub eax, 1
cmp edi, eax
jg 0x40d54d
mov ecx, dword [esi + 0x180]
sub ecx, 1
js 0x40d54d
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_LockWindowUpdate]
test edi, edi
jl 0x40c2b5
cmp edi, dword [esi + 0xa4]
jge 0x40c2b5
mov eax, dword [esi + 0xa0]
lea ecx, [eax + edi*4]
call fcn.00406550
mov ecx, dword [esp + 0x54]
push ecx
push 0
push edi
mov ecx, esi
call fcn.00419a1a
cmp dword [esi + 0x1b0], 0
jle 0x40c2b5
mov edx, dword [esi + 0x1ac]
cmp dword [edx], 0
je 0x40d537
xor edi, edi
mov ecx, esi
call fcn.004035c0
mov eax, dword [esi + 0x20]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov ecx, dword [esp + 0x78]
mov edx, dword [ebx + 0x1c94]
mov eax, dword [edx + 0x18]
push ecx
mov ecx, dword [esp + 0x9c]
mov edx, dword [eax + ecx]
push edx
lea eax, [esp + 0x78]
push str._s__d_
push eax
call fcn.00402dc0
mov eax, dword [esp + 0x80]
mov ecx, dword [eax - 0xc]
mov esi, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub esi, ecx
add esp, 0x10
or edx, esi
jge 0x40d5a1
push ecx
lea ecx, [esp + 0x74]
call fcn.00402af0
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x80]
push 0
push 0
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0x20]
push 0x1004
push eax
add esi, 1
call dword [sym.imp.USER32.dll_SendMessageW]
sub eax, 1
cmp esi, eax
jg 0x40d654
mov ecx, dword [edi + 0x180]
sub ecx, 1
js 0x40d654
mov edx, dword [edi + 0x20]
push edx
call dword [sym.imp.USER32.dll_LockWindowUpdate]
test esi, esi
jl 0x40c2b5
cmp esi, dword [edi + 0xa4]
jge 0x40c2b5
mov eax, dword [edi + 0xa0]
lea ecx, [eax + esi*4]
call fcn.00406550
mov ecx, dword [esp + 0x54]
push ecx
push 0
push esi
mov ecx, edi
call fcn.00419a1a
cmp dword [edi + 0x1b0], 0
jle 0x40c2b5
mov edx, dword [edi + 0x1ac]
cmp dword [edx], 0
je 0x40d63e
mov ecx, dword [esp + 0x7c]
xor edi, edi
call fcn.004035c0
mov edi, dword [esp + 0x7c]
mov eax, dword [edi + 0x20]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov ecx, dword [ebx + 0x1c94]
mov eax, dword [ecx + 0x18]
lea edx, [esi + esi*2]
lea ecx, [eax + edx*4]
mov dword [esp + 0x80], esi
push ecx
jmp 0x40c5f4
jmp fcn.00402bc0
push 0x67
call fcn.00419463
test eax, eax
je 0x40d68c
push 0x67
push eax
lea ecx, [esp + 0x78]
call fcn.00402e50
mov eax, dword [ebx + 0x1c90]
mov edx, dword [eax + 0x20]
push 0
push 0
push 0x1004
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x1c90]
sub eax, dword [ecx + 0x98]
mov edx, dword [esp + 0x70]
push eax
push edx
lea eax, [esp + 0x78]
push str._s__d_
push eax
call fcn.00402dc0
mov edx, dword [esp + 0x80]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
add esp, 0x10
or eax, ecx
jge 0x40d6f2
push esi
lea ecx, [esp + 0x74]
call fcn.00402af0
mov edx, dword [esp + 0x70]
push 0
push edx
push 0
push 0
mov esi, edi
call fcn.00403d00
mov ecx, dword [ebx + 0x1c90]
mov eax, 0x3c
call fcn.004033f0
mov esi, dword [ebx + 0x1c90]
mov edx, dword [esi + 0x20]
mov ecx, dword [ebx + 0x1cc0]
push edx
mov dword [esp + 0x58], ecx
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x40d738
mov dword [esi + 0x94], eax
mov eax, dword [esi + 0x20]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov esi, dword [ebx + 0x1c90]
mov edx, dword [esi + 0x20]
mov ecx, dword [ebx + 0x1cc4]
push edx
mov dword [esp + 0x50], ecx
call dword [sym.imp.USER32.dll_LockWindowUpdate]
cmp dword [esp + 0x4c], 0
je 0x40d779
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x80], eax
mov ecx, dword [esi + 0x20]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov esi, dword [ebx + 0x1c90]
push 0x45da28
push 0x45da28
push 0x45da40
push 0x45da30
push 0x45da30
push 0x45da48
push 0x45da38
push 0x45da38
push 0x45da50
call fcn.00403450
mov esi, dword [ebx + 0x1c90]
call fcn.004034e0
mov esi, dword [ebx + 0x1c90]
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov eax, dword [esi + 0x20]
push 1
push 0
push eax
mov dword [esi + 0x1c0], 0xe
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_LockWindowUpdate]
cmp dword [edi + 0x1c0], 0
lea edx, [ebx + 0x1cc8]
mov dword [edi + 0x1c4], edx
je 0x40d82f
mov eax, dword [edi + 0x20]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov eax, 0x34
mov ecx, edi
call fcn.004033f0
push 0x45da58
push 0x45da58
push 0x45da70
push 0x45da60
push 0x45da60
push 0x45da78
push 0x45da68
push 0x45da68
push 0x45da80
mov esi, edi
call fcn.00403450
mov ecx, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_LockWindowUpdate]
push ecx
call esi
mov edx, dword [edi + 0x20]
push 1
push 0
push edx
mov dword [edi + 0x1c0], 0xb
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
call esi
push 0x6e
call fcn.00419463
test eax, eax
je 0x40d8b6
push 0x6e
push eax
lea ecx, [esp + 0x68]
call fcn.00402e50
mov eax, dword [ebx + 0x288]
mov edx, dword [esp + 0x60]
mov eax, dword [eax + 0x134]
push 0x3e9
push ebx
lea ecx, [esp + 0x90]
push ecx
lea esi, [ebx + 0x288]
push 0x50010003
xor edi, edi
push edx
mov ecx, esi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], 0x8c
mov dword [esp + 0xa8], 0x18
call eax
mov ecx, dword [0x45da8c]
mov edx, dword [ebx + 0x2a8]
push edi
push ecx
push 0x30
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.00418481
mov ebx, dword [eax + 0xc]
push edi
push edi
push edi
push edi
push 0xa4
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
push 0
push 0
push 0
push 0
push 0xa3
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
mov eax, esi
call fcn.00402460
mov edi, 0x44e44c
mov eax, esi
call fcn.004025a0
push 0x6f
call fcn.00419463
xor edi, edi
cmp eax, edi
je 0x40d97d
push 0x6f
push eax
lea ecx, [esp + 0x68]
call fcn.00402e50
mov esi, dword [esp + 0x74]
mov eax, dword [esi + 0x640]
mov eax, dword [eax + 0x134]
push 0x3ea
push esi
lea edx, [esp + 0x90]
push edx
mov edx, dword [esp + 0x6c]
lea ecx, [esi + 0x640]
push 0x50010000
push edx
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], 0x6a
mov dword [esp + 0xa8], 0x18
call eax
mov ecx, dword [0x45da8c]
mov edx, dword [esi + 0x660]
push edi
push ecx
push 0x30
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.00418481
mov ebx, dword [eax + 0xc]
push edi
push edi
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_LoadImageW]
push 0xa2
push ebx
call edi
push 0
push 0
push 0
push 0
push 0xa1
push ebx
mov dword [esp + 0x8c], eax
call edi
mov edi, dword [esp + 0x74]
mov ebx, eax
lea eax, [esi + 0x640]
call fcn.00402460
mov edi, 0x44e460
lea eax, [esi + 0x640]
call fcn.004025a0
push 0x70
call fcn.00419463
test eax, eax
je 0x40da51
push 0x70
push eax
lea ecx, [esp + 0x68]
call fcn.00402e50
mov eax, dword [esi + 0x9f8]
mov eax, dword [eax + 0x134]
push 0x3eb
push esi
lea edx, [esp + 0x90]
push edx
mov edx, dword [esp + 0x6c]
lea ecx, [esi + 0x9f8]
push 0x50010000
xor edi, edi
push edx
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], 0x6a
mov dword [esp + 0xa8], 0x18
call eax
mov ecx, dword [0x45da8c]
mov edx, dword [esi + 0xa18]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push ecx
push 0x30
push edx
call ebx
mov eax, dword [esi + 0xdb0]
mov eax, dword [eax + 0x134]
push 0x3ec
push esi
lea edx, [esp + 0x90]
push edx
lea ecx, [esi + 0xdb0]
push 0x50010000
push 0x44dc14
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], 0x10
mov dword [esp + 0xa8], 0x18
call eax
mov ecx, dword [0x45da8c]
mov edx, dword [esi + 0xdd0]
push edi
push ecx
push 0x30
push edx
call ebx
call fcn.00418481
mov ebx, dword [eax + 0xc]
push edi
push edi
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_LoadImageW]
push 0xa0
push ebx
call edi
push 0
push 0
push 0
push 0
push 0xa0
push ebx
mov dword [esp + 0x8c], eax
call edi
mov edi, dword [esp + 0x74]
mov ebx, eax
lea eax, [esi + 0xdb0]
call fcn.00402460
mov edi, 0x44e474
lea eax, [esi + 0xdb0]
call fcn.004025a0
mov eax, dword [esi + 0x18d8]
push 0x3ef
xor ebx, ebx
lea edi, [esi + 0x18d8]
push esi
lea ecx, [esp + 0x90]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], 0xc8
mov dword [esp + 0x9c], 0x18
push ecx
mov edx, dword [eax + 0x134]
push 0x40010200
push 0x44dc14
mov ecx, edi
call edx
mov eax, dword [0x45da8c]
mov ecx, dword [esi + 0x18f8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0x30
push ecx
call ebx
mov eax, dword [esi + 0x1cbc]
mov dword [edi + 0x94], eax
mov eax, dword [esi + 0x1cbc]
mov dword [edi + 0x9c], eax
mov eax, dword [esi + 0x1cbc]
push 0x3ed
mov dword [edi + 0xa4], eax
mov edx, dword [esi + 0x1168]
mov edx, dword [edx + 0x134]
push esi
lea eax, [esp + 0x90]
push eax
lea ecx, [esi + 0x1168]
push 0x50010000
xor edi, edi
push 0x44dc14
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], 0x60
mov dword [esp + 0xa8], 0x17
call edx
mov eax, dword [0x45da8c]
mov ecx, dword [esi + 0x1188]
push edi
push eax
push 0x30
push ecx
call ebx
call fcn.00418481
mov ebx, dword [eax + 0xc]
push edi
push edi
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_LoadImageW]
push 0x93
push ebx
call edi
push 0
push 0
push 0
push 0
push 0x92
push ebx
mov dword [esp + 0x8c], eax
call edi
mov edi, dword [esp + 0x74]
mov ebx, eax
lea eax, [esi + 0x1168]
call fcn.00402460
mov eax, 0xf7c34c
lea ebx, [esi + 0x1168]
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x9c], eax
mov dword [ebx + 0xa4], eax
mov edi, 0x44e480
mov eax, ebx
call fcn.004025a0
push 0x208
add ebx, 0x158
push 0
push ebx
call fcn.0042f480
add esp, 0xc
push 0x104
push str.555.baosheng.com
push 0x104
push ebx
call fcn.0042e87c
mov edx, dword [esi + 0x1c94]
add esp, 0x10
cmp dword [edx + 0x10], 0
je 0x40dd57
call fcn.00418481
mov ebx, dword [eax + 0xc]
mov edi, dword [sym.imp.USER32.dll_LoadImageW]
push 0
push 0
push 0
push 0
push 0x83
push ebx
call edi
push 0
push 0
push 0
push 0
push 0x82
push ebx
mov dword [esp + 0x8c], eax
call edi
mov edi, dword [esp + 0x74]
mov ebx, eax
lea eax, [esi + 0x9f8]
call fcn.00402460
mov edi, 0x44e48c
jmp 0x40dda2
call fcn.00418481
mov ebx, dword [eax + 0xc]
mov edi, dword [sym.imp.USER32.dll_LoadImageW]
push 0
push 0
push 0
push 0
push 0x9f
push ebx
call edi
push 0
push 0
push 0
push 0
push 0x9e
push ebx
mov dword [esp + 0x8c], eax
call edi
mov edi, dword [esp + 0x74]
mov ebx, eax
lea eax, [esi + 0x9f8]
call fcn.00402460
mov edi, 0x44e4a0
lea eax, [esi + 0x9f8]
call fcn.004025a0
mov eax, dword [esp + 0xa8]
sub eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
sub ecx, dword [esp + 0x9c]
push eax
push ecx
push 0
mov ecx, esi
call fcn.0040e640
mov eax, dword [esi + 0x1c98]
test eax, eax
jle 0x40de16
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa0]
lea eax, [edx + eax + 0x1a]
mov edx, dword [esp + 0xa4]
push 1
mov dword [esp + 0xac], eax
sub eax, ecx
push eax
mov eax, dword [esp + 0xa4]
sub edx, eax
push edx
push ecx
push eax
mov ecx, esi
call fcn.004172f3
push 0
mov ecx, esi
call fcn.00412b78
mov ecx, dword [esp + 0x7c]
push 3
push 3
push 0
call fcn.004199ef
mov eax, dword [esi + 0x1c94]
cmp dword [eax + 0x14], 0
jle 0x40df6b
push 5
lea ecx, [esi + 0x18d8]
call fcn.00417331
mov ecx, dword [esi + 0x1c94]
mov edx, dword [ecx + 0x14]
mov dword [esi + 0x1c9c], edx
call fcn.00419091
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40de74
push 0x80004005
call fcn.00402a70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x50], edi
mov byte [esp + 0x180], 7
call fcn.00419091
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40dea6
push 0x80004005
call fcn.00402a70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x4c], eax
push 0x71
mov byte [esp + 0x184], 8
call fcn.00419463
test eax, eax
je 0x40ded9
push 0x71
push eax
lea ecx, [esp + 0x58]
call fcn.00402e50
mov edi, dword [esp + 0x50]
mov ecx, dword [esi + 0x1c9c]
push ecx
lea edx, [esp + 0x50]
push 0x44eb38
push edx
call fcn.00402dc0
mov eax, dword [edi - 0xc]
add esp, 0xc
push eax
push edi
lea ecx, [esp + 0x54]
call fcn.004063c0
mov ebx, dword [esp + 0x4c]
push ebx
lea ecx, [esi + 0x18d8]
call fcn.00417297
mov eax, dword [esi + 0x20]
push 0
push 0x3e8
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
lea eax, [ebx - 0x10]
mov byte [esp + 0x180], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40df47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x180], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40df6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push fcn.00403060
push 5
push 4
lea ecx, [esp + 0x6c]
push ecx
mov dword [esp + 0x190], 0xffffffff
call fcn.0042ee2f
mov eax, 1
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0042e86d
mov esp, ebp
pop ebp
ret