Function at 0x4e0cf0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x579a26
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x5c5678]
xor eax, esp
mov dword [esp + 0x480], eax
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, esp
push eax
lea eax, [esp + 0x498]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea esi, [ebx + 0x1a8]
mov dword [esp + 0x84], 0
cmp dword [esi], 0
mov dword [esp + 0x30], ebx
sete al
test al, al
jne 0x4e357b
cmp dword [ebx + 0x1a4], 0
sete al
test al, al
jne 0x4e357b
push ecx
mov byte [ebx + 0x1b0], al
mov eax, esi
mov ecx, esp
mov edi, 0xfff0
mov dword [esp + 0x2c], esp
call fcn.00473d80
lea eax, [esp + 0x174]
push eax
call fcn.00470d40
xor edi, edi
mov dword [esp + 0x4a0], edi
mov eax, dword [esi]
cmp eax, edi
jne 0x4e0da7
push 0x80004003
call fcn.0053d640
mov ecx, dword [eax]
mov edx, dword [ecx + 0xfc]
push eax
call edx
lea eax, [ebx + 0xf0]
push eax
call fcn.004acd90
lea eax, [ebx + 0x1b4]
mov dword [ebx + 0x1ac], edi
call fcn.004e4200
lea eax, [ebx + 0x1d8]
call fcn.004e42f0
mov eax, dword [ebx + 0x1a4]
cmp eax, edi
jne 0x4e0dee
push 0x80004003
call fcn.0053d640
push 1
push 0xab18
lea esi, [esp + 0xb0]
call fcn.00471100
lea ecx, [esp + 0x98]
mov byte [esp + 0x4a0], 1
call fcn.004704c0
mov byte [esp + 0x4a0], 3
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x4e0e30
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp byte [ebp + 0xc], 0
jne 0x4e117d
call fcn.00425b30
mov esi, eax
call fcn.00425f20
test eax, eax
je 0x4e117d
mov eax, dword [esp + 0x98]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
mov dword [ecx], eax
test eax, eax
je 0x4e0e6a
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea edi, [esp + 0x30]
call fcn.00493080
add esp, 4
mov byte [esp + 0x4a0], 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4e0f18
mov ecx, dword [eax]
lea edx, [esp + 0x68]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
call fcn.0046daa0
cmp byte [eax + 0xc], 0
je 0x4e0eba
mov eax, dword [eax]
cmp eax, 0x64
je 0x4e0eba
push 0x64
push eax
push 0x11
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x74], eax
jmp 0x4e0ec2
mov dword [esp + 0x74], 0x11
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4e0ed4
push 0x80004003
call fcn.0053d640
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x6c]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
push 1
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x30], esp
call fcn.00473d80
call fcn.0048c7e0
mov esi, dword [esp + 0x34]
add esp, 8
lea eax, [ebx + 0x1a8]
call fcn.00473640
mov ecx, dword [eax]
mov edx, dword [ecx + 0xf4]
push esi
push eax
call edx
mov eax, dword [ebx + 0x1a4]
test eax, eax
jne 0x4e0f2c
push 0x80004003
call fcn.0053d640
push 1
push 0xa8c0
lea esi, [esp + 0x68]
call fcn.00471100
push ecx
mov byte [esp + 0x4a4], 5
mov ecx, esp
mov dword [esp + 0x2c], esp
call fcn.004704c0
lea edi, [esp + 0x18]
call fcn.00493080
add esp, 4
mov byte [esp + 0x4a0], 7
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4e0f74
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4e1170
push 1
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
call fcn.00473d80
call fcn.0048c7e0
mov eax, dword [ebx + 0x30]
add esp, 8
push 0
push 1
push 0
push eax
push str.IDS_REGISTER_DESC
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0xd8]
call fcn.004adb10
mov byte [esp + 0x4b0], 8
cmp dword [eax + 0x18], 8
jb 0x4e0fcd
mov eax, dword [eax + 4]
jmp 0x4e0fd0
add eax, 4
push eax
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4e0fe3
push 0x80004003
call fcn.0053d640
push 0
push 0xa8c2
lea esi, [esp + 0x78]
call fcn.00471100
push ecx
mov byte [esp + 0x4b8], 9
mov ecx, esp
mov dword [esp + 0x40], esp
call fcn.00473cc0
call fcn.0048cee0
mov byte [esp + 0x4b8], 8
mov eax, dword [esp + 0x74]
add esp, 0x18
test eax, eax
je 0x4e1027
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0xc4]
call fcn.0040f400
push 0
push 0
xor edi, edi
push edi
push ecx
mov eax, esp
mov dword [esp + 0x38], esp
mov dword [eax], edi
mov byte [esp + 0x4b0], 0xa
mov eax, dword [esp + 0x24]
push 1
push edi
test eax, eax
jne 0x4e1060
push 0x80004003
call fcn.0053d640
push ecx
mov esi, esp
mov dword [esp + 0xbc], esp
push 0
push 0xa8c2
call fcn.00471100
mov eax, dword [ebx + 0x30]
push eax
mov ecx, edi
mov byte [esp + 0x4c0], 7
call fcn.00491600
add esp, 0x20
push 0
push 0
push 0
push 1
lea eax, [ebx + 0x198]
push ebx
push eax
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4e10ae
push 0x80004003
call fcn.0053d640
push ecx
mov esi, esp
mov dword [esp + 0x44], esp
push 0
push 0xa8ca
call fcn.00471100
lea ecx, [esp + 0x50]
push ecx
lea edx, [ebx + 0x50]
push edx
call fcn.004af200
mov byte [esp + 0x4a0], 0xb
cmp dword [esp + 0x34], 0
je 0x4e1139
push str.IDS_REGISTER
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0xc8]
call fcn.004adb10
mov byte [esp + 0x4a0], 0xc
cmp dword [eax + 0x18], 8
jb 0x4e1107
mov eax, dword [eax + 4]
jmp 0x4e110a
add eax, 4
mov edx, eax
mov eax, dword [esp + 0x34]
call fcn.0049f920
lea ecx, [esp + 0xc4]
mov byte [esp + 0x4a0], 0xb
call fcn.0040f400
mov eax, dword [ebx + 0x30]
mov ecx, dword [esp + 0x34]
push 3
push eax
push ecx
call fcn.004a0d20
mov esi, dword [esp + 0x14]
lea eax, [ebx + 0x1a8]
call fcn.00473640
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0xf4]
call eax
mov byte [esp + 0x4a0], 7
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4e116c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x4a0], 4
jmp 0x4e1674
mov eax, dword [esp + 0x98]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
mov dword [ecx], eax
test eax, eax
je 0x4e1199
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea edi, [esp + 0x30]
call fcn.00493080
add esp, 4
mov byte [esp + 0x4a0], 0xd
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4e1250
mov ecx, dword [eax]
lea edx, [esp + 0x68]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
call fcn.0046daa0
cmp byte [eax + 0xc], 0
je 0x4e11e9
mov eax, dword [eax]
cmp eax, 0x64
je 0x4e11e9
push 0x64
push eax
push 0xf
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x74], eax
jmp 0x4e11f1
mov dword [esp + 0x74], 0xf
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4e1203
push 0x80004003
call fcn.0053d640
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x6c]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
push 1
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x30], esp
call fcn.00473d80
call fcn.0048c7e0
mov eax, dword [ebx + 0x1a8]
add esp, 8
test eax, eax
jne 0x4e1240
push 0x80004003
call fcn.0053d640
mov edx, dword [esp + 0x2c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xf4]
call eax
mov eax, dword [ebx + 0x1a4]
test eax, eax
jne 0x4e1264
push 0x80004003
call fcn.0053d640
push 1
push 0xa9ec
lea esi, [esp + 0x68]
call fcn.00471100
push ecx
mov byte [esp + 0x4a4], 0xe
mov ecx, esp
mov dword [esp + 0x2c], esp
call fcn.004704c0
lea edi, [esp + 0x18]
call fcn.00493080
add esp, 4
mov byte [esp + 0x4a0], 0x10
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4e12ac
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4e166c
push 1
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
call fcn.00473d80
call fcn.0048c7e0
mov eax, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x4e12e4
push 0x80004003
call fcn.0053d640
push ecx
mov esi, esp
mov dword [esp + 0x2c], esp
push 0
push 0xa9ed
call fcn.00471100
lea esi, [esp + 0x150]
call fcn.00493db0
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov edi, dword [eax]
mov eax, dword [eax + 0xc]
add esp, 4
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
call fcn.0046daa0
cmp byte [eax + 0xc], 0
je 0x4e1347
mov eax, dword [eax]
cmp eax, 0x64
je 0x4e1347
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x64
push eax
push 3
call esi
jmp 0x4e1352
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov eax, 3
add edi, eax
mov dword [esp + 0x88], edi
call fcn.0046daa0
cmp byte [eax + 0xc], 0
je 0x4e1376
mov eax, dword [eax]
cmp eax, 0x64
je 0x4e1376
push 0x64
push eax
push 3
call esi
jmp 0x4e137b
mov eax, 3
add dword [esp + 0x8c], eax
call fcn.0046daa0
cmp byte [eax + 0xc], 0
je 0x4e139d
mov eax, dword [eax]
cmp eax, 0x64
je 0x4e139d
push 0x64
push eax
push 3
call esi
jmp 0x4e13a2
mov eax, 3
sub dword [esp + 0x90], eax
call fcn.0046daa0
cmp byte [eax + 0xc], 0
je 0x4e13c4
mov eax, dword [eax]
cmp eax, 0x64
je 0x4e13c4
push 0x64
push eax
push 8
call esi
jmp 0x4e13c9
mov eax, 8
sub dword [esp + 0x94], eax
mov edx, dword [esp + 0x14]
push 0
push str.tool_header_bg
lea ecx, [esp + 0x90]
push ecx
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], esp
test eax, eax
je 0x4e13fc
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea eax, [esp + 0x5c]
lea edi, [ebx + 0x50]
push eax
mov ecx, edi
call fcn.004af940
mov byte [esp + 0x4a0], 0x11
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4e142b
mov dword [eax + 0x20], 4
mov esi, dword [esp + 0x4c]
call fcn.00498940
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4e143d
push 0x80004003
call fcn.0053d640
push 0
push 0xa9ee
lea esi, [esp + 0x64]
call fcn.00471100
lea ecx, [esp + 0x34]
mov byte [esp + 0x4a0], 0x12
call fcn.00473cc0
mov byte [esp + 0x4a0], 0x14
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4e1476
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push 0
push 0
push 0
push 1
lea eax, [ebx + 0x198]
push ebx
push eax
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4e1498
push 0x80004003
call fcn.0053d640
push ecx
mov esi, esp
mov dword [esp + 0x44], esp
push 0
push 0xa9f6
call fcn.00471100
lea eax, [esp + 0x5c]
push eax
push edi
call fcn.004af200
mov byte [esp + 0x4a0], 0x15
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x34]
test ecx, ecx
je 0x4e156c
test edi, edi
je 0x4e156c
xor eax, eax
push ecx
lea edi, [esp + 0x12c]
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], eax
call fcn.004a06f0
mov esi, dword [esp + 0x34]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x40]
lea edx, [esp + 0x68]
push edx
push esi
call eax
call fcn.0046daa0
cmp byte [eax + 0xc], 0
je 0x4e1531
mov eax, dword [eax]
cmp eax, 0x64
je 0x4e1531
push 0x64
push eax
push 0x14
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x4e1536
mov eax, 0x14
mov ecx, dword [esp + 0x128]
sub ecx, eax
push 1
mov dword [esp + 0x74], ecx
mov edx, dword [esi]
mov ecx, dword [edx + 0x44]
lea eax, [esp + 0x6c]
push eax
push esi
call ecx
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x88], edx
mov dword [esp + 0x90], eax
mov ecx, dword [ebx + 0x30]
push 0
push 1
push 0
push ecx
push 0
mov ecx, str.IDS_GETOFFER_DESC
lea esi, [esp + 0xd8]
lea eax, [ebx + 0x50]
call fcn.004adac0
mov byte [esp + 0x4b0], 0x16
cmp dword [eax + 0x18], 8
jb 0x4e159f
mov eax, dword [eax + 4]
jmp 0x4e15a2
add eax, 4
push eax
push ecx
mov eax, esp
mov dword [esp + 0x40], esp
mov dword [eax], edi
test edi, edi
je 0x4e15b8
mov edx, dword [edi]
mov eax, dword [edx + 4]
push edi
call eax
call fcn.0048cee0
add esp, 0x18
lea ecx, [esp + 0xc4]
mov byte [esp + 0x4a0], 0x15
call fcn.0040f400
push 0
push 0
push 1
push 0
lea ecx, [esp + 0x98]
push ecx
push ecx
lea eax, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x40], esp
call fcn.00473d80
mov edx, dword [ebx + 0x30]
push edx
call fcn.00491c90
mov eax, dword [ebx + 0x1a8]
add esp, 0x1c
test eax, eax
jne 0x4e1614
push 0x80004003
call fcn.0053d640
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xf4]
call eax
mov byte [esp + 0x4a0], 0x14
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4e163c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x4a0], 0x11
test edi, edi
je 0x4e1650
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov byte [esp + 0x4a0], 0x10
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4e1668
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x4a0], 0xd
test eax, eax
je 0x4e1680
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x4a0], 3
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4e1698
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x254]
push eax
call int.004255e0
mov byte [esp + 0x4a0], 0x17
call fcn.00425b30
push 0x80
lea ecx, [esp + 0x258]
push ecx
call fcn.004258f0
mov eax, 7
xor edi, edi
xor edx, edx
mov dword [esp + 0x250], eax
mov dword [esp + 0x24c], edi
mov word [esp + 0x23c], dx
mov dword [esp + 0x234], eax
xor eax, eax
mov dword [esp + 0x230], edi
mov word [esp + 0x220], ax
lea edx, [esp + 0x21c]
lea ecx, [esp + 0x238]
mov byte [esp + 0x4a0], 0x19
call fcn.004d60a0
mov eax, dword [ebx + 0x1a4]
cmp eax, edi
jne 0x4e172a
push 0x80004003
call fcn.0053d640
push 1
push 0xa924
lea esi, [esp + 0x11c]
call fcn.00471100
lea ecx, [esp + 0xa8]
mov byte [esp + 0x4a0], 0x1a
call fcn.004704c0
mov byte [esp + 0x4a0], 0x1c
mov eax, dword [esp + 0x114]
cmp eax, edi
je 0x4e176c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx + 0x1a4]
cmp eax, edi
jne 0x4e1780
push 0x80004003
call fcn.0053d640
push 1
push 0xa988
lea esi, [esp + 0x118]
call fcn.00471100
lea ecx, [esp + 0x60]
mov byte [esp + 0x4a0], 0x1d
call fcn.004704c0
mov byte [esp + 0x4a0], 0x1f
mov eax, dword [esp + 0x110]
cmp eax, edi
je 0x4e17bf
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], 0
mov byte [esp + 0x4a0], 0x20
mov eax, dword [0x5ce94c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5ce94c
call edx
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x4a0], 0x21
mov esi, dword [esp + 0x418]
mov ecx, esi
sub ecx, dword [esp + 0x414]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 4
mov edi, edx
shr edi, 0x1f
mov eax, 0
add edi, edx
mov dword [esp + 0xa4], edi
mov dword [esp + 0xb0], eax
mov dword [esp + 0x54], eax
je 0x4e2daf
jmp 0x4e1837
mov esi, dword [esp + 0x418]
sub esi, dword [esp + 0x414]
mov eax, 0x2e8ba2e9
mov ecx, esi
mov esi, dword [esp + 0x54]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4e185e
call fcn.0053ecd6
mov eax, esi
imul eax, eax, 0x58
add eax, dword [esp + 0x414]
push ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xac]
mov ecx, esp
mov dword [esp + 0x28], esp
mov dword [ecx], eax
test eax, eax
je 0x4e188a
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea edi, [esp + 0x24]
call fcn.00493080
add esp, 4
mov byte [esp + 0x4a0], 0x22
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4e2d7a
mov eax, dword [esp + 0x30]
add eax, 0x1a8
mov eax, dword [eax]
test eax, eax
je 0x4e0d9d
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0xf4]
call eax
push 1
push ecx
mov dword [esp + 0x2c], esp
mov esi, esp
push ecx
mov dword [esi], 0
mov ecx, dword [esp + 0x2c]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], esp
test eax, eax
je 0x4e18f5
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00474c40
test eax, eax
jge 0x4e1909
cmp eax, 0x80004002
jne 0x4e2e0e
call fcn.0048c7e0
add esp, 8
push 0
push str.IDS_PREMIUM_MEMBERSHIP
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0xe8]
call fcn.004adb10
mov edi, 8
mov byte [esp + 0x4a4], 0x23
cmp dword [eax + 0x18], edi
jb 0x4e1940
mov eax, dword [eax + 4]
jmp 0x4e1943
add eax, 4
push eax
push ecx
mov ecx, dword [esp + 0x2c]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x2c]
mov esi, 0xa927
mov dword [esp + 0x30], esp
test eax, eax
je 0x4e1966
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
call fcn.0048ce40
add esp, 0xc
mov byte [esp + 0x4a0], 0x22
cmp dword [esp + 0xf8], edi
jb 0x4e1991
mov ecx, dword [esp + 0xe4]
push ecx
call fcn.0053d782
add esp, 4
mov edx, dword [esp + 0x20]
push 0
push 0
push 0
push 1
push 0
push 0
push 0xa926
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], esp
test eax, eax
je 0x4e19bf
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ebx, dword [esp + 0x50]
add ebx, 0x50
push ebx
lea edi, [esp + 0x144]
call fcn.004af5e0
mov eax, dword [esp + 0x120]
test eax, eax
je 0x4e19e6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x54], 0
jne 0x4e1ab1
cmp dword [eax + 0x18], 8
jb 0x4e19ff
mov ecx, dword [eax + 4]
jmp 0x4e1a02
lea ecx, [eax + 4]
lea eax, [esp + 0x9c]
push eax
call fcn.00425130
mov ecx, dword [ebp + 0x10]
mov byte [esp + 0x4a0], 0x24
test ecx, ecx
je 0x4e1a42
cmp dword [esp + 0x4c], 0
jne 0x4e1a42
lea eax, [esp + 0x9c]
call 0x424ec0
test eax, eax
jne 0x4e1a42
lea eax, [esp + 0x20]
lea edi, [esp + 0x4c]
call fcn.004a98b0
lea ecx, [esp + 0x9c]
call fcn.004d57a0
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x9c]
push 0
test eax, eax
je 0x4e0d9d
push ecx
mov esi, esp
mov dword [esp + 0x2c], esp
push 0
push 0xa928
call fcn.00471100
mov ecx, edi
call fcn.0048cb30
mov byte [esp + 0x4a8], 0x22
mov eax, dword [esp + 0xa4]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e1b2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4e1b2c
push 0
push 0
mov ecx, str.IDS_ONE_MONTH_TRIAL
lea esi, [esp + 0xe8]
mov eax, ebx
call fcn.004adac0
mov ebx, 8
mov byte [esp + 0x4a4], 0x25
cmp dword [eax + 0x18], ebx
jb 0x4e1adf
mov edi, dword [eax + 4]
jmp 0x4e1ae2
lea edi, [eax + 4]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4e0d9d
push ecx
mov esi, esp
mov dword [esp + 0x2c], esp
push 0
push 0xa928
call fcn.00471100
mov ecx, edi
call fcn.0048cb30
add esp, 8
mov byte [esp + 0x4a0], 0x22
cmp dword [esp + 0xf8], ebx
jb 0x4e1b2c
mov ecx, dword [esp + 0xe4]
push ecx
call fcn.0053d782
add esp, 4
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x24]
cmp edx, dword [ecx + 0x2c]
jl 0x4e1ca2
jg 0x4e1b4a
mov eax, dword [ecx + 0x20]
cmp eax, dword [ecx + 0x28]
jbe 0x4e1ca2
cmp byte [0x5d0e15], 0
mov byte [esp + 0x1b], 1
jne 0x4e1c48
cmp dword [esp + 0xb0], 1
jl 0x4e1c48
mov ecx, dword [esp + 0x30]
cmp dword [ecx + 0x1d4], 0
je 0x4e1c48
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4e0d9d
mov edx, dword [eax]
mov edx, dword [edx + 0x40]
lea ecx, [esp + 0x1ec]
push ecx
push eax
call edx
lea eax, [esp + 0x1ec]
push eax
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov dword [esp + 0xc0], 0
mov byte [esp + 0x4a0], 0x26
mov edx, dword [esp + 0x74]
sub edx, dword [esp + 0x6c]
lea eax, [esp + 0x20]
lea edi, [esp + 0xc0]
mov dword [esp + 0xbc], edx
call fcn.004a98b0
mov eax, dword [esp + 0xbc]
mov esi, dword [esp + 0x30]
sub dword [esi + 0x1ac], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x6c], ecx
test eax, eax
je 0x4e0d9d
mov edx, dword [eax]
mov edx, dword [edx + 0x44]
push 1
lea ecx, [esp + 0x6c]
push ecx
push eax
call edx
lea eax, [esp + 0xbc]
push eax
lea edi, [esi + 0x1b4]
call fcn.004e4180
mov byte [esp + 0x4a0], 0x22
mov eax, dword [esp + 0xc0]
mov dword [esi + 0x1d4], 1
test eax, eax
je 0x4e1c48
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
inc dword [esp + 0xb0]
mov dl, byte [esp + 0x1b]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x34]
test eax, eax
jne 0x4e1d32
test ecx, ecx
jne 0x4e1d32
test dl, dl
je 0x4e1caa
mov ebx, str.IDS_EXPIRED
push ebx
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0xc8]
call fcn.004adb10
mov byte [esp + 0x4a0], 0x2a
cmp dword [eax + 0x18], 8
jb 0x4e1e2e
mov eax, dword [eax + 4]
jmp 0x4e1e31
xor dl, dl
mov byte [esp + 0x1b], dl
jmp 0x4e1c57
mov ebx, str.IDS_EXPIRES
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x2c]
test eax, eax
jne 0x4e1cc1
test ecx, ecx
je 0x4e1c76
cdq
push 0
add eax, 0xb6109100
push 0x989680
adc edx, 2
push edx
push eax
mov dword [esp + 0x150], 0
call fcn.00547a20
mov dword [esp + 0x13c], eax
mov eax, edx
lea ecx, [esp + 0x13c]
lea edi, [esp + 0x128]
sar eax, 0x1f
mov dword [esp + 0x140], edx
call fcn.00446280
push str.IDS_DATE_FMT
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0xc8]
call fcn.004adb10
mov byte [esp + 0x4a0], 0x27
cmp dword [eax + 0x18], 8
jb 0x4e1d4a
mov eax, dword [eax + 4]
jmp 0x4e1d4d
test dl, dl
je 0x4e1d40
mov ebx, str.IDS_EXPIRED_AT
jmp 0x4e1caf
mov ebx, str.IDS_NEW_RENEWAL
jmp 0x4e1cb9
add eax, 4
lea ecx, [esp + 0x128]
push ecx
mov esi, eax
lea edi, [esp + 0x128]
call fcn.0047e420
mov edi, eax
push ebx
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0xe4]
mov byte [esp + 0x4a4], 0x28
call fcn.004adb10
mov byte [esp + 0x4a0], 0x29
cmp dword [eax + 0x18], 8
jb 0x4e1d92
mov eax, dword [eax + 4]
jmp 0x4e1d95
add eax, 4
mov edx, dword [edi]
push edx
push eax
push 0x58debc
lea edi, [esp + 0x38]
call fcn.00424dc0
mov esi, 8
add esp, 0xc
cmp dword [esp + 0xf8], esi
jb 0x4e1dc8
mov eax, dword [esp + 0xe4]
push eax
call fcn.0053d782
add esp, 4
mov byte [esp + 0x4a0], 0x27
mov eax, dword [esp + 0x124]
xor ecx, ecx
add eax, 0xfffffff0
mov word [esp + 0xe4], cx
mov dword [esp + 0xf8], 7
mov dword [esp + 0xf4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4e1e13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4a0], 0x22
cmp dword [esp + 0xdc], esi
jb 0x4e1e5e
mov ecx, dword [esp + 0xc8]
push ecx
jmp 0x4e1e56
add eax, 4
mov edx, eax
lea edi, [esp + 0x2c]
call fcn.00425220
mov byte [esp + 0x4a0], 0x22
cmp dword [esp + 0xdc], 8
jb 0x4e1e5e
mov edx, dword [esp + 0xc8]
push edx
call fcn.0053d782
add esp, 4
mov edi, dword [esp + 0x14]
cmp dword [edi + 0x30], 0
jne 0x4e1e74
cmp dword [edi + 0x34], 0
jne 0x4e1e74
cmp byte [edi + 0x54], 0
je 0x4e1ea9
cmp byte [esp + 0x1b], 0
jne 0x4e1ea9
mov eax, dword [esp + 0x20]
push 0
test eax, eax
je 0x4e0d9d
push ecx
mov esi, esp
mov dword [esp + 0x2c], esp
push 0
push 0xa92e
call fcn.00471100
call fcn.0048c7e0
add esp, 8
jmp 0x4e1fc8
mov ebx, dword [esp + 0x30]
push 0
push 0
push 0
push 1
lea eax, [ebx + 0x198]
push ebx
push eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4e0d9d
push ecx
mov esi, esp
mov dword [esp + 0x40], esp
push 0
push 0xa92e
call fcn.00471100
lea eax, [esp + 0x9c]
push eax
lea eax, [ebx + 0x50]
push eax
call fcn.004af200
mov byte [esp + 0x4a0], 0x2b
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4e1fb4
mov ecx, dword [esp + 0x54]
push ecx
push eax
call fcn.0049f950
cmp byte [edi + 0x54], 0
mov eax, str.IDS_BUY_NOW
jne 0x4e1f1f
mov eax, str.IDS_RENEW
push eax
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0xc8]
call fcn.004adb10
mov byte [esp + 0x4a0], 0x2c
cmp dword [eax + 0x18], 8
jb 0x4e1f44
mov edx, dword [eax + 4]
jmp 0x4e1f47
lea edx, [eax + 4]
mov esi, dword [esp + 0x80]
add esi, 0x4c
test edx, edx
jne 0x4e1f5c
call fcn.00425260
jmp 0x4e1f78
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4e1f61
sub eax, edi
sar eax, 1
push eax
push edx
push esi
call fcn.004253c0
mov byte [esp + 0x4a0], 0x2b
cmp dword [esp + 0xdc], 8
jb 0x4e1f9a
mov edx, dword [esp + 0xc8]
push edx
call fcn.0053d782
add esp, 4
mov eax, dword [ebx + 0x30]
mov ecx, dword [esp + 0x80]
push 3
push eax
push ecx
call fcn.004a0d20
mov eax, dword [esp + 0x80]
mov byte [esp + 0x4a0], 0x22
test eax, eax
je 0x4e1fc8
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4e0d9d
push 0
push 0xa929
lea esi, [esp + 0x104]
call fcn.00471100
mov byte [esp + 0x4a0], 0x2d
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], esp
mov dword [ecx], eax
test eax, eax
je 0x4e200e
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea esi, [esp + 0x38]
call fcn.00473e30
test eax, eax
jge 0x4e2026
cmp eax, 0x80004002
jne 0x4e2e0e
mov byte [esp + 0x4a0], 0x2f
mov eax, dword [esp + 0xfc]
test eax, eax
je 0x4e2041
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4e2244
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4e0d9d
push ecx
mov esi, esp
mov dword [esp + 0x28], esp
push 0
push 0xa92e
call fcn.00471100
call fcn.0048c880
add esp, 4
lea ecx, [esp + 0x160]
mov byte [esp + 0x3b], al
mov eax, dword [edi]
mov edx, dword [eax + 0x40]
push ecx
push edi
call edx
call fcn.0046daa0
cmp byte [eax + 0xc], 0
je 0x4e20a9
mov eax, dword [eax]
cmp eax, 0x64
je 0x4e20a9
push 0x64
push eax
push 0xa
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ebx, eax
jmp 0x4e20ae
mov ebx, 0xa
cmp byte [esp + 0x3b], 0
je 0x4e20f8
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4e0d9d
push ecx
mov esi, esp
mov dword [esp + 0x28], esp
push 0
push 0xa92e
call fcn.00471100
lea esi, [esp + 0x210]
call fcn.00493db0
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0xe8], edx
mov edx, dword [eax + 8]
mov dword [esp + 0xec], edx
jmp 0x4e2144
lea esi, [esp + 0x138]
mov eax, edi
call fcn.00470e80
push ecx
mov byte [esp + 0x4a4], 0x30
or dword [esp + 0x88], 1
mov ecx, esp
mov dword [esp + 0x28], esp
call fcn.00473d80
lea esi, [esp + 0x200]
call fcn.00493db0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0xe4], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0xe8], edx
mov eax, dword [eax + 0xc]
sub ecx, ebx
add esp, 4
mov dword [esp + 0x4a0], 0x2f
test byte [esp + 0x84], 1
mov dword [esp + 0x168], ecx
mov dword [esp + 0xec], eax
je 0x4e218a
mov eax, dword [esp + 0x138]
and dword [esp + 0x84], 0xfffffffe
test eax, eax
je 0x4e218a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x44]
push 1
lea ecx, [esp + 0x164]
push ecx
push edi
call edx
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 0x30]
mov ecx, dword [esp + 0x2c]
push 0
push 1
push 0
push eax
push ecx
push ecx
mov eax, esp
mov dword [eax], edi
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov dword [esp + 0x3c], esp
push edi
call eax
call fcn.0048cee0
add esp, 0x18
cmp byte [esp + 0x1b], 0
je 0x4e21ee
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov esi, str.ac_s9_9
mov dword [esp + 0x28], esp
call fcn.00473d80
mov ecx, esi
call fcn.0048e650
add esp, 4
mov eax, dword [esp + 0x20]
push 0
xor edi, edi
push 0
push edi
test eax, eax
je 0x4e0d9d
push ecx
mov esi, esp
mov dword [esp + 0x34], esp
push edi
push 0xa92e
call fcn.00471100
push 1
push edi
push ecx
mov byte [esp + 0x4bc], 0x31
lea eax, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x64], esp
call fcn.00473d80
mov ecx, dword [ebx + 0x30]
push ecx
mov ecx, edi
mov byte [esp + 0x4c0], 0x2f
call fcn.00491600
add esp, 0x20
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4e0d9d
push 0
push 0xa956
lea esi, [esp + 0x14c]
call fcn.00471100
mov byte [esp + 0x4a0], 0x32
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [esp + 0x68], 0
mov dword [esp + 0x28], esp
mov dword [ecx], eax
test eax, eax
je 0x4e228a
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x68]
call fcn.004707a0
test eax, eax
jge 0x4e22a2
cmp eax, 0x80004002
jne 0x4e2e0e
mov byte [esp + 0x4a0], 0x34
mov eax, dword [esp + 0x144]
test eax, eax
je 0x4e22bd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x64], 0
je 0x4e2c72
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x4c]
sub ecx, dword [eax + 0x48]
mov edi, dword [esp + 0x64]
mov eax, 0x66666667
imul ecx
mov ecx, dword [esp + 0x54]
mov eax, dword [edi]
sar edx, 6
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov edx, dword [eax + 0xc0]
push ecx
push edi
mov dword [esp + 0x64], ebx
call edx
mov ecx, dword [esp + 0x30]
push 0
push 0
push 0
push 1
push ecx
lea eax, [ecx + 0x198]
push eax
push ecx
mov esi, esp
mov dword [esp + 0x40], esp
push 0
push 0xa959
mov eax, edi
call fcn.00471100
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0x50]
add eax, 0x50
push eax
call fcn.004af200
mov byte [esp + 0x4a0], 0x35
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4e23f0
xor ecx, ecx
test ebx, ebx
setne cl
push ecx
push eax
call fcn.00499010
test ebx, ebx
je 0x4e23f0
xor esi, esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
lea eax, [esp + 0x64]
lea edi, [esp + 0x88]
mov byte [esp + 0x4a0], 0x36
call fcn.004a98b0
lea eax, [esp + 0x40]
lea edi, [esp + 0x8c]
call fcn.00475bc0
mov eax, dword [esp + 0x14]
call fcn.004255b0
movzx edx, al
lea eax, [esp + 0x88]
push eax
mov eax, dword [esp + 0x34]
add eax, 0x1d8
push eax
mov dword [esp + 0x98], edx
call fcn.004e4250
mov byte [esp + 0x4a0], 0x35
mov eax, dword [esp + 0x8c]
cmp eax, esi
je 0x4e23dd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x88]
cmp eax, esi
je 0x4e23f0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x64]
push 0
push 0xa958
lea esi, [esp + 0x124]
call fcn.00471100
lea ecx, [esp + 0xac]
mov byte [esp + 0x4a0], 0x37
call fcn.00473cc0
mov byte [esp + 0x4a0], 0x39
mov eax, dword [esp + 0x11c]
test eax, eax
je 0x4e2436
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0xac], 0
je 0x4e2480
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x38]
push ecx
push ebx
push str._u__u
lea edi, [esp + 0x38]
call fcn.00424dc0
add esp, 0xc
push 0
push ecx
mov ecx, dword [esp + 0xb4]
mov eax, esp
mov dword [eax], ecx
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov dword [esp + 0x2c], esp
push ecx
call eax
mov ecx, dword [esp + 0x34]
call fcn.0048c990
add esp, 8
mov ecx, dword [esp + 0x14]
cmp ebx, dword [ecx + 0x38]
mov dword [esp + 0x44], 0
setb byte [esp + 0x1b]
test ebx, ebx
jbe 0x4e2a4e
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x4c]
sub ecx, dword [eax + 0x48]
mov eax, 0x66666667
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x44], eax
jb 0x4e24ca
call fcn.0053ecd6
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + 0x48]
mov eax, dword [esp + 0x44]
add ebx, dword [esp + 0x50]
inc eax
cmp eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x28], eax
setae byte [esp + 0x3f]
mov eax, esp
mov dword [esp + 0x4c], esp
mov dword [eax], ecx
test ecx, ecx
je 0x4e2500
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ecx
call eax
lea edi, [esp + 0x40]
call fcn.00493080
add esp, 4
mov byte [esp + 0x4a0], 0x3a
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4e2a20
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4e0d9d
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0xd4]
push ecx
call eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4e0d9d
mov edx, dword [esp + 0x54]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc0]
call eax
push 1
push ecx
mov dword [esp + 0x50], esp
mov esi, esp
push ecx
mov dword [esi], 0
mov ecx, dword [esp + 0x48]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x54], esp
test eax, eax
je 0x4e2580
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00474c40
test eax, eax
jge 0x4e2594
cmp eax, 0x80004002
jne 0x4e2e0e
call fcn.0048c7e0
mov eax, dword [esp + 0x44]
add esp, 8
test eax, eax
je 0x4e0d9d
push 0
push 0xa993
lea esi, [esp + 0x150]
call fcn.00471100
mov byte [esp + 0x4a0], 0x3b
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [esp + 0x80], 0
mov dword [esp + 0x4c], esp
mov dword [ecx], eax
test eax, eax
je 0x4e25e5
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea esi, [esp + 0x80]
call fcn.00473e30
test eax, eax
jge 0x4e2600
cmp eax, 0x80004002
jne 0x4e2e0e
mov byte [esp + 0x4a0], 0x3d
mov eax, dword [esp + 0x148]
test eax, eax
je 0x4e261b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x7c], 0
je 0x4e26bc
cmp dword [ebx + 0x34], 8
push 0
jb 0x4e2633
mov edi, dword [ebx + 0x20]
jmp 0x4e2636
lea edi, [ebx + 0x20]
mov esi, dword [esp + 0x80]
push ecx
mov eax, esp
mov dword [eax], esi
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [esp + 0x50], esp
push esi
call ecx
mov ecx, edi
call fcn.0048c990
mov edi, dword [esp + 0x38]
mov edx, dword [edi + 0x30]
add esp, 8
push 0
push 0
push 0
push 0
push edx
push ecx
mov eax, esp
mov dword [eax], esi
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [esp + 0x60], esp
push esi
call ecx
call fcn.0048f620
add esp, 0x18
cmp al, 1
jne 0x4e26c0
cmp dword [ebx + 0x34], 8
jb 0x4e2690
mov edi, dword [ebx + 0x20]
jmp 0x4e2693
lea edi, [ebx + 0x20]
push ecx
mov edx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.00422950
mov byte [esp + 0x4a4], 0x3e
mov ecx, dword [esp + 0x80]
mov byte [esp + 0x4a4], 0x3d
call fcn.004850c0
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
push 0
push 0
push 0
push 1
push 0
push 0
test eax, eax
je 0x4e0d9d
push ecx
mov esi, esp
mov dword [esp + 0x64], esp
push 0
push 0xa992
call fcn.00471100
lea eax, [esp + 0x134]
push eax
lea eax, [edi + 0x50]
push eax
mov dword [esp + 0x6c], eax
call fcn.004af200
mov eax, dword [esp + 0x118]
test eax, eax
je 0x4e2713
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
movzx eax, byte [ebx + 0x98]
push eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4e0d9d
push ecx
mov esi, esp
mov dword [esp + 0x24], esp
push 0
push 0xa994
call fcn.00471100
call fcn.0048c7e0
add esp, 8
cmp byte [ebx + 0x98], 0
jne 0x4e279a
lea eax, [ebx + 0x54]
lea ecx, [esp + 0x238]
call fcn.0040f7c0
test eax, eax
jne 0x4e279a
lea eax, [ebx + 0x70]
lea ecx, [esp + 0x21c]
call fcn.0040f7c0
test eax, eax
jne 0x4e279a
mov eax, dword [esp + 0x3c]
push 1
test eax, eax
je 0x4e0d9d
push ecx
mov esi, esp
mov dword [esp + 0x24], esp
push 0
push 0xa994
call fcn.00471100
call fcn.0048c7e0
add esp, 8
mov eax, dword [esp + 0x3c]
push 0
push 0
push 0
push 1
push edi
add edi, 0x198
push edi
test eax, eax
je 0x4e0d9d
push ecx
mov esi, esp
mov dword [esp + 0x38], esp
push 0
push 0xa99c
call fcn.00471100
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0xd0]
push ecx
push edx
call fcn.004af200
mov byte [esp + 0x4a0], 0x3f
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x4e27f9
mov ecx, dword [esp + 0x44]
push ecx
push eax
call fcn.0049f950
mov bl, byte [esp + 0x3b]
test bl, bl
je 0x4e288f
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4e0d9d
mov edx, dword [eax]
mov edx, dword [edx + 0x40]
lea ecx, [esp + 0x1dc]
push ecx
push eax
call edx
mov edi, dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0x1dc]
push eax
lea ecx, [esp + 0x17c]
push ecx
call edi
movzx esi, byte [esp + 0x1b]
neg esi
sbb esi, esi
and esi, 0xfffffff4
add esi, 0x14
call fcn.0046daa0
cmp byte [eax + 0xc], 0
je 0x4e2866
mov eax, dword [eax]
cmp eax, 0x64
je 0x4e2866
push 0x64
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x4e2868
mov eax, esi
add dword [esp + 0x184], eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4e0d9d
mov edx, dword [eax]
mov edx, dword [edx + 0x44]
push 1
lea ecx, [esp + 0x17c]
push ecx
push eax
call edx
jmp 0x4e2895
mov edi, dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4e0d9d
push 0
push 0xa989
lea esi, [esp + 0xc0]
call fcn.00471100
mov byte [esp + 0x4a0], 0x40
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [esp + 0x48], 0
mov dword [esp + 0x20], esp
mov dword [ecx], eax
test eax, eax
je 0x4e28db
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea esi, [esp + 0x48]
call fcn.00484e90
test eax, eax
jge 0x4e28f3
cmp eax, 0x80004002
jne 0x4e2e0e
mov byte [esp + 0x4a0], 0x42
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x4e290e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [esp + 0x44]
test esi, esi
je 0x4e29d5
test bl, bl
je 0x4e29ac
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4e0d9d
mov ecx, dword [eax]
lea edx, [esp + 0x1cc]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
lea ecx, [esp + 0x1cc]
push ecx
lea edx, [esp + 0x1c0]
push edx
call edi
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0x14c]
push ecx
push esi
call edx
lea eax, [esp + 0x14c]
push eax
lea ecx, [esp + 0x104]
push ecx
call edi
mov edx, dword [esp + 0x1c0]
mov eax, dword [esp + 0x1c8]
mov dword [esp + 0x104], edx
push 1
mov dword [esp + 0x110], eax
mov ecx, dword [esi]
mov eax, dword [ecx + 0x44]
lea edx, [esp + 0x104]
push edx
push esi
call eax
cmp byte [esp + 0x1b], 0
mov edi, str.IDI_BG3
je 0x4e29b1
mov edi, str.IDI_BG2
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ecx
call fcn.00422950
mov byte [esp + 0x4a4], 0x43
mov ecx, esi
mov byte [esp + 0x4a4], 0x42
call fcn.0048c660
mov byte [esp + 0x4a0], 0x3f
test esi, esi
je 0x4e29e9
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov byte [esp + 0x4a0], 0x3d
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x4e2a04
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x4a0], 0x3a
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4e2a1c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x4a0], 0x39
test eax, eax
je 0x4e2a34
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x24]
add dword [esp + 0x50], 0xa0
mov dword [esp + 0x44], eax
cmp eax, dword [esp + 0x5c]
jb 0x4e24a4
cmp byte [esp + 0x1b], 0
mov ebx, dword [esp + 0x30]
je 0x4e2c3d
mov eax, dword [ebx + 0x1a4]
test eax, eax
je 0x4e0d9d
push 1
push 0xaa50
lea esi, [esp + 0xa8]
call fcn.00471100
push ecx
mov byte [esp + 0x4a4], 0x44
mov esi, esp
mov dword [esp + 0x20], esp
mov dword [esi], 0
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
mov dword [ecx], eax
test eax, eax
je 0x4e2aaa
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
call fcn.004707a0
test eax, eax
jge 0x4e2abe
cmp eax, 0x80004002
jne 0x4e2e0e
lea edi, [esp + 0x5c]
call fcn.00493080
add esp, 4
mov byte [esp + 0x4a0], 0x46
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x4e2ae5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4e2c29
push 1
push ecx
mov dword [esp + 0x24], esp
mov esi, esp
push ecx
mov dword [esi], 0
mov ecx, dword [esp + 0x64]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x64]
mov dword [esp + 0x28], esp
test eax, eax
je 0x4e2b1d
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00474c40
test eax, eax
jge 0x4e2b31
cmp eax, 0x80004002
jne 0x4e2e0e
call fcn.0048c7e0
mov eax, dword [esp + 0x60]
add esp, 8
test eax, eax
je 0x4e0d9d
push 0
push 0xaa5a
lea esi, [esp + 0x30]
call fcn.00471100
mov byte [esp + 0x4a0], 0x47
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [esp + 0x54], 0
mov dword [esp + 0x20], esp
mov dword [ecx], eax
test eax, eax
je 0x4e2b7c
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea esi, [esp + 0x54]
call fcn.00473e30
test eax, eax
jge 0x4e2b94
cmp eax, 0x80004002
jne 0x4e2e0e
mov byte [esp + 0x4a0], 0x49
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4e2bac
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [esp + 0x50]
test esi, esi
je 0x4e2bf5
push 0
push 0
push 0
push 0
push ecx
mov eax, esp
mov dword [eax], esi
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], esp
push esi
call ecx
mov ecx, dword [ebx + 0x30]
call fcn.004903d0
add esp, 0x14
push 1
push ecx
lea eax, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x24], esp
call fcn.00473d80
lea eax, [ebx + 0x50]
push eax
mov edx, ebx
call fcn.004ae1e0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4e0d9d
mov ecx, dword [esp + 0x58]
mov edx, dword [eax]
mov edx, dword [edx + 0xd4]
push ecx
push eax
call edx
mov byte [esp + 0x4a0], 0x46
test esi, esi
je 0x4e2c25
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x58]
mov byte [esp + 0x4a0], 0x39
test eax, eax
je 0x4e2c3d
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x4a0], 0x35
mov eax, dword [esp + 0xac]
test eax, eax
je 0x4e2c58
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x4a0], 0x34
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4e2c76
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4e2c76
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x54]
inc eax
cmp eax, dword [esp + 0xa4]
jae 0x4e2d46
mov eax, dword [esp + 0x98]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
mov dword [ecx], eax
test eax, eax
je 0x4e2ca4
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea edi, [esp + 0x7c]
call fcn.00493080
add esp, 4
mov byte [esp + 0x4a0], 0x4a
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4e2d32
push 1
push ecx
mov dword [esp + 0x24], esp
mov esi, esp
push ecx
mov dword [esi], 0
mov ecx, dword [esp + 0x84]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x84]
mov dword [esp + 0x28], esp
test eax, eax
je 0x4e2cf2
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00474c40
test eax, eax
jge 0x4e2d06
cmp eax, 0x80004002
jne 0x4e2e0e
call fcn.0048c7e0
lea eax, [ebx + 0x1a8]
mov eax, dword [eax]
add esp, 8
test eax, eax
je 0x4e0d9d
mov edx, dword [esp + 0x78]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xf4]
call eax
mov eax, dword [esp + 0x78]
mov byte [esp + 0x4a0], 0x34
test eax, eax
je 0x4e2d46
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x4a0], 0x2f
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4e2d5e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x4a0], 0x22
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4e2d76
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x4a0], 0x21
test ecx, ecx
je 0x4e2d8e
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [esp + 0x54]
inc eax
mov dword [esp + 0x54], eax
cmp eax, dword [esp + 0xa4]
jb 0x4e1830
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0xa4]
mov eax, dword [ebx + 0x1a4]
test eax, eax
jne 0x4e2dc3
push 0x80004003
call fcn.0053d640
push 1
push 0xaab4
lea esi, [esp + 0x30]
call fcn.00471100
mov byte [esp + 0x4a0], 0x4b
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [esp + 0x48], 0
mov dword [esp + 0x20], esp
mov dword [ecx], eax
test eax, eax
je 0x4e2dfa
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x48]
call fcn.004707a0
test eax, eax
jge 0x4e2e14
cmp eax, 0x80004002
je 0x4e2e14
push eax
call fcn.0053d640
mov byte [esp + 0x4a0], 0x4d
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4e2e2c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call fcn.00425b30
mov esi, eax
call fcn.00425f20
mov esi, dword [esp + 0x44]
cmp eax, 2
je 0x4e2eb1
test eax, eax
jne 0x4e2e69
call fcn.00425b30
mov ecx, dword [eax + 0x1c4]
sub ecx, dword [eax + 0x1c0]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4e2eb1
call fcn.00425b30
cmp edi, dword [eax + 0x1cc]
jb 0x4e2eb1
push 0
push ecx
lea eax, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x24], esp
call fcn.00473d80
call fcn.0048c7e0
add esp, 8
cmp dword [ebx + 0x1ac], 0
je 0x4e31bc
mov eax, dword [ebx + 0x1a4]
test eax, eax
jne 0x4e2eed
push 0x80004003
call fcn.0053d640
push 1
push ecx
mov dword [esp + 0x24], esp
mov edi, esp
push ecx
mov eax, esp
mov dword [edi], 0
mov dword [esp + 0x28], esp
mov dword [eax], esi
test esi, esi
je 0x4e2ed5
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov esi, edi
call fcn.00474c40
test eax, eax
jge 0x4e2e88
cmp eax, 0x80004002
je 0x4e2e88
push eax
call fcn.0053d640
push 1
push 0xaab4
lea esi, [esp + 0xa8]
call fcn.00471100
push ecx
mov byte [esp + 0x4a4], 0x4e
mov esi, esp
mov dword [esp + 0x20], esp
mov dword [esi], 0
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
mov dword [ecx], eax
test eax, eax
je 0x4e2f2c
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
call fcn.004707a0
test eax, eax
jge 0x4e2f42
cmp eax, 0x80004002
je 0x4e2f42
push eax
call fcn.0053d640
lea edi, [esp + 0x18]
call fcn.00493080
add esp, 4
mov byte [esp + 0x4a0], 0x50
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x4e2f69
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4e31a8
mov ecx, dword [eax]
lea edx, [esp + 0x14c]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
lea ecx, [esp + 0x14c]
push ecx
lea edx, [esp + 0x104]
push edx
call dword [sym.imp.USER32.dll_CopyRect]
push 1
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x24], esp
call fcn.00473d80
call fcn.0048c7e0
mov eax, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x4e2fc7
push 0x80004003
call fcn.0053d640
push 0
push 0xaabe
lea esi, [esp + 0x2c]
call fcn.00471100
lea ecx, [esp + 0x40]
mov byte [esp + 0x4a0], 0x51
call fcn.00473cc0
mov byte [esp + 0x4a0], 0x53
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4e3000
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [esp + 0x40]
test edi, edi
je 0x4e3124
push 0
push str.IDS_LIC_SEEMORE
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0xcc]
call fcn.004adb10
mov byte [esp + 0x4a4], 0x54
cmp dword [eax + 0x18], 8
jb 0x4e3037
mov esi, dword [eax + 4]
jmp 0x4e303a
lea esi, [eax + 4]
push ecx
mov eax, esp
mov dword [eax], edi
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], esp
push edi
call ecx
mov ecx, esi
call fcn.0048c990
add esp, 8
cmp dword [esp + 0xdc], 8
jb 0x4e306f
mov edx, dword [esp + 0xc8]
push edx
call fcn.0053d782
add esp, 4
push 0
push 0
xor esi, esi
push esi
push ecx
mov eax, esp
mov dword [esp + 0x2c], esp
mov dword [eax], esi
push esi
push 1
push ecx
mov byte [esp + 0x4bc], 0x55
lea eax, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0xd4], esp
call fcn.00473d80
mov eax, dword [ebx + 0x30]
push eax
mov ecx, esi
mov byte [esp + 0x4c0], 0x53
call fcn.00491600
add esp, 0x20
push 1
push ecx
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x24], esp
call fcn.00473d80
lea ecx, [ebx + 0x50]
push ecx
mov edx, ebx
call fcn.004ae1e0
mov edx, dword [edi]
mov ecx, dword [edx + 0x40]
lea eax, [esp + 0x14c]
push eax
push edi
call ecx
lea edx, [esp + 0x14c]
push edx
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x104]
mov ecx, eax
sub ecx, dword [esp + 0x6c]
mov dword [esp + 0x6c], eax
add dword [esp + 0x74], ecx
mov edx, dword [edi]
mov ecx, dword [edx + 0x44]
push 1
lea eax, [esp + 0x6c]
push eax
push edi
call ecx
mov edx, dword [edi]
mov eax, dword [edx + 0xc0]
push 1
push edi
call eax
mov eax, dword [ebx + 0x1a8]
test eax, eax
jne 0x4e3138
push 0x80004003
call fcn.0053d640
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xf4]
call eax
mov esi, dword [ebx + 0x1d0]
mov eax, dword [esp + 0x14]
cmp esi, eax
je 0x4e317c
mov dword [ebx + 0x1d0], eax
test eax, eax
je 0x4e316c
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x14]
test esi, esi
je 0x4e317c
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10c]
sub edx, dword [esp + 0x104]
mov byte [esp + 0x4a0], 0x50
mov dword [ebx + 0x1cc], edx
test edi, edi
je 0x4e31a8
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x4a0], 0x4d
test eax, eax
je 0x4e31bc
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebx + 0x1a8]
test eax, eax
jne 0x4e31d0
push 0x80004003
call fcn.0053d640
mov ecx, dword [eax]
mov edx, dword [ecx + 0x110]
push eax
call edx
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x4e3203
mov eax, dword [ebx + 0x1a8]
test eax, eax
jne 0x4e31f7
push 0x80004003
call fcn.0053d640
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x154]
call eax
mov ecx, dword [ebx + 0x1ac]
test ecx, ecx
je 0x4e322d
mov eax, dword [ebx + 0x1a8]
test eax, eax
jne 0x4e3221
push 0x80004003
call fcn.0053d640
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x150]
call eax
mov eax, dword [ebx + 0x1a8]
test eax, eax
jne 0x4e3241
push 0x80004003
call fcn.0053d640
mov ecx, dword [eax]
mov edx, dword [ecx + 0x9c]
push 1
push eax
call edx
call fcn.00425b30
mov ecx, dword [esp + 0xa4]
cmp ecx, dword [eax + 0x1cc]
mov eax, dword [ebx + 0x1a4]
setb byte [esp + 0x40]
mov edx, dword [esp + 0x40]
push edx
test eax, eax
jne 0x4e327e
push 0x80004003
call fcn.0053d640
push ecx
mov esi, esp
mov dword [esp + 0x24], esp
push 0
push 0xa870
call fcn.00471100
call fcn.0048c7e0
add esp, 8
cmp byte [esp + 0x40], 0
sete al
movzx ecx, al
mov eax, dword [ebx + 0x1a4]
push ecx
test eax, eax
jne 0x4e32b9
push 0x80004003
call fcn.0053d640
push ecx
mov esi, esp
mov dword [esp + 0x24], esp
push 0
push 0xa866
call fcn.00471100
call fcn.0048c7e0
mov edx, dword [ebx + 0x30]
add esp, 8
push edx
push ecx
mov esi, esp
mov dword [esp + 0x24], esp
mov dword [esi], 0
mov eax, dword [ebx + 0x1a4]
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
mov dword [ecx], eax
test eax, eax
je 0x4e3300
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
call fcn.00474c40
test eax, eax
jge 0x4e3316
cmp eax, 0x80004002
je 0x4e3316
push eax
call fcn.0053d640
lea esi, [esp + 0x190]
call fcn.004958a0
mov byte [esp + 0x4a0], 0x56
cmp byte [esp + 0x40], 0
mov eax, dword [ebx + 0x1a4]
push 1
je 0x4e3364
test eax, eax
jne 0x4e3347
push 0x80004003
call fcn.0053d640
push ecx
mov esi, esp
mov dword [esp + 0x24], esp
push 0
push 0xa870
call fcn.00471100
lea eax, [esp + 0x190]
push eax
jmp 0x4e338d
test eax, eax
jne 0x4e3372
push 0x80004003
call fcn.0053d640
push ecx
mov esi, esp
mov dword [esp + 0x24], esp
push 0
push 0xa866
call fcn.00471100
lea ecx, [esp + 0x190]
push ecx
call fcn.00495920
mov eax, dword [ebx + 0x1a4]
push 1
test eax, eax
jne 0x4e33a8
push 0x80004003
call fcn.0053d640
push ecx
mov esi, esp
mov dword [esp + 0x24], esp
push 0
push 0xa867
call fcn.00471100
lea edx, [esp + 0x190]
push edx
call fcn.00495920
push 0
lea eax, [esp + 0x18c]
push eax
call fcn.00495fb0
cmp byte [0x5d0e15], 0
je 0x4e33e4
push 0
jmp 0x4e33ef
cmp byte [0x5d0e16], 0
je 0x4e33f5
push 1
push ebx
call fcn.004e3cc0
mov byte [esp + 0x4a0], 0x4d
mov eax, dword [esp + 0x1a4]
test eax, eax
je 0x4e3410
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea edi, [esp + 0x188]
call fcn.004968d0
mov eax, dword [esp + 0x19c]
push eax
call fcn.0053d782
mov ecx, dword [esp + 0x18c]
add esp, 4
xor ebx, ebx
push ecx
mov dword [esp + 0x1a0], ebx
call fcn.0053d782
mov byte [esp + 0x4a4], 0x21
mov eax, dword [esp + 0x48]
add esp, 4
cmp eax, ebx
je 0x4e345d
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x4a0], 0x20
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e3485
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4a0], 0x1f
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x4e349d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x4a0], 0x1c
mov eax, dword [esp + 0x60]
cmp eax, ebx
je 0x4e34b5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x4a0], 0x19
mov eax, dword [esp + 0xa8]
cmp eax, ebx
je 0x4e34d0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, 8
cmp dword [esp + 0x234], edi
jb 0x4e34ee
mov eax, dword [esp + 0x220]
push eax
call fcn.0053d782
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [esp + 0x234], esi
mov dword [esp + 0x230], ebx
mov word [esp + 0x220], cx
cmp dword [esp + 0x250], edi
jb 0x4e3524
mov edx, dword [esp + 0x23c]
push edx
call fcn.0053d782
add esp, 4
xor eax, eax
lea edi, [esp + 0x254]
mov dword [esp + 0x250], esi
mov dword [esp + 0x24c], ebx
mov word [esp + 0x23c], ax
call fcn.00425ba0
mov byte [esp + 0x4a0], 0
mov eax, dword [esp + 0x98]
cmp eax, ebx
je 0x4e3563
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x170]
push eax
mov dword [esp + 0x4a4], 0xffffffff
call fcn.00470cd0
mov ecx, dword [esp + 0x498]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x480]
xor ecx, esp
call fcn.0053d78d
mov esp, ebp
pop ebp
ret 0xc