Function at 0x49327c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2cc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x130], eax
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x134], edx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x140], ecx
movzx ebx, word [ebp + 0x14]
mov dword [ebp - 0x138], ebx
movsx eax, word [ebp + 0x18]
mov dword [ebp - 0x13c], eax
movzx edx, byte [ebp + 0x20]
mov byte [ebp - 0x141], dl
mov dword [ebp - 0x104], 0x80c9e4
mov dword [ebp - 0x100], 0x990902
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0xf8], 0x495fe0
mov dword [ebp - 0xf4], esp
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call fcn.0080f6e4
mov ebx, dword [ebp + 0xc]
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x130]
mov dword [esp], eax
mov dword [ebp - 0x118], 0xffffffff
call fcn.0048dbc6
mov dword [ebp - 0x148], eax
mov byte [ebp - 0x149], 0
mov byte [ebp - 0x14a], 0
mov byte [ebp - 0x14b], 0
mov byte [ebp - 0x14c], 0
test eax, eax
je 0x493381
mov edx, eax
mov eax, dword [eax]
mov dword [esp], edx
call dword [eax + 0x34]
test al, al
jne 0x493381
mov ecx, 0
mov ebx, dword [ebp - 0x148]
cmp dword [ebx + 0x694], 0
je 0x49337d
mov eax, dword [ebx + 0x694]
mov edx, dword [eax + 0x2c]
mov eax, edx
shr eax, 0xa
and eax, 1
test al, al
je 0x49337d
mov ecx, 1
test cl, cl
je 0x493390
mov dword [ebp - 0x12c], 0
jmp 0x49644e
lea eax, [ebp - 0x28]
mov dword [esp], eax
call sub.msvcrt.dll__ftime
movsx esi, word [ebp - 0x24]
mov edi, esi
sar edi, 0x1f
mov ecx, 0x3e8
mov eax, dword [ebp - 0x28]
imul ecx
mov ecx, eax
mov ebx, edx
mov eax, esi
mov edx, edi
add eax, ecx
adc edx, ebx
mov ecx, 1
mov ebx, dword [ebp - 0x148]
cmp dword [ebx + 0x5b4], edx
jl 0x4933dc
jg 0x4933d7
cmp dword [ebx + 0x5b0], eax
jbe 0x4933dc
mov ecx, 0
test cl, cl
jne 0x49362c
mov eax, dword [ebp - 0x148]
mov dword [esp], eax
mov dword [ebp - 0x118], 0xffffffff
call fcn.006851f4
mov dword [ebp - 0x154], eax
mov edx, dword [ebp - 0x140]
mov eax, dword [edx]
mov dword [ebp - 0x68], eax
movzx eax, word [edx + 4]
mov word [ebp - 0x64], ax
lea esi, [ebp - 0x68]
mov ecx, dword [ebp - 0x134]
mov eax, dword [ecx]
mov dword [ebp - 0x78], eax
movzx eax, word [ecx + 4]
mov word [ebp - 0x74], ax
lea ebx, [ebp - 0x78]
mov eax, fcn.0049327c
mov edx, 0
movzx ecx, byte [ebp - 0x141]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], esi
mov ecx, dword [ebp - 0x13c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp - 0x138]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebx
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x10], ebx
mov ecx, dword [ebp - 0x130]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
lea ebx, [ebp - 0x58]
mov dword [esp], ebx
mov dword [ebp - 0x118], 0x42
call fcn.008ac708
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
lea edx, [ebp - 0x28]
mov dword [esp], edx
mov dword [ebp - 0x118], 0x41
call fcn.008c5f38
cmp dword [ebp - 0x154], 0
jne 0x4934d6
mov dword [esp + 8], 0x2e
mov dword [esp + 4], 0x9b387b
mov dword [esp], 0x9b388a
call sub.msvcrt.dll__assert
cmp dword [ebp - 0x154], 0x31
ja 0x4934e9
mov dword [ebp - 0x154], 0x32
mov dword [esp], 0x28
mov dword [ebp - 0x118], 0x40
call fcn.0080e1c4
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x15c], eax
lea ecx, [ebp - 0x28]
mov dword [esp + 8], ecx
mov ebx, dword [ebp - 0x154]
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [ebp - 0x118], 0x3f
call fcn.00846b7c
jmp 0x49358d
mov eax, dword [ebp - 0x15c]
mov dword [eax], vtable.D.4.0
mov dword [eax + 0x20], 0
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x150], edx
cmp dword [ebp - 0x28], 0
je 0x4935fb
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
cmp dword [eax], 0
je 0x4935da
mov dword [esp + 8], 2
mov dword [esp + 4], edx
mov dword [esp], edx
mov eax, dword [eax]
mov dword [ebp - 0x118], 0x41
call eax
mov dword [ebp - 0x28], 0
jmp 0x4935fb
mov ebx, dword [ebp - 0x150]
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x148]
mov dword [esp], eax
mov dword [ebp - 0x118], 0xffffffff
call fcn.0068513a
mov dword [ebp - 0x12c], 0
jmp 0x49644e
mov dword [esp + 4], 0
mov edx, dword [ebp - 0x148]
mov dword [esp], edx
mov dword [ebp - 0x118], 0xffffffff
call fcn.0068513a
mov ecx, dword [ebp - 0x134]
mov dword [esp + 8], ecx
mov ebx, dword [ebp - 0x148]
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x130]
mov dword [esp], eax
call fcn.0048d3e2
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x174], 0
mov edx, dword [ebp - 0x134]
cmp word [edx], 0xffff
jne 0x49377e
test byte [edx + 2], 0x40
je 0x493762
movzx ecx, byte [edx + 4]
mov byte [ebp - 0x175], cl
mov ebx, eax
mov eax, dword [eax]
mov dword [esp], ebx
call dword [eax + 0x20]
mov dword [ebp - 0x16c], eax
test eax, eax
je 0x4938e4
mov dword [esp], eax
call fcn.00578a24
mov dword [ebp - 0x174], eax
mov edx, dword [ebp - 0x16c]
mov eax, dword [edx]
mov eax, dword [eax - 0xc]
add eax, edx
mov dword [esp], eax
call fcn.007449fe
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0x20]
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x16c]
movzx eax, word [ecx + 8]
mov dword [esp + 4], eax
mov dword [esp], 0x9f2320
call fcn.0059885a
cmp dword [eax + 0x17c], 1
je 0x493756
cmp dword [ebp - 0x17c], 0
je 0x4938e4
mov ebx, dword [ebp - 0x17c]
movzx eax, word [ebx + 8]
mov dword [esp + 4], eax
mov dword [esp], 0x9f2320
call fcn.0059885a
cmp dword [eax + 0x17c], 1
jne 0x4938e4
mov byte [ebp - 0x14b], 1
jmp 0x4938e4
mov eax, dword [ebp - 0x134]
movzx eax, byte [eax + 2]
mov byte [ebp - 0x175], al
mov byte [ebp - 0x14a], 1
jmp 0x4938e4
movzx edx, byte [ebp - 0x13c]
mov byte [ebp - 0x175], dl
mov ecx, dword [ebp - 0x168]
mov eax, dword [ecx]
mov dword [esp], ecx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x118], 0xffffffff
call eax
test byte [eax + 0x17], 0x20
je 0x4937b0
add eax, 0x1c
jmp 0x4937b3
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x180], eax
mov dword [esp + 0x14], 1
mov ebx, dword [ebp - 0x138]
mov dword [esp + 0x10], ebx
movzx eax, byte [ebp - 0x175]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x134]
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x148]
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x130]
mov dword [esp], ecx
mov dword [ebp - 0x118], 0xffffffff
call fcn.0048d45a
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0x24]
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x16c], 0
mov ebx, dword [ebp - 0x168]
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 0x170], eax
mov edx, dword [ebp - 0x180]
mov eax, dword [edx + 8]
mov dword [ebp - 0x78], eax
jmp 0x49388f
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x188], ecx
mov dword [esp], ecx
mov dword [ebp - 0x118], 0xffffffff
call fcn.0090c0e0
mov ebx, dword [ebp - 0x184]
cmp dword [eax], ebx
je 0x49387a
mov eax, dword [ebp - 0x188]
mov dword [esp], eax
call fcn.0090c0e0
mov eax, dword [eax]
mov dword [ebp - 0x16c], eax
lea edx, [ebp - 0x78]
mov dword [esp], edx
mov dword [ebp - 0x118], 0xffffffff
call fcn.00936fc4
mov ecx, dword [ebp - 0x180]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x68], eax
lea ebx, [ebp - 0x68]
mov dword [esp + 4], ebx
lea eax, [ebp - 0x78]
mov dword [esp], eax
mov dword [ebp - 0x118], 0xffffffff
call fcn.00987d44
test al, al
jne 0x49383f
cmp dword [ebp - 0x16c], 0
sete dl
mov ecx, dword [ebp - 0x184]
cmp dword [ebp - 0x16c], ecx
sete al
or dl, al
je 0x4938e4
mov ebx, dword [ebp - 0x170]
mov dword [ebp - 0x16c], ebx
mov dword [esp + 0x14], 1
mov eax, dword [ebp - 0x138]
mov dword [esp + 0x10], eax
movzx eax, byte [ebp - 0x175]
mov dword [esp + 0xc], eax
mov edx, dword [ebp - 0x134]
mov dword [esp + 8], edx
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov ebx, dword [ebp - 0x130]
mov dword [esp], ebx
mov dword [ebp - 0x118], 0xffffffff
call fcn.0048d45a
mov dword [ebp - 0x18c], eax
test eax, eax
je 0x493945
mov edx, eax
mov eax, dword [eax]
mov dword [esp], edx
call dword [eax + 0x24]
test eax, eax
jne 0x493974
mov dword [esp + 4], 2
mov ecx, dword [ebp - 0x148]
mov dword [esp], ecx
mov dword [ebp - 0x118], 0xffffffff
call fcn.0067ec58
mov dword [ebp - 0x12c], 0
jmp 0x49644e
mov ebx, dword [ebp - 0x18c]
mov eax, dword [ebx]
mov dword [esp], ebx
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x118], 0xffffffff
call eax
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x140]
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x148]
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x130]
mov dword [esp], ecx
call fcn.0048d3e2
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x1a0], 0
mov byte [ebp - 0x1a1], 0
mov ebx, dword [ebp - 0x140]
cmp word [ebx], 0xffff
jne 0x493b20
test byte [ebx + 2], 0x40
je 0x493ab5
movzx eax, byte [ebx + 4]
mov byte [ebp - 0x1a1], al
mov edx, dword [ebp - 0x194]
mov eax, dword [edx]
mov dword [esp], edx
call dword [eax + 0x20]
mov dword [ebp - 0x198], eax
test eax, eax
je 0x493b6e
mov dword [esp], eax
call fcn.00578a24
mov dword [ebp - 0x1a0], eax
mov ecx, dword [ebp - 0x198]
mov eax, dword [ecx]
mov eax, dword [eax - 0xc]
add eax, ecx
mov dword [esp], eax
call fcn.007449fe
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0x20]
mov dword [ebp - 0x1a8], eax
mov ebx, dword [ebp - 0x198]
movzx eax, word [ebx + 8]
mov dword [esp + 4], eax
mov dword [esp], 0x9f2320
call fcn.0059885a
cmp dword [eax + 0x17c], 1
je 0x493aa9
cmp dword [ebp - 0x1a8], 0
je 0x493b6e
mov edx, dword [ebp - 0x1a8]
movzx eax, word [edx + 8]
mov dword [esp + 4], eax
mov dword [esp], 0x9f2320
call fcn.0059885a
cmp dword [eax + 0x17c], 1
jne 0x493b6e
mov byte [ebp - 0x14c], 1
jmp 0x493b6e
mov ecx, dword [ebp - 0x140]
movzx ecx, byte [ecx + 2]
mov byte [ebp - 0x1a1], cl
mov byte [ebp - 0x149], 1
movzx eax, cl
mov dword [esp + 4], eax
mov ebx, dword [ebp - 0x148]
mov dword [esp], ebx
mov dword [ebp - 0x118], 0xffffffff
call fcn.00679ad2
mov dword [ebp - 0x1ac], eax
test eax, eax
je 0x493b6e
movzx eax, word [eax + 8]
mov dword [esp + 4], eax
mov dword [esp], 0x9f2320
call fcn.0059885a
cmp dword [eax + 0x178], 2
jne 0x493b6e
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x198], eax
jmp 0x493b6e
mov edx, dword [ebp - 0x194]
mov eax, dword [edx]
mov dword [esp], edx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x118], 0xffffffff
call eax
mov dword [esp], eax
call fcn.00745b70
mov dword [ebp - 0x198], eax
mov ecx, dword [ebp - 0x194]
mov eax, dword [ecx]
mov dword [esp], ecx
call dword [eax + 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x198], 0
jne 0x493b6e
mov dword [ebp - 0x198], eax
movzx eax, byte [ebp - 0x1a1]
mov dword [esp + 4], eax
mov ebx, dword [ebp - 0x148]
mov dword [esp], ebx
mov dword [ebp - 0x118], 0xffffffff
call fcn.00679ad2
mov byte [ebp - 0x1ad], 0
test eax, eax
je 0x493bbe
movzx eax, word [eax + 8]
mov dword [esp + 4], eax
mov dword [esp], 0x9f2320
call fcn.0059885a
cmp dword [eax + 0x178], 2
sete byte [ebp - 0x1ad]
cmp dword [ebp - 0x168], 0
sete dl
cmp dword [ebp - 0x194], 0
sete al
or dl, al
jne 0x493c0f
cmp dword [ebp - 0x190], 0
je 0x493c0f
mov edx, dword [ebp - 0x190]
movzx eax, word [edx + 8]
mov dword [esp + 4], eax
mov dword [esp], 0x9f2320
mov dword [ebp - 0x118], 0xffffffff
call fcn.0059885a
movzx eax, word [eax + 0x58]
cmp eax, dword [ebp - 0x138]
je 0x493c3e
mov dword [esp + 4], 2
mov ecx, dword [ebp - 0x148]
mov dword [esp], ecx
mov dword [ebp - 0x118], 0xffffffff
call fcn.0067ec58
mov dword [ebp - 0x12c], 0
jmp 0x49644e
mov ecx, 0
mov ebx, dword [ebp - 0x148]
cmp dword [ebx + 0x694], 0
je 0x493c6e
mov eax, dword [ebx + 0x694]
mov edx, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
shrd eax, edx, 7
and eax, 1
test al, al
je 0x493c6e
mov ecx, 1
test cl, cl
jne 0x4940de
mov edx, dword [ebp - 0x190]
mov eax, dword [edx]
mov dword [esp], edx
mov eax, dword [eax + 0x74]
mov dword [ebp - 0x118], 0xffffffff
call eax
test al, al
je 0x4940af
mov ecx, dword [ebp - 0x190]
cmp byte [ecx + 0x10], 0
je 0x4940de
lea ebx, [ebp - 0x68]
mov dword [esp], ebx
call fcn.00922308
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x9b3843
lea edx, [ebp - 0x78]
mov dword [esp], edx
mov dword [ebp - 0x118], 0x3e
call fcn.0092bb18
lea ecx, [ebp - 0x78]
mov dword [esp + 4], ecx
mov ebx, dword [ebp - 0x190]
mov dword [esp], ebx
mov dword [ebp - 0x118], 0x3d
call fcn.007aca70
jmp 0x493db1
mov dword [ebp - 0x1b4], eax
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x1c8], edx
sub edx, 0xc
mov dword [ebp - 0x1c4], edx
lea ecx, [ebp - 0x78]
mov dword [esp + 4], ecx
lea ebx, [ebp - 0x58]
mov dword [esp], ebx
call fcn.009222f8
cmp dword [ebp - 0x1c4], 0x9aba1c
je 0x493e5b
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1c8]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x118], 0x3b
call fcn.00815de4
test eax, eax
jg 0x493e5b
mov dword [esp + 4], ebx
mov edx, dword [ebp - 0x1c4]
mov dword [esp], edx
call fcn.00929958
jmp 0x493e5b
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.00922338
lea eax, [ebp - 0x78]
mov dword [esp], eax
call fcn.00922348
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.00922338
mov eax, 0
cmp dword [ebp - 0x1b4], 0
je 0x493e92
mov edx, dword [ebp - 0x1b4]
mov eax, dword [edx]
test eax, eax
jne 0x4940af
lea ecx, [ebp - 0x68]
mov dword [esp], ecx
call fcn.00922308
lea ebx, [ebp - 0x68]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x9b3890
lea eax, [ebp - 0x78]
mov dword [esp], eax
mov dword [ebp - 0x118], 0x3a
call fcn.0092bb18
lea edx, [ebp - 0x78]
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x190]
mov dword [esp], ecx
mov dword [ebp - 0x118], 0x39
call fcn.007aca70
jmp 0x493fa9
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x1e0], eax
sub eax, 0xc
mov dword [ebp - 0x1dc], eax
lea edx, [ebp - 0x78]
mov dword [esp + 4], edx
lea ecx, [ebp - 0x58]
mov dword [esp], ecx
call fcn.009222f8
cmp dword [ebp - 0x1dc], 0x9aba1c
je 0x494056
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1e0]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x118], 0x37
call fcn.00815de4
test eax, eax
jg 0x494056
lea ebx, [ebp - 0x58]
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x1dc]
mov dword [esp], eax
call fcn.00929958
jmp 0x494056
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.00922338
lea ebx, [ebp - 0x78]
mov dword [esp], ebx
call fcn.00922348
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.00922338
mov eax, 0
cmp dword [ebp - 0x1cc], 0
je 0x49408d
mov edx, dword [ebp - 0x1cc]
mov eax, dword [edx]
test eax, eax
je 0x4940de
mov ecx, dword [ebp - 0x190]
mov eax, dword [ecx]
mov dword [esp], ecx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x118], 0xffffffff
call eax
test eax, eax
je 0x4940de
mov dword [esp + 4], 0xa
mov ebx, dword [ebp - 0x148]
mov dword [esp], ebx
mov dword [ebp - 0x118], 0xffffffff
call fcn.0067ec58
mov dword [ebp - 0x12c], 0
jmp 0x49644e
mov edx, dword [ebp - 0x168]
mov eax, dword [edx]
mov dword [esp], edx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x118], 0xffffffff
call eax
mov edx, dword [eax]
mov dword [esp + 4], eax
lea ecx, [ebp - 0x78]
mov dword [esp], ecx
call dword [edx + 0x14]
sub esp, 4
mov ebx, dword [ebp - 0x194]
mov eax, dword [ebx]
mov dword [esp], ebx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x118], 0x36
call eax
mov edx, dword [eax]
mov dword [esp + 4], eax
lea eax, [ebp - 0x68]
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 4
mov edx, dword [ebp - 0x148]
mov eax, dword [edx]
mov dword [esp + 4], edx
lea ecx, [ebp - 0x58]
mov dword [esp], ecx
mov eax, dword [eax + 0x1e4]
mov dword [ebp - 0x118], 0x35
call eax
sub esp, 4
mov eax, dword [ebp - 0x74]
cmp ax, word [ebp - 0x54]
jae 0x4941c9
mov ecx, 0
mov ebx, dword [ebp - 0x148]
cmp dword [ebx + 0x694], 0
je 0x494196
mov eax, dword [ebx + 0x694]
mov edx, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
shrd eax, edx, 6
and eax, 1
test al, al
je 0x494196
mov ecx, 1
test cl, cl
jne 0x4941c9
mov dword [esp + 4], 0x14
mov eax, dword [ebp - 0x148]
mov dword [esp], eax
mov dword [ebp - 0x118], 0x34
call fcn.0067ec58
mov dword [ebp - 0x12c], 0
jmp 0x49644e
mov eax, dword [ebp - 0x74]
cmp ax, word [ebp - 0x54]
jbe 0x494235
mov ecx, 0
mov edx, dword [ebp - 0x148]
cmp dword [edx + 0x694], 0
je 0x494202
mov eax, dword [edx + 0x694]
mov edx, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
shrd eax, edx, 6
and eax, 1
test al, al
je 0x494202
mov ecx, 1
test cl, cl
jne 0x494235
mov dword [esp + 4], 0x13
mov ecx, dword [ebp - 0x148]
mov dword [esp], ecx
mov dword [ebp - 0x118], 0x34
call fcn.0067ec58
mov dword [ebp - 0x12c], 0
jmp 0x49644e
lea ebx, [ebp - 0x78]
mov dword [esp + 4], ebx
lea eax, [ebp - 0x58]
mov dword [esp], eax
mov dword [ebp - 0x118], 0x34
call fcn.008f4914
test al, al
jne 0x494947
mov ecx, 0
mov edx, dword [ebp - 0x148]
cmp dword [edx + 0x694], 0
je 0x494289
mov eax, dword [edx + 0x694]
mov edx, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
shrd eax, edx, 9
and eax, 1
test al, al
je 0x494289
mov ecx, 1
test cl, cl
jne 0x494947
lea ecx, [ebp - 0x38]
mov dword [esp], ecx
call fcn.0091e748
lea ebx, [ebp - 0x38]
mov dword [esp + 4], ebx
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0x118], 0x33
call fcn.00947b10
jmp 0x4942ca
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.0091e78c
mov edx, dword [ebp - 0x190]
mov eax, dword [edx]
mov eax, dword [eax - 0xc]
mov ecx, edx
mov edx, dword [eax + edx]
add eax, ecx
mov dword [esp + 4], eax
lea ebx, [ebp - 0x38]
mov dword [esp], ebx
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x118], 0x32
call eax
sub esp, 4
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
lea eax, [ebp - 0x48]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov edx, dword [ebp - 0x148]
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x130]
mov dword [esp], ecx
mov dword [ebp - 0x118], 0x31
call fcn.004b001a
test al, al
je 0x4948e7
lea ebx, [ebp - 0x48]
mov dword [esp + 4], ebx
lea eax, [ebp - 0xb8]
mov dword [esp], eax
call fcn.0091e75c
lea edx, [ebp - 0xb8]
mov dword [esp + 4], edx
lea ecx, [ebp - 0xc8]
mov dword [esp], ecx
call fcn.0091f3c4
lea ebx, [ebp - 0xc8]
mov dword [esp + 4], ebx
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call fcn.0091f3d8
mov dword [esp], ebx
call fcn.0091f3f4
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xa8], ecx
mov ebx, ecx
mov dword [ebp - 0xa4], ecx
lea eax, [ebp - 0xb8]
mov dword [esp], eax
call fcn.0091e78c
lea edx, [ebp - 0x48]
mov dword [esp], edx
mov dword [ebp - 0x118], 0x30
call fcn.0090d460
mov dword [ebp - 0x1e4], eax
lea ecx, [ebp - 0x48]
mov dword [esp], ecx
call fcn.0090d468
mov dword [ebp - 0x1e8], eax
mov dword [esp], ebx
call fcn.00947890
mov edx, dword [ebp - 0x1e4]
mov dword [esp + 0xc], edx
mov ecx, dword [ebp - 0x1e8]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.009478ec
jmp 0x494446
lea eax, [ebp - 0xa8]
mov ecx, dword [ebp - 0x148]
mov ebx, dword [ecx + 0x224]
mov edx, 0x49b468
mov ecx, 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov ebx, dword [ebp - 0x130]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
lea eax, [ebp - 0x98]
mov dword [esp], eax
mov dword [ebp - 0x118], 0x2f
call fcn.008acf50
sub esp, 4
lea eax, [ebp - 0x98]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea edx, [ebp - 0x28]
mov dword [esp], edx
mov dword [ebp - 0x118], 0x2e
call fcn.008c31bc
mov dword [esp], 0x20
mov dword [ebp - 0x118], 0x2d
call fcn.0080e1c4
mov dword [ebp - 0x1f0], eax
mov dword [eax], vtable.4Town.0
mov dword [esp], 0
mov dword [ebp - 0x118], 0x2c
call fcn.008c9610
mov ecx, dword [ebp - 0x1f0]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
lea ebx, [ebp - 0x28]
mov dword [esp + 4], ebx
mov eax, ecx
add eax, 0x10
mov dword [esp], eax
call fcn.008c2668
jmp 0x494528
mov edx, dword [ebp - 0x1f0]
mov dword [ebp - 0x1ec], edx
cmp byte [0x9ab850], 0
jne 0x494566
mov dword [esp], 0x9aba60
mov dword [ebp - 0x118], 0x2d
call fcn.0073e0ac
mov byte [0x9ab850], 1
mov dword [esp], 0x489fe6
call fcn.004012c0
mov dword [esp + 8], 0
mov ecx, dword [ebp - 0x1ec]
mov dword [esp + 4], ecx
mov dword [esp], 0x9aba60
mov dword [ebp - 0x118], 0x2d
call fcn.0073ea7e
jmp 0x4945df
cmp dword [ebp - 0x28], 0
je 0x49464d
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
cmp dword [eax], 0
je 0x49460d
mov dword [esp + 8], 2
mov dword [esp + 4], edx
mov dword [esp], edx
mov eax, dword [eax]
mov dword [ebp - 0x118], 0x2e
call eax
mov dword [ebp - 0x28], 0
jmp 0x49464d
lea edx, [ebp - 0x88]
mov dword [esp], edx
call fcn.0092d3e8
lea ecx, [ebp - 0x88]
mov dword [esp], ecx
call fcn.0091f408
lea ebx, [ebp - 0xa8]
mov dword [esp], ebx
call fcn.0092d3e8
mov dword [esp], ebx
call fcn.0091f408
mov edx, dword [ebp - 0x148]
mov dword [esp], edx
mov dword [ebp - 0x118], 0x32
call fcn.0045ba54
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp - 0x140]
mov eax, dword [ecx]
mov dword [ebp - 0x98], eax
movzx eax, word [ecx + 4]
mov word [ebp - 0x94], ax
mov ebx, dword [ebp - 0x134]
mov eax, dword [ebx]
mov dword [ebp - 0x88], eax
movzx eax, word [ebx + 4]
mov word [ebp - 0x84], ax
mov eax, fcn.0049327c
mov edx, 0
movzx ecx, byte [ebp - 0x141]
mov dword [esp + 0x24], ecx
lea ecx, [ebp - 0x98]
mov dword [esp + 0x20], ecx
mov ebx, dword [ebp - 0x13c]
mov dword [esp + 0x1c], ebx
mov ecx, dword [ebp - 0x138]
mov dword [esp + 0x18], ecx
lea ebx, [ebp - 0x88]
mov dword [esp + 0x14], ebx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x10], ecx
mov ebx, dword [ebp - 0x130]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
lea eax, [ebp - 0xc8]
mov dword [esp], eax
mov dword [ebp - 0x118], 0x2b
call fcn.008ac708
sub esp, 4
mov dword [esp + 8], 0
lea edx, [ebp - 0xc8]
mov dword [esp + 4], edx
lea ecx, [ebp - 0x28]
mov dword [esp], ecx
mov dword [ebp - 0x118], 0x2a
call fcn.008c5f38
cmp dword [ebp - 0x1fc], 0
jne 0x49478c
mov dword [esp + 8], 0x2e
mov dword [esp + 4], 0x9b387b
mov dword [esp], 0x9b388a
call sub.msvcrt.dll__assert
cmp dword [ebp - 0x1fc], 0x31
ja 0x49479f
mov dword [ebp - 0x1fc], 0x32
mov dword [esp], 0x28
mov dword [ebp - 0x118], 0x29
call fcn.0080e1c4
mov dword [ebp - 0x200], eax
mov dword [ebp - 0x204], eax
lea ebx, [ebp - 0x28]
mov dword [esp + 8], ebx
mov eax, dword [ebp - 0x1fc]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x200]
mov dword [esp], edx
mov dword [ebp - 0x118], 0x28
call fcn.00846b7c
jmp 0x49484c
mov edx, dword [ebp - 0x204]
mov dword [edx], vtable.D.4.0
mov dword [edx + 0x20], 0
mov ecx, dword [ebp - 0x200]
mov dword [ebp - 0x1f8], ecx
cmp dword [ebp - 0x28], 0
je 0x4948a0
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
cmp dword [eax], 0
je 0x494899
mov dword [esp + 8], 2
mov dword [esp + 4], edx
mov dword [esp], edx
mov eax, dword [eax]
mov dword [ebp - 0x118], 0x2a
call eax
mov dword [ebp - 0x28], 0
mov ebx, dword [ebp - 0x1f8]
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x148]
mov dword [esp], eax
mov dword [ebp - 0x118], 0x32
call fcn.00684ba4
lea edx, [ebp - 0x48]
mov dword [esp], edx
call fcn.0092d3e8
lea ecx, [ebp - 0x48]
mov dword [esp], ecx
call fcn.0091f408
mov dword [ebp - 0x12c], 1
jmp 0x49644e
mov dword [esp + 4], 7
mov ebx, dword [ebp - 0x148]
mov dword [esp], ebx
mov dword [ebp - 0x118], 0x32
call fcn.0067ec58
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.0092d3e8
lea edx, [ebp - 0x48]
mov dword [esp], edx
call fcn.0091f408
mov dword [ebp - 0x12c], 0
jmp 0x49644e
mov edx, dword [ebp - 0x190]
movzx eax, word [edx + 8]
mov dword [esp + 4], eax
mov dword [esp], 0x9f2320
mov dword [ebp - 0x118], 0x34
call fcn.0059885a
cmp byte [eax + 0x11], 0
je 0x49537d
mov ecx, dword [ebp - 0x194]
mov eax, dword [ecx]
mov dword [esp], ecx
call dword [eax + 0x18]
mov dword [esp + 4], 0xb
mov dword [esp], eax
call fcn.007453f2
test al, al
je 0x49537d
mov ebx, dword [ebp - 0x194]
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x18]
mov dword [esp + 4], 4
mov dword [esp], eax
call fcn.007453f2
test al, al
je 0x494a0e
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x148]
mov edx, dword [ecx]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x1e4]
sub esp, 4
movzx eax, word [ebp - 0x48]
inc eax
movzx edx, word [ebp - 0x68]
cmp eax, edx
jne 0x494a89
mov dword [esp + 4], 2
mov ebx, dword [ebp - 0x148]
mov dword [esp], ebx
call fcn.0067ec58
mov dword [ebp - 0x12c], 0
jmp 0x49644e
mov edx, dword [ebp - 0x194]
mov eax, dword [edx]
mov dword [esp], edx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x118], 0x34
call eax
mov dword [esp + 4], 5
mov dword [esp], eax
call fcn.007453f2
test al, al
je 0x494a89
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x148]
mov edx, dword [ecx]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x1e4]
sub esp, 4
movzx eax, word [ebp - 0x46]
inc eax
movzx edx, word [ebp - 0x66]
cmp eax, edx
jne 0x494a89
mov dword [esp + 4], 2
mov ebx, dword [ebp - 0x148]
mov dword [esp], ebx
call fcn.0067ec58
mov dword [ebp - 0x12c], 0
jmp 0x49644e
lea eax, [ebp - 0x68]
mov dword [esp + 4], eax
lea edx, [ebp - 0x58]
mov dword [esp], edx
mov dword [ebp - 0x118], 0x34
call fcn.008f4914
test al, al
jne 0x49537d
mov ecx, 0
mov ebx, dword [ebp - 0x148]
cmp dword [ebx + 0x694], 0
je 0x494add
mov eax, dword [ebx + 0x694]
mov edx, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
shrd eax, edx, 9
and eax, 1
test al, al
je 0x494add
mov ecx, 1
test cl, cl
jne 0x49537d
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x64]
mov word [ebp - 0x44], ax
mov edx, dword [ebp - 0x194]
mov eax, dword [edx]
mov dword [esp], edx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x118], 0x27
call eax
mov dword [esp + 4], 4
mov dword [esp], eax
call fcn.007453f2
test al, al
je 0x494b28
mov eax, dword [ebp - 0x48]
inc eax
mov word [ebp - 0x48], ax
mov ecx, dword [ebp - 0x194]
mov eax, dword [ecx]
mov dword [esp], ecx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x118], 0x27
call eax
mov dword [esp + 4], 5
mov dword [esp], eax
call fcn.007453f2
test al, al
je 0x494b5f
movzx eax, word [ebp - 0x46]
inc eax
mov word [ebp - 0x46], ax
mov ebx, dword [ebp - 0x134]
mov eax, dword [ebx]
mov dword [ebp - 0x38], eax
movzx eax, word [ebx + 4]
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x13c]
mov word [ebp - 0xca], ax
mov byte [ebp - 0x209], 0
cmp word [ebx], 0xffff
je 0x494be6
mov edx, dword [ebp - 0x148]
mov eax, dword [edx]
mov dword [esp + 4], edx
lea ecx, [ebp - 0x28]
mov dword [esp], ecx
mov eax, dword [eax + 0x1e4]
mov dword [ebp - 0x118], 0x25
call eax
sub esp, 4
lea ebx, [ebp - 0x28]
mov dword [esp + 4], ebx
lea eax, [ebp - 0x78]
mov dword [esp], eax
call fcn.008f4914
test al, al
je 0x494be6
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
lea edx, [ebp - 0x78]
mov dword [esp], edx
call fcn.008f4914
test al, al
jne 0x494be6
mov byte [ebp - 0x209], 1
cmp byte [ebp - 0x209], 0
je 0x494cce
mov dword [ebp - 0x120], 0
mov dword [esp + 0x20], 0
lea eax, [ebp - 0x120]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebp - 0x141]
mov dword [esp + 0x18], eax
mov ecx, dword [ebp - 0x190]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0xffffffff
mov eax, 0
cmp dword [ebp - 0x148], 0
je 0x494c45
mov eax, dword [ebp - 0x148]
add eax, 0x334
mov dword [esp + 0xc], eax
mov ebx, dword [ebp - 0x168]
mov dword [esp + 8], ebx
mov eax, dword [ebp - 0x148]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x130]
mov dword [esp], edx
mov dword [ebp - 0x118], 0x26
call fcn.0049646a
cmp eax, 1
je 0x494c9b
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp], ecx
call fcn.0067ec58
mov dword [ebp - 0x12c], 0
jmp 0x49644e
lea eax, [ebp - 0xca]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x38]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x120]
mov dword [esp + 4], eax
mov ebx, dword [ebp - 0x130]
mov dword [esp], ebx
mov dword [ebp - 0x118], 0x26
call fcn.0048d9e8
lea eax, [ebp - 0xc8]
mov dword [esp], eax
call fcn.0091e748
lea edx, [ebp - 0xc8]
mov dword [esp + 4], edx
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0x118], 0x24
call fcn.00947b10
jmp 0x494d10
lea eax, [ebp - 0xc8]
mov dword [esp], eax
call fcn.0091e78c
mov dword [esp + 0x10], 0xffffffff
lea ecx, [ebp - 0x28]
mov dword [esp + 0xc], ecx
lea eax, [ebp - 0x48]
mov dword [esp + 8], eax
mov ebx, dword [ebp - 0x148]
mov dword [esp + 4], ebx
mov edx, dword [ebp - 0x130]
mov eax, dword [edx + 0x198]
mov dword [esp], eax
mov dword [ebp - 0x118], 0x23
call fcn.005fb36a
test al, al
je 0x495320
lea ecx, [ebp - 0x28]
mov dword [esp + 4], ecx
lea ebx, [ebp - 0x88]
mov dword [esp], ebx
call fcn.0091e75c
mov dword [esp + 4], ebx
lea edx, [ebp - 0xe8]
mov dword [esp], edx
call fcn.0091f3c4
lea ecx, [ebp - 0xe8]
mov dword [esp + 4], ecx
lea ebx, [ebp - 0x98]
mov dword [esp], ebx
call fcn.0091f3d8
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.0091f3f4
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
lea ebx, [ebp - 0x88]
mov dword [esp], ebx
call fcn.0091e78c
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0x118], 0x22
call fcn.0090d460
mov dword [ebp - 0x210], eax
lea edx, [ebp - 0x28]
mov dword [esp], edx
call fcn.0090d468
mov dword [ebp - 0x214], eax
lea ecx, [ebp - 0x98]
mov dword [esp], ecx
call fcn.00947890
mov ebx, dword [ebp - 0x210]
mov dword [esp + 0xc], ebx
mov edx, dword [ebp - 0x214]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
lea ecx, [ebp - 0x98]
mov dword [esp], ecx
call fcn.009478ec
jmp 0x494e48
lea eax, [ebp - 0x98]
mov edx, dword [ebp - 0x148]
mov ebx, dword [edx + 0x224]
mov edx, 0x49b468
mov ecx, 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov ebx, dword [ebp - 0x130]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
lea eax, [ebp - 0xb8]
mov dword [esp], eax
mov dword [ebp - 0x118], 0x21
call fcn.008acf50
sub esp, 4
lea eax, [ebp - 0xb8]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea edx, [ebp - 0xc8]
mov dword [esp], edx
mov dword [ebp - 0x118], 0x20
call fcn.008c31bc
mov dword [esp], 0x20
mov dword [ebp - 0x118], 0x1f
call fcn.0080e1c4
mov dword [ebp - 0x21c], eax
mov dword [eax], vtable.4Town.0
mov dword [esp], 0
mov dword [ebp - 0x118], 0x1e
call fcn.008c9610
mov ecx, dword [ebp - 0x21c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
lea ebx, [ebp - 0xc8]
mov dword [esp + 4], ebx
mov eax, ecx
add eax, 0x10
mov dword [esp], eax
call fcn.008c2668
jmp 0x494f30
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x218], edx
cmp byte [0x9ab850], 0
jne 0x494f6e
mov dword [esp], 0x9aba60
mov dword [ebp - 0x118], 0x1f
call fcn.0073e0ac
mov byte [0x9ab850], 1
mov dword [esp], 0x489fe6
call fcn.004012c0
mov dword [esp + 8], 0
mov ecx, dword [ebp - 0x218]
mov dword [esp + 4], ecx
mov dword [esp], 0x9aba60
mov dword [ebp - 0x118], 0x1f
call fcn.0073ea7e
jmp 0x494ff3
cmp dword [ebp - 0xc8], 0
je 0x49506d
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0xc4]
cmp dword [eax], 0
je 0x49502a
mov dword [esp + 8], 2
mov dword [esp + 4], edx
mov dword [esp], edx
mov eax, dword [eax]
mov dword [ebp - 0x118], 0x20
call eax
mov dword [ebp - 0xc8], 0
jmp 0x49506d
lea edx, [ebp - 0xa8]
mov dword [esp], edx
call fcn.0092d3e8
lea ecx, [ebp - 0xa8]
mov dword [esp], ecx
call fcn.0091f408
lea ebx, [ebp - 0x98]
mov dword [esp], ebx
call fcn.0092d3e8
mov dword [esp], ebx
call fcn.0091f408
mov edx, dword [ebp - 0x148]
mov dword [esp], edx
mov dword [ebp - 0x118], 0x23
call fcn.0045ba54
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x140]
mov eax, dword [ecx]
mov dword [ebp - 0x98], eax
movzx eax, word [ecx + 4]
mov word [ebp - 0x94], ax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x34]
mov word [ebp - 0x84], ax
lea ebx, [ebp - 0x88]
mov edx, fcn.0049327c
mov ecx, 0
movzx eax, byte [ebp - 0x141]
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x98]
mov dword [esp + 0x20], eax
movsx eax, word [ebp - 0xca]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x138]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x10], ebx
mov eax, dword [ebp - 0x130]
mov dword [esp + 0xc], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
lea edx, [ebp - 0xc8]
mov dword [esp], edx
mov dword [ebp - 0x118], 0x1d
call fcn.008ac708
sub esp, 4
mov dword [esp + 8], 0
lea ecx, [ebp - 0xc8]
mov dword [esp + 4], ecx
lea ebx, [ebp - 0xe8]
mov dword [esp], ebx
mov dword [ebp - 0x118], 0x1c
call fcn.008c5f38
cmp dword [ebp - 0x228], 0
jne 0x4951aa
mov dword [esp + 8], 0x2e
mov dword [esp + 4], 0x9b387b
mov dword [esp], 0x9b388a
call sub.msvcrt.dll__assert
cmp dword [ebp - 0x228], 0x31
ja 0x4951bd
mov dword [ebp - 0x228], 0x32
mov dword [esp], 0x28
mov dword [ebp - 0x118], 0x1b
call fcn.0080e1c4
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0xe8]
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x228]
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x22c]
mov dword [esp], ecx
mov dword [ebp - 0x118], 0x1a
call fcn.00846b7c
jmp 0x495279
mov ecx, dword [ebp - 0x230]
mov dword [ecx], vtable.D.4.0
mov dword [ecx + 0x20], 0
mov ebx, dword [ebp - 0x22c]
mov dword [ebp - 0x224], ebx
cmp dword [ebp - 0xe8], 0
je 0x4952d9
mov eax, dword [ebp - 0xe8]
lea edx, [ebp - 0xe4]
cmp dword [eax], 0
je 0x4952cf
mov dword [esp + 8], 2
mov dword [esp + 4], edx
mov dword [esp], edx
mov eax, dword [eax]
mov dword [ebp - 0x118], 0x1c
call eax
mov dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x224]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x148]
mov dword [esp], edx
mov dword [ebp - 0x118], 0x23
call fcn.00684ba4
lea ecx, [ebp - 0x28]
mov dword [esp], ecx
call fcn.0092d3e8
lea ebx, [ebp - 0x28]
mov dword [esp], ebx
call fcn.0091f408
mov dword [ebp - 0x12c], 1
jmp 0x49644e
mov dword [esp + 4], 7
mov eax, dword [ebp - 0x148]
mov dword [esp], eax
mov dword [ebp - 0x118], 0x23
call fcn.0067ec58
lea edx, [ebp - 0x28]
mov dword [esp], edx
call fcn.0092d3e8
lea ecx, [ebp - 0x28]
mov dword [esp], ecx
call fcn.0091f408
mov dword [ebp - 0x12c], 0
jmp 0x49644e
mov ecx, 0
mov edx, dword [ebp - 0x148]
cmp dword [edx + 0x694], 0
je 0x4953ad
mov eax, dword [edx + 0x694]
mov edx, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
shrd eax, edx, 6
and eax, 1
test al, al
je 0x4953ad
mov ecx, 1
test cl, cl
jne 0x49546e
movzx eax, word [ebp - 0x58]
movzx edx, word [ebp - 0x68]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x190]
mov eax, dword [ecx]
mov dword [esp], ecx
mov eax, dword [eax + 0x68]
mov dword [ebp - 0x118], 0x34
call eax
cmp dword [ebp - 0x238], eax
jg 0x49543f
movzx eax, word [ebp - 0x56]
movzx edx, word [ebp - 0x66]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0x23c], eax
mov ebx, dword [ebp - 0x190]
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x68]
cmp dword [ebp - 0x23c], eax
jg 0x49543f
movzx eax, word [ebp - 0x74]
movzx edx, word [ebp - 0x64]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
shl eax, 2
mov dword [ebp - 0x240], eax
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x68]
cmp dword [ebp - 0x240], eax
jle 0x49546e
mov dword [esp + 4], 8
mov eax, dword [ebp - 0x148]
mov dword [esp], eax
mov dword [ebp - 0x118], 0x34
call fcn.0067ec58
mov dword [ebp - 0x12c], 0
jmp 0x49644e
mov dword [esp + 0x14], 6
mov dword [esp + 0x10], 8
mov dword [esp + 0xc], 1
lea edx, [ebp - 0x68]
mov dword [esp + 8], edx
lea ecx, [ebp - 0x78]
mov dword [esp + 4], ecx
mov ebx, dword [ebp - 0x130]
mov dword [esp], ebx
mov dword [ebp - 0x118], 0x34
call fcn.004af69a
test al, al
jne 0x495513
mov ecx, 0
mov eax, dword [ebp - 0x148]
cmp dword [eax + 0x694], 0
je 0x4954e0
mov eax, dword [eax + 0x694]
mov edx, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
shrd eax, edx, 6
and eax, 1
test al, al
je 0x4954e0
mov ecx, 1
test cl, cl
jne 0x495513
mov dword [esp + 4], 6
mov ecx, dword [ebp - 0x148]
mov dword [esp], ecx
mov dword [ebp - 0x118], 0x34
call fcn.0067ec58
mov dword [ebp - 0x12c], 0
jmp 0x49644e
cmp dword [ebp - 0x174], 0
setne byte [ebp - 0x241]
cmp dword [ebp - 0x1a0], 0
setne byte [ebp - 0x242]
lea ebx, [ebp - 0xe8]
mov dword [esp], ebx
mov dword [ebp - 0x118], 0x34
call fcn.009403b8
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.00922308
lea edx, [ebp - 0x38]
mov dword [esp + 8], edx
mov dword [esp + 4], str.inInv
lea ecx, [ebp - 0x48]
mov dword [esp], ecx
mov dword [ebp - 0x118], 0x18
call fcn.0092bb18
lea ebx, [ebp - 0x48]
mov dword [esp + 4], ebx
lea eax, [ebp - 0xe8]
mov dword [esp], eax
mov dword [ebp - 0x118], 0x17
call fcn.0094042c
cmp byte [ebp - 0x149], 0
je 0x4955c2
cmp byte [ebp - 0x14a], 0
jne 0x4955b9
mov edx, 1
cmp byte [ebp - 0x1ad], 0
je 0x4956dc
cmp byte [ebp - 0x149], 0
jne 0x4955cd
cmp byte [ebp - 0x14a], 0
jne 0x495616
jmp 0x4955e8
cmp byte [ebp - 0x14a], 0
je 0x4955e8
cmp byte [ebp - 0x149], 0
je 0x49560c
cmp byte [ebp - 0x1ad], 0
jne 0x495616
cmp byte [ebp - 0x149], 0
je 0x49560c
cmp byte [ebp - 0x14a], 0
je 0x49560c
mov edx, 2
cmp byte [ebp - 0x1ad], 0
je 0x4956dc
mov edx, 3
jmp 0x4956dc
mov edx, 0
jmp 0x4956dc
mov dword [eax], edx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x258], ecx
sub ecx, 0xc
mov dword [ebp - 0x254], ecx
lea ebx, [ebp - 0x48]
mov dword [esp + 4], ebx
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.009222f8
cmp dword [ebp - 0x254], 0x9aba1c
je 0x495772
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x258]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x118], 0x15
call fcn.00815de4
test eax, eax
jg 0x495772
lea edx, [ebp - 0x28]
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x254]
mov dword [esp], ecx
call fcn.00929958
jmp 0x495772
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.00922338
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00922348
lea edx, [ebp - 0x38]
mov dword [esp], edx
call fcn.00922338
lea ecx, [ebp - 0x38]
mov dword [esp], ecx
call fcn.00922308
lea ebx, [ebp - 0x38]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.inDepot
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0x118], 0x14
call fcn.0092bb18
lea edx, [ebp - 0x48]
mov dword [esp + 4], edx
lea eax, [ebp - 0xe8]
mov dword [esp], eax
mov dword [ebp - 0x118], 0x13
call fcn.0094042c
cmp byte [ebp - 0x14b], 0
je 0x4957fe
mov edx, 0
cmp byte [ebp - 0x14c], 0
je 0x4958e8
jmp 0x495822
mov edx, 1
cmp byte [ebp - 0x14c], 0
jne 0x4958e8
cmp byte [ebp - 0x14b], 0
je 0x49582c
cmp byte [ebp - 0x14c], 0
je 0x49582c
mov edx, 2
jmp 0x4958e8
mov edx, 3
jmp 0x4958e8
mov dword [eax], edx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x26c], ecx
sub ecx, 0xc
mov dword [ebp - 0x268], ecx
lea ebx, [ebp - 0x48]
mov dword [esp + 4], ebx
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.009222f8
cmp dword [ebp - 0x268], 0x9aba1c
je 0x49597e
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x26c]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x118], 0x11
call fcn.00815de4
test eax, eax
jg 0x49597e
lea edx, [ebp - 0x28]
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x268]
mov dword [esp], ecx
call fcn.00929958
jmp 0x49597e
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.00922338
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00922348
lea edx, [ebp - 0x38]
mov dword [esp], edx
call fcn.00922338
lea ecx, [ebp - 0x38]
mov dword [esp], ecx
call fcn.00922308
lea ebx, [ebp - 0x38]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.inInvBag
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0x118], 0x10
call fcn.0092bb18
lea edx, [ebp - 0x48]
mov dword [esp + 4], edx
lea eax, [ebp - 0xe8]
mov dword [esp], eax
mov dword [ebp - 0x118], 0xf
call fcn.0094042c
cmp byte [ebp - 0x241], 0
je 0x495a11
cmp byte [ebp - 0x242], 0
jne 0x495a1a
mov edx, 0
cmp byte [ebp - 0x1ad], 0
je 0x495b3f
cmp byte [ebp - 0x242], 0
je 0x495a25
cmp byte [ebp - 0x241], 0
je 0x495a83
jmp 0x495a40
cmp byte [ebp - 0x241], 0
jne 0x495a40
cmp byte [ebp - 0x149], 0
je 0x495a40
cmp byte [ebp - 0x1ad], 0
jne 0x495a83
cmp byte [ebp - 0x242], 0
je 0x495a54
cmp byte [ebp - 0x241], 0
jne 0x495a6f
jmp 0x495a79
cmp byte [ebp - 0x241], 0
je 0x495a79
cmp byte [ebp - 0x149], 0
je 0x495a79
cmp byte [ebp - 0x1ad], 0
je 0x495a79
mov edx, 2
jmp 0x495b3f
mov edx, 3
jmp 0x495b3f
mov edx, 1
jmp 0x495b3f
mov dword [eax], edx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x280], ecx
sub ecx, 0xc
mov dword [ebp - 0x27c], ecx
lea ebx, [ebp - 0x48]
mov dword [esp + 4], ebx
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.009222f8
cmp dword [ebp - 0x27c], 0x9aba1c
je 0x495bd5
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x280]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x118], 0xd
call fcn.00815de4
test eax, eax
jg 0x495bd5
lea edx, [ebp - 0x28]
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x27c]
mov dword [esp], ecx
call fcn.00929958
jmp 0x495bd5
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.00922338
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00922348
lea edx, [ebp - 0x38]
mov dword [esp], edx
call fcn.00922338
lea ecx, [ebp - 0x38]
mov dword [esp], ecx
call fcn.00922308
lea ebx, [ebp - 0x38]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x9b38ab
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0x118], 0xc
call fcn.0092bb18
lea edx, [ebp - 0x48]
mov dword [esp + 4], edx
lea eax, [ebp - 0xe8]
mov dword [esp], eax
mov dword [ebp - 0x118], 0xb
call fcn.0094042c
jmp 0x495cfb
movzx edx, byte [ebp - 0x1a1]
mov dword [eax], edx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x294], ecx
sub ecx, 0xc
mov dword [ebp - 0x290], ecx
lea ebx, [ebp - 0x48]
mov dword [esp + 4], ebx
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.009222f8
cmp dword [ebp - 0x290], 0x9aba1c
je 0x495d98
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x294]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x118], 9
call fcn.00815de4
test eax, eax
jg 0x495d98
lea edx, [ebp - 0x28]
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x290]
mov dword [esp], ecx
call fcn.00929958
jmp 0x495d98
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.00922338
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00922348
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.00922338
mov byte [ebp - 0x295], 0
mov dword [esp + 8], 0x1c
mov edx, dword [ebp - 0x148]
mov dword [esp + 4], edx
lea ecx, [ebp - 0x48]
mov dword [esp], ecx
mov dword [ebp - 0x118], 0x19
call fcn.0045bc1c
sub esp, 4
lea ebx, [ebp - 0x48]
mov dword [esp], ebx
mov dword [ebp - 0x118], 8
call fcn.00948838
mov dword [ebp - 0x124], eax
jmp 0x495f5b
lea eax, [ebp - 0xe8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [ebp - 0x118], 8
call fcn.00940218
lea eax, [ebp - 0x124]
mov dword [esp], eax
mov dword [ebp - 0x118], 7
call fcn.0090b8cc
mov eax, dword [eax]
lea edx, [ebp - 0x38]
mov dword [esp + 0x24], edx
mov ecx, dword [ebp - 0x19c]
mov dword [esp + 0x20], ecx
mov ebx, dword [ebp - 0x170]
mov dword [esp + 0x1c], ebx
mov edx, dword [ebp - 0x198]
mov dword [esp + 0x18], edx
mov ecx, dword [ebp - 0x16c]
mov dword [esp + 0x14], ecx
lea ebx, [ebp - 0x68]
mov dword [esp + 0x10], ebx
lea edx, [ebp - 0x78]
mov dword [esp + 0xc], edx
mov ecx, dword [ebp - 0x190]
mov dword [esp + 8], ecx
mov ebx, dword [ebp - 0x148]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00476226
jmp 0x495ef4
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
lea edx, [ebp - 0x38]
mov dword [esp], edx
mov dword [ebp - 0x118], 5
call fcn.0096827c
jmp 0x495f28
lea ebx, [ebp - 0x38]
mov dword [esp], ebx
call fcn.00920788
cmp dword [ebp - 0x29c], 0
jne 0x495f43
mov byte [ebp - 0x295], 1
lea eax, [ebp - 0x124]
mov dword [esp], eax
mov dword [ebp - 0x118], 8
call fcn.00932994
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0x118], 8
call fcn.00948830
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x128]
mov dword [esp + 4], eax
lea eax, [ebp - 0x124]
mov dword [esp], eax
call fcn.0090b8dc
test al, al
jne 0x495e0a
cmp byte [ebp - 0x295], 0
je 0x49626e
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.0092d74c
lea edx, [ebp - 0x48]
mov dword [esp], edx
call fcn.0091f65c
mov eax, dword [ebp - 0xe0]
mov dword [esp + 4], eax
lea ecx, [ebp - 0xe8]
mov dword [esp], ecx
mov dword [ebp - 0x118], 1
call fcn.0096827c
jmp 0x496251
lea edx, [ebp - 0xe8]
mov dword [esp], edx
call fcn.00920788
mov dword [ebp - 0x12c], 0
jmp 0x49644e
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
movzx eax, byte [ebp - 0x141]
mov dword [esp + 0x18], eax
mov ecx, dword [ebp - 0x190]
mov dword [esp + 0x14], ecx
movzx eax, byte [ebp - 0x1a1]
mov dword [esp + 0x10], eax
mov ebx, dword [ebp - 0x194]
mov dword [esp + 0xc], ebx
mov eax, dword [ebp - 0x168]
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x148]
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x130]
mov dword [esp], ecx
mov dword [ebp - 0x118], 8
call fcn.0049646a
cmp eax, 1
jne 0x496340
lea ebx, [ebp - 0x48]
mov dword [esp], ebx
call fcn.0092d74c
mov dword [esp], ebx
call fcn.0091f65c
mov eax, dword [ebp - 0xe0]
mov dword [esp + 4], eax
lea edx, [ebp - 0xe8]
mov dword [esp], edx
mov dword [ebp - 0x118], 2
call fcn.0096827c
jmp 0x496323
lea ebx, [ebp - 0xe8]
mov dword [esp], ebx
call fcn.00920788
mov dword [ebp - 0x12c], 1
jmp 0x49644e
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x148]
mov dword [esp], eax
mov dword [ebp - 0x118], 8
call fcn.0067ec58
lea edx, [ebp - 0x48]
mov dword [esp], edx
call fcn.0092d74c
lea ecx, [ebp - 0x48]
mov dword [esp], ecx
call fcn.0091f65c
mov eax, dword [ebp - 0xe0]
mov dword [esp + 4], eax
lea ebx, [ebp - 0xe8]
mov dword [esp], ebx
mov dword [ebp - 0x118], 3
call fcn.0096827c
jmp 0x4963a9
lea edx, [ebp - 0xe8]
mov dword [esp], edx
call fcn.00920788
mov dword [ebp - 0x12c], 0
jmp 0x49644e
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call fcn.0080f7c4
mov eax, dword [ebp - 0x12c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret