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

Disassembly:
push 0xffffffffffffffff
push 0x49ddd2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0xa4], ebp
xor ebx, ebx
mov dword [esp + 0x140], ebx
mov al, byte [esp + 0x13]
mov dword [esp + 0x50], ebx
mov byte [esp + 0x4c], al
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x60], ebx
mov byte [esp + 0x5c], cl
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
push ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x144], 3
call fcn.0046eb50
mov dl, byte [esp + 0x13]
mov dword [esp + 0x30], ebx
mov byte [esp + 0x2c], dl
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov al, byte [esp + 0x13]
mov dword [esp + 0x40], ebx
mov byte [esp + 0x3c], al
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0xd8]
mov byte [esp + 0x140], 6
call fcn.0046f9e0
push ebx
lea ecx, [esp + 0x78]
mov byte [esp + 0x144], 7
call fcn.0046eb50
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0xac], cl
lea ecx, [esp + 0xac]
mov byte [esp + 0x144], 8
call fcn.00401bb0
mov edi, 0x4b63f0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4b63f0
lea ecx, [esp + 0xb0]
call fcn.00418330
push 6
push 0x4af168
lea ecx, [esp + 0x80]
mov byte [esp + 0x148], 9
call fcn.0046ebc0
mov dl, byte [esp + 0x13]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x14], dl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
push ebx
lea ecx, [esp + 0x80]
mov byte [esp + 0x144], 0xb
call fcn.0046eb50
push ebx
lea ecx, [esp + 0x74]
mov byte [esp + 0x144], 0xc
call fcn.0046eb50
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x94]
mov byte [esp + 0x144], 0xd
mov byte [esp + 0x94], al
call fcn.00401bb0
mov edi, 0x4b63f0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4b63f0
lea ecx, [esp + 0x98]
call fcn.00418330
push ebx
push ebx
push ecx
mov byte [esp + 0x14c], 0xe
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x4ae254
mov dword [esp + 0x94], 0xffffffff
call fcn.0046ebc0
push ecx
mov byte [esp + 0x150], 0xf
mov ecx, esp
mov dword [esp + 0x7c], esp
push 6
push 0x4af0b4
call fcn.0046ebc0
mov ecx, 0x4b6448
mov byte [esp + 0x150], 0xe
call fcn.00472d90
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push ecx
push edx
lea ecx, [esp + 0x54]
call fcn.00426120
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push ebx
call fcn.0046eb50
mov ecx, 0x4b63bc
call fcn.0046ee50
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.00426520
mov dl, byte [esp + 0x13]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x34], esp
push ebx
mov ecx, esi
mov byte [esi], dl
call fcn.00401bb0
mov edi, str.LEVELNAME.DB
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.LEVELNAME.DB
mov ecx, esi
call fcn.00418330
mov ecx, dword [0x4b63ec]
lea eax, [esp + 0xe8]
push eax
call fcn.00415020
cmp ax, bx
jne 0x4681df
lea ecx, [esp + 0xd8]
call fcn.0046fec0
jmp 0x468a2a
mov cl, byte [0x4b65fd]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0046efc0
push ebx
lea ecx, [esp + 0x2c]
call fcn.0046efc0
push ebx
lea ecx, [esp + 0x2c]
call fcn.0046efc0
push ebx
lea ecx, [esp + 0x2c]
call fcn.0046efc0
push ebx
lea ecx, [esp + 0x2c]
call fcn.0046efc0
push ebx
lea ecx, [esp + 0x2c]
call fcn.0046efc0
push 5
lea ecx, [esp + 0x2c]
call fcn.0046ee40
inc al
lea ecx, [esp + 0x28]
push eax
push 5
call fcn.0046ef60
mov al, byte [0x4b65fd]
cmp al, 0x40
je 0x468247
cmp al, 0x50
jne 0x46825a
push 5
lea ecx, [esp + 0x2c]
call fcn.0046ee40
cmp al, 4
ja 0x46834a
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0046eb30
lea eax, [esp + 0x30]
lea ecx, [esp + 0xdc]
push eax
push ecx
sub esp, 0x10
lea edx, [esp + 0x2f]
mov ecx, esp
mov dword [esp + 0x88], esp
push edx
push str.LEVELNAME.DB
mov byte [esp + 0x164], 0x10
call fcn.00401aa0
mov ecx, dword [0x4b63ec]
mov byte [esp + 0x15c], 0xe
call fcn.00415100
cmp ax, bx
je 0x46834a
push 1
lea ecx, [esp + 0x30]
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0046eb30
lea ecx, [esp + 0x78]
call fcn.0046ee50
push ecx
lea eax, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0046eb30
lea ecx, [esp + 0xbc]
push ecx
mov ecx, dword [0x4b63ec]
call fcn.004154b0
mov edx, dword [0x4a0148]
lea ecx, [esp + 0xa8]
push edx
push ebx
push eax
mov byte [esp + 0x14c], 0x11
call fcn.0040a8e0
push 1
lea ecx, [esp + 0xbc]
mov byte [esp + 0x144], 0xe
call fcn.00401bb0
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0xa8]
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.00426390
jmp 0x468221
lea ecx, [esp + 0xd8]
call fcn.0046fec0
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x468377
mov edi, dword [esp + 0x44]
sub edi, eax
sar edi, 4
cmp di, bx
mov dword [esp + 0x8c], edi
jne 0x468597
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0x144], 0xd
call fcn.00401bb0
lea ecx, [esp + 0x70]
mov byte [esp + 0x140], 0xc
call fcn.0046ec60
lea ecx, [esp + 0x7c]
mov byte [esp + 0x140], 0xb
call fcn.0046ec60
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 0xa
call fcn.0040ab00
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0048d500
add esp, 4
lea ecx, [esp + 0x78]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x140], 9
call fcn.0046ec60
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0x144], 8
call fcn.00401bb0
lea ecx, [esp + 0x74]
mov byte [esp + 0x140], 7
call fcn.0046ec60
lea ecx, [esp + 0xd8]
mov byte [esp + 0x140], 6
call fcn.0046fb60
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push edx
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x148], 5
call fcn.0040ab30
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0048d500
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
push edx
push eax
mov dword [esp + 0x50], ebx
mov byte [esp + 0x148], 4
call fcn.0040ab00
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0048d500
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x140], 3
call fcn.0046ec60
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
push edx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x148], 2
call fcn.0040ab00
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0048d500
add esp, 4
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
push edx
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x70], ebx
mov byte [esp + 0x148], 1
call fcn.004182c0
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0048d500
mov edx, dword [esp + 0x154]
mov eax, dword [esp + 0x150]
add esp, 4
lea ecx, [esp + 0x148]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
push edx
push eax
mov dword [esp + 0x60], ebx
mov byte [esp + 0x148], bl
call fcn.004182c0
mov ecx, dword [esp + 0x14c]
push ecx
call fcn.0048d500
mov edx, dword [esp + 0x164]
mov eax, dword [esp + 0x160]
add esp, 4
lea ecx, [esp + 0x158]
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x150], ebx
push edx
push eax
mov dword [esp + 0x15c], ebx
mov dword [esp + 0x148], 0xffffffff
call fcn.0040ab00
mov ecx, dword [esp + 0x15c]
push ecx
call fcn.0048d500
add esp, 4
xor ax, ax
jmp 0x4697d9
jle 0x468758
movsx edx, di
mov dword [esp + 0x6c], ebx
xor ebp, ebp
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x14c]
cmp eax, ebx
je 0x468709
mov ecx, dword [esp + 0x150]
mov edx, dword [esp + 0x6c]
sub ecx, eax
sar ecx, 4
cmp ecx, edx
jbe 0x468709
lea esi, [eax + ebp]
lea edx, [esp + 0x14]
cmp edx, esi
je 0x4686fd
mov ecx, esi
call fcn.0040a860
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.0040a860
cmp edi, eax
ja 0x46863b
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.0040b060
mov ecx, dword [esp + 0x28]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0040ab00
mov ecx, esi
call fcn.0040a860
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x20], eax
push edx
jmp 0x468726
mov ecx, esi
call fcn.0040a860
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.0040aae0
cmp edi, eax
ja 0x4686a6
mov edi, dword [esi + 4]
lea ecx, [esp + 0x14]
call fcn.0040a860
mov ecx, dword [esp + 0x18]
lea edi, [edi + eax*4]
mov eax, dword [esi + 4]
push ecx
push edi
push eax
call fcn.0040b060
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x14]
push edx
push eax
push edi
call fcn.00401c00
mov ecx, esi
call fcn.0040a860
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax*4]
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x54]
push ecx
push edx
jmp 0x468726
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040ab00
mov edx, dword [esp + 0x18]
push edx
call fcn.0048d500
add esp, 4
mov ecx, esi
call fcn.0040a860
cmp eax, ebx
jge 0x4686d3
xor eax, eax
shl eax, 2
push eax
call fcn.0048db76
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.00401c00
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x14]
push ecx
push edx
jmp 0x468726
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00413d30
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x54]
call fcn.00425f70
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x24]
inc edx
add ebp, 0x10
dec eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x24], eax
jne 0x4685aa
mov ebp, dword [esp + 0xa4]
mov edi, dword [esp + 0x8c]
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x148]
push ecx
push edx
sub esp, 0x10
lea eax, [esp + 0x170]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.0040a7f0
sub esp, 0x10
lea edx, [esp + 0x74]
mov ecx, esp
mov dword [esp + 0x94], esp
push edx
mov byte [esp + 0x16c], 0x12
call fcn.00425ee0
mov ecx, ebp
mov byte [esp + 0x168], 0xe
call fcn.00469800
cmp ax, bx
jne 0x4689d1
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0x144], 0xd
call fcn.00401bb0
lea ecx, [esp + 0x70]
mov byte [esp + 0x140], 0xc
call fcn.0046ec60
lea ecx, [esp + 0x7c]
mov byte [esp + 0x140], 0xb
call fcn.0046ec60
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 0xa
call fcn.0040ab00
mov edx, dword [esp + 0x18]
push edx
call fcn.0048d500
add esp, 4
lea ecx, [esp + 0x78]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x140], 9
call fcn.0046ec60
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0x144], 8
call fcn.00401bb0
lea ecx, [esp + 0x74]
mov byte [esp + 0x140], 7
call fcn.0046ec60
lea ecx, [esp + 0xd8]
mov byte [esp + 0x140], 6
call fcn.0046fb60
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push eax
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x148], 5
call fcn.0040ab30
mov edx, dword [esp + 0x40]
push edx
call fcn.0048d500
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
push eax
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x148], 4
call fcn.0040ab00
mov edx, dword [esp + 0x30]
push edx
call fcn.0048d500
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x140], 3
call fcn.0046ec60
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
push eax
push ecx
lea ecx, [esp + 0x64]
mov byte [esp + 0x148], 2
call fcn.0040ab00
mov edx, dword [esp + 0x60]
push edx
call fcn.0048d500
add esp, 4
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
push eax
push ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x70], ebx
mov byte [esp + 0x148], 1
call fcn.004182c0
mov edx, dword [esp + 0x50]
push edx
call fcn.0048d500
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x150]
add esp, 4
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
push eax
push ecx
lea ecx, [esp + 0x150]
mov byte [esp + 0x148], bl
call fcn.004182c0
mov edx, dword [esp + 0x14c]
push edx
call fcn.0048d500
mov eax, dword [esp + 0x164]
mov ecx, dword [esp + 0x160]
add esp, 4
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x150], ebx
mov dword [esp + 0x154], ebx
push eax
push ecx
lea ecx, [esp + 0x160]
mov dword [esp + 0x148], 0xffffffff
call fcn.0040ab00
mov edx, dword [esp + 0x15c]
push edx
call fcn.0048d500
add esp, 4
xor ax, ax
jmp 0x4697d9
mov al, byte [esp + 0x5c]
sub esp, 0x10
mov esi, esp
lea ecx, [esp + 0x6c]
mov dword [esp + 0x34], esp
mov byte [esi], al
call fcn.0040a860
cmp eax, ebx
jge 0x4689ef
xor eax, eax
lea ecx, [eax*4]
push ecx
call fcn.0048db76
add esp, 4
mov dword [esi + 4], eax
mov edx, dword [esp + 0x74]
mov ecx, esi
push eax
mov eax, dword [esp + 0x74]
push edx
push eax
call fcn.00401c00
mov ecx, ebp
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.0046a4e0
cmp ax, bx
jne 0x468c51
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0x144], 0xd
call fcn.00401bb0
lea ecx, [esp + 0x70]
mov byte [esp + 0x140], 0xc
call fcn.0046ec60
lea ecx, [esp + 0x7c]
mov byte [esp + 0x140], 0xb
call fcn.0046ec60
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 0xa
call fcn.0040ab00
mov eax, dword [esp + 0x18]
push eax
call fcn.0048d500
add esp, 4
lea ecx, [esp + 0x78]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x140], 9
call fcn.0046ec60
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0x144], 8
call fcn.00401bb0
lea ecx, [esp + 0x74]
mov byte [esp + 0x140], 7
call fcn.0046ec60
lea ecx, [esp + 0xd8]
mov byte [esp + 0x140], 6
call fcn.0046fb60
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x148], 5
call fcn.0040ab30
mov eax, dword [esp + 0x40]
push eax
call fcn.0048d500
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
push ecx
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x148], 4
call fcn.0040ab00
mov eax, dword [esp + 0x30]
push eax
call fcn.0048d500
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x140], 3
call fcn.0046ec60
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push ecx
push edx
lea ecx, [esp + 0x64]
mov byte [esp + 0x148], 2
call fcn.0040ab00
mov eax, dword [esp + 0x60]
push eax
call fcn.0048d500
add esp, 4
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push ecx
push edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x70], ebx
mov byte [esp + 0x148], 1
call fcn.004182c0
mov eax, dword [esp + 0x50]
push eax
call fcn.0048d500
mov ecx, dword [esp + 0x154]
mov edx, dword [esp + 0x150]
add esp, 4
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
push ecx
push edx
lea ecx, [esp + 0x150]
mov byte [esp + 0x148], bl
call fcn.004182c0
mov eax, dword [esp + 0x14c]
push eax
call fcn.0048d500
mov ecx, dword [esp + 0x164]
mov edx, dword [esp + 0x160]
add esp, 4
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x150], ebx
mov dword [esp + 0x154], ebx
push ecx
push edx
lea ecx, [esp + 0x160]
mov dword [esp + 0x148], 0xffffffff
call fcn.0040ab00
mov eax, dword [esp + 0x15c]
push eax
call fcn.0048d500
add esp, 4
xor ax, ax
jmp 0x4697d9
mov edi, dword [esp + 0x8c]
push ecx
lea edx, [esp + 0x7c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0046eb30
mov ecx, dword [0x4b6454]
call fcn.00480bb0
mov ecx, dword [0x4b6454]
push 0x8f
call fcn.00480db0
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x34], esp
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x4af150
call fcn.0046ebc0
push esi
call fcn.00470800
mov ecx, dword [0x4b6454]
add esp, 8
call fcn.00480de0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x4af148
call fcn.0046ebc0
mov ecx, dword [0x4b6454]
call fcn.00480d30
mov ecx, 0x4b63bc
call fcn.0046efe0
test ax, ax
je 0x468ce7
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
jmp 0x468cf0
push 2
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x4af140
call fcn.0046ebc0
mov ecx, dword [0x4b6454]
call fcn.00480d30
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x4af138
call fcn.0046ebc0
mov ecx, dword [0x4b6454]
call fcn.00480d30
cmp di, bx
jle 0x469088
movsx eax, di
xor ebp, ebp
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x14c]
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x14]
lea esi, [edx + ecx]
cmp eax, esi
je 0x468e63
mov ecx, esi
call fcn.0040a860
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.0040a860
cmp edi, eax
ja 0x468da8
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.0040b060
mov ecx, dword [esp + 0x28]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0040ab00
mov ecx, esi
call fcn.0040a860
mov edx, dword [esp + 0x18]
lea eax, [edx + eax*4]
mov dword [esp + 0x1c], eax
jmp 0x468e67
mov ecx, esi
call fcn.0040a860
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.0040aae0
cmp edi, eax
ja 0x468e06
mov edi, dword [esi + 4]
lea ecx, [esp + 0x14]
call fcn.0040a860
mov ecx, dword [esp + 0x18]
lea edi, [edi + eax*4]
mov eax, dword [esi + 4]
push ecx
push edi
push eax
call fcn.0040b060
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x14]
push edx
push eax
push edi
call fcn.00401c00
mov ecx, esi
call fcn.0040a860
mov ecx, dword [esp + 0x18]
lea eax, [ecx + eax*4]
mov dword [esp + 0x1c], eax
jmp 0x468e67
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.0040ab00
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0048d500
add esp, 4
mov ecx, esi
call fcn.0040a860
cmp eax, ebx
jge 0x468e33
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.0048db76
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.00401c00
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
jmp 0x468e67
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
jne 0x468e73
xor esi, esi
jmp 0x468e7a
sub eax, ecx
sar eax, 2
mov esi, eax
mov edi, 0x4b63f0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4b63f0
lea ecx, [esp + 0x98]
call fcn.00418330
cmp si, 1
jne 0x468f7d
push ebx
lea ecx, [esp + 0x18]
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0xa4], esp
push eax
call fcn.0046eb30
lea ecx, [esp + 0x74]
call fcn.0046ee50
push ecx
lea eax, [esp + 0x74]
mov ecx, esp
mov dword [esp + 0xa4], esp
push eax
call fcn.0046eb30
sub esp, 0x10
lea edx, [esp + 0x27]
mov ecx, esp
mov dword [esp + 0x98], esp
push edx
push str.MENUTXT.DB
mov byte [esp + 0x15c], 0x13
call fcn.00401aa0
mov ecx, dword [0x4b63ec]
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x158], 0xe
call fcn.00414c40
cmp ax, bx
je 0x468fd8
push ebx
lea ecx, [esp + 0x30]
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x88], esp
push eax
call fcn.0046eb30
lea ecx, [esp + 0xbc]
push ecx
mov ecx, dword [0x4b63ec]
call fcn.004154b0
mov edx, dword [0x4a0148]
lea ecx, [esp + 0x90]
push edx
push ebx
push eax
mov byte [esp + 0x14c], 0x14
call fcn.0040a8e0
mov byte [esp + 0x140], 0xe
push 1
lea ecx, [esp + 0xbc]
jmp 0x468fd3
jle 0x468fd8
push ecx
mov ecx, esp
mov dword [esp + 0x88], esp
push 6
push 0x4af124
call fcn.0046ebc0
lea eax, [esp + 0xcc]
push eax
call fcn.00470800
add esp, 8
mov ecx, dword [0x4a0148]
mov byte [esp + 0x140], 0x15
push ecx
push ebx
push eax
lea ecx, [esp + 0x9c]
call fcn.0040a8e0
mov byte [esp + 0x140], 0xe
push 1
lea ecx, [esp + 0xcc]
call fcn.00401bb0
mov dl, byte [esp + 0x13]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x94], esp
push ebx
mov ecx, esi
mov byte [esi], dl
call fcn.00401bb0
mov edi, 0x4b63f0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4b63f0
mov ecx, esi
call fcn.00418330
sub esp, 0x10
lea eax, [esp + 0xb0]
mov ecx, esp
mov dword [esp + 0xc0], esp
push eax
mov byte [esp + 0x164], 0x16
call fcn.0040a690
push ebp
lea ecx, [esp + 0x60]
mov byte [esp + 0x164], 0x17
call fcn.00425f50
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0xb8], esp
push eax
call fcn.0040a690
mov ecx, dword [0x4b6454]
mov byte [esp + 0x170], 0xe
call fcn.00481290
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x24]
inc ebp
add ecx, 0x10
dec eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x24], eax
jne 0x468d3d
mov ebp, dword [esp + 0xa4]
lea ecx, [esp + 0x80]
push ecx
mov ecx, dword [0x4b6454]
call fcn.004810c0
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x24], eax
cmp cx, bx
jl 0x469244
cmp cx, word [esp + 0x8c]
jge 0x469244
mov edx, dword [esp + 0x14c]
movsx esi, cx
shl esi, 4
add esi, edx
lea edx, [esp + 0x2c]
cmp edx, esi
je 0x4691f9
mov ecx, esi
call fcn.0040a860
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.0040a860
cmp edi, eax
ja 0x469130
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.0040b060
mov ecx, dword [esp + 0x40]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.0040ab00
mov ecx, esi
call fcn.0040a860
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x80]
lea eax, [edx + eax*4]
mov dword [esp + 0x34], eax
jmp 0x4691fd
mov ecx, esi
call fcn.0040a860
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.0040aae0
cmp edi, eax
ja 0x469195
mov edi, dword [esi + 4]
lea ecx, [esp + 0x2c]
call fcn.0040a860
mov ecx, dword [esp + 0x30]
lea edi, [edi + eax*4]
mov eax, dword [esi + 4]
push ecx
push edi
push eax
call fcn.0040b060
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x2c]
push edx
push eax
push edi
call fcn.00401c00
mov ecx, esi
call fcn.0040a860
mov ecx, dword [esp + 0x30]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x34], eax
jmp 0x4691fd
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.0040ab00
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0048d500
add esp, 4
mov ecx, esi
call fcn.0040a860
cmp eax, ebx
jge 0x4691c2
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.0048db76
add esp, 4
mov dword [esp + 0x30], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x38]
call fcn.00401c00
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
jmp 0x4691fd
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
cmp edx, ebx
je 0x469244
sub eax, edx
sar eax, 2
cmp ax, 1
jle 0x469244
lea eax, [esp + 0x5c]
lea edx, [esp + 0x148]
push eax
push edx
movsx eax, cx
push ecx
push eax
lea ecx, [esp + 0x4c]
call fcn.00425f50
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0xa4], esp
push eax
call fcn.0040a690
mov ecx, ebp
call fcn.0046aa60
movsx eax, word [esp + 0x24]
sub eax, ebx
je 0x4695bd
dec eax
je 0x469457
dec eax
jne 0x468c4a
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x94], esp
push 6
push 0x4ae254
call fcn.0046ebc0
push ecx
mov byte [esp + 0x150], 0x18
mov ecx, esp
mov dword [esp + 0x94], esp
push 6
push 0x4af0b4
call fcn.0046ebc0
mov ecx, 0x4b6448
mov byte [esp + 0x150], 0xe
call fcn.00472d90
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x148]
push ecx
push edx
sub esp, 0x10
lea eax, [esp + 0x170]
mov ecx, esp
mov dword [esp + 0xa0], esp
push eax
call fcn.0040a7f0
sub esp, 0x10
lea edx, [esp + 0x74]
mov ecx, esp
mov dword [esp + 0xac], esp
push edx
mov byte [esp + 0x16c], 0x19
call fcn.00425ee0
mov ecx, ebp
mov byte [esp + 0x168], 0xe
call fcn.00469800
cmp ax, bx
je 0x46933b
push ecx
mov ecx, esp
mov dword [esp + 0x8c], esp
push ebx
call fcn.0046eb50
mov ecx, 0x4b63bc
call fcn.0046ee50
sub esp, 0x10
lea eax, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x98], esp
push eax
call fcn.0040a7f0
mov ecx, ebp
call fcn.0046a4e0
jmp 0x468c4a
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0x144], 0xd
call fcn.00401bb0
lea ecx, [esp + 0x70]
mov byte [esp + 0x140], 0xc
call fcn.0046ec60
lea ecx, [esp + 0x7c]
mov byte [esp + 0x140], 0xb
call fcn.0046ec60
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 0xa
call fcn.00401b60
lea ecx, [esp + 0x78]
mov byte [esp + 0x140], 9
call fcn.0046ec60
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0x144], 8
call fcn.00401bb0
lea ecx, [esp + 0x74]
mov byte [esp + 0x140], 7
call fcn.0046ec60
lea ecx, [esp + 0xd8]
mov byte [esp + 0x140], 6
call fcn.0046fb60
lea ecx, [esp + 0x3c]
mov byte [esp + 0x140], 5
call fcn.0040a880
lea ecx, [esp + 0x2c]
mov byte [esp + 0x140], 4
call fcn.00401b60
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], 3
call fcn.0046ec60
lea ecx, [esp + 0x5c]
mov byte [esp + 0x140], 2
call fcn.00401b60
lea ecx, [esp + 0x4c]
mov byte [esp + 0x140], 1
call fcn.00413a30
lea ecx, [esp + 0x148]
mov byte [esp + 0x140], bl
call fcn.00413a30
lea ecx, [esp + 0x158]
mov dword [esp + 0x140], 0xffffffff
call fcn.00401b60
xor ax, ax
jmp 0x4697d9
mov ecx, ebp
call fcn.0046bd50
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0x144], 0xd
call fcn.00401bb0
lea ecx, [esp + 0x70]
mov byte [esp + 0x140], 0xc
call fcn.0046ec60
lea ecx, [esp + 0x7c]
mov byte [esp + 0x140], 0xb
call fcn.0046ec60
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 0xa
call fcn.0040ab00
mov eax, dword [esp + 0x18]
push eax
call fcn.0048d500
add esp, 4
lea ecx, [esp + 0x78]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x140], 9
call fcn.0046ec60
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0x144], 8
call fcn.00401bb0
lea ecx, [esp + 0x74]
mov byte [esp + 0x140], 7
call fcn.0046ec60
lea ecx, [esp + 0xd8]
mov byte [esp + 0x140], 6
call fcn.0046fb60
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x148], 5
call fcn.0040ab30
mov eax, dword [esp + 0x40]
push eax
call fcn.0048d500
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x140], 4
call fcn.00401b60
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], 3
call fcn.0046ec60
lea ecx, [esp + 0x5c]
mov byte [esp + 0x140], 2
call fcn.00401b60
lea ecx, [esp + 0x4c]
mov byte [esp + 0x140], 1
call fcn.00413a30
lea ecx, [esp + 0x148]
mov byte [esp + 0x140], bl
call fcn.00413a30
lea ecx, [esp + 0x158]
mov dword [esp + 0x140], 0xffffffff
call fcn.00401b60
jmp 0x4697d5
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0x144], 0xd
call fcn.00401bb0
lea ecx, [esp + 0x70]
mov byte [esp + 0x140], 0xc
call fcn.0046ec60
lea ecx, [esp + 0x7c]
mov byte [esp + 0x140], 0xb
call fcn.0046ec60
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 0xa
call fcn.0040ab00
mov eax, dword [esp + 0x18]
push eax
call fcn.0048d500
add esp, 4
lea ecx, [esp + 0x78]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x140], 9
call fcn.0046ec60
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0x144], 8
call fcn.00401bb0
lea ecx, [esp + 0x74]
mov byte [esp + 0x140], 7
call fcn.0046ec60
lea ecx, [esp + 0xd8]
mov byte [esp + 0x140], 6
call fcn.0046fb60
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x148], 5
call fcn.0040ab30
mov eax, dword [esp + 0x40]
push eax
call fcn.0048d500
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
push ecx
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x148], 4
call fcn.0040ab00
mov eax, dword [esp + 0x30]
push eax
call fcn.0048d500
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x140], 3
call fcn.0046ec60
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push ecx
push edx
lea ecx, [esp + 0x64]
mov byte [esp + 0x148], 2
call fcn.0040ab00
mov eax, dword [esp + 0x60]
push eax
call fcn.0048d500
add esp, 4
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push ecx
push edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x70], ebx
mov byte [esp + 0x148], 1
call fcn.004182c0
mov eax, dword [esp + 0x50]
push eax
call fcn.0048d500
mov ecx, dword [esp + 0x154]
mov edx, dword [esp + 0x150]
add esp, 4
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
push ecx
push edx
lea ecx, [esp + 0x150]
mov byte [esp + 0x148], bl
call fcn.004182c0
mov eax, dword [esp + 0x14c]
push eax
call fcn.0048d500
mov ecx, dword [esp + 0x164]
mov edx, dword [esp + 0x160]
add esp, 4
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x150], ebx
mov dword [esp + 0x154], ebx
push ecx
push edx
lea ecx, [esp + 0x160]
mov dword [esp + 0x148], 0xffffffff
call fcn.0040ab00
mov eax, dword [esp + 0x15c]
push eax
call fcn.0048d500
add esp, 4
mov ax, 1
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x134
ret 0x20