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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xec
mov dword [esp + 0x50], ecx
mov ecx, 0x4e3080
mov edi, dword [esp + 0x114]
call fcn.0043c2c0
mov esi, dword [esp + 0x110]
mov edx, dword [esi + 0x6c]
mov ecx, dword [edx + 4]
cmp eax, dword [edx + 8]
jae 0x46e914
mov eax, dword [ecx + eax*4]
test eax, eax
je 0x46e914
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x4eb958
mov dword [esp + 4], 0x4eb654
mov dword [esp], eax
call fcn.004d61e0
mov dword [esp + 0x54], eax
test eax, eax
je 0x46e914
mov ecx, 0x4e31c0
call fcn.0043c2c0
mov edx, eax
mov eax, dword [esp + 0x110]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 4]
mov ebp, dword [eax + edx*4]
test ebp, ebp
je 0x46e914
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [esp + 0x78], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x114], edi
mov edi, ebp
lea eax, [esp + 0x108]
lea ecx, [esp + 0x100]
mov dword [esp], eax
call fcn.0043a370
sub esp, 4
xor eax, 1
mov ecx, dword [esp + 0x44]
cmp dword [esp + 0x3c], ecx
setb dl
and al, dl
mov byte [esp + 0x4c], al
je 0x46d630
mov edx, dword [esp + 0x40]
test edx, edx
jne 0x46d708
mov ebp, dword [esp + 0x3c]
add ebp, dword [esp + 0x11c]
movzx ebx, byte [ebp]
movzx eax, byte [edi + ebx + 0x11d]
mov edx, ebx
test al, al
jne 0x46d3bd
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
cmp eax, 0x43bc90
jne 0x46d670
test dl, dl
je 0x46d3c5
mov byte [edi + ebx + 0x11d], dl
mov eax, edx
cmp al, 0x25
je 0x46d578
movzx ecx, byte [ebp]
mov edx, dword [edi + 0x18]
mov esi, dword [esp + 0x104]
mov ebx, dword [esp + 0x100]
test byte [edx + ecx*2], 0x20
jne 0x46d490
mov edx, dword [edi]
movsx eax, cl
mov ecx, edi
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 4
mov byte [esp + 0x48], al
cmp esi, 0xffffffff
jne 0x46d405
test ebx, ebx
jne 0x46d690
mov edx, esi
mov eax, dword [edi]
movsx esi, dl
mov ecx, edi
mov dword [esp], esi
call dword [eax + 0x10]
sub esp, 4
cmp byte [esp + 0x48], al
je 0x46d470
movsx edx, byte [ebp]
mov eax, dword [edi]
mov ecx, edi
mov dword [esp], edx
call dword [eax + 8]
sub esp, 4
mov ebx, eax
lea ecx, [esp + 0x100]
call fcn.0043a420
mov edx, dword [edi]
mov ecx, edi
movsx eax, al
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
cmp bl, al
je 0x46d470
mov dword [esp + 0x78], 4
mov dword [esp + 0x40], 4
add dword [esp + 0x3c], 1
jmp 0x46d344
mov ecx, dword [esp + 0x100]
call fcn.004af190
mov dword [esp + 0x104], 0xffffffff
jmp 0x46d460
cmp dword [esp + 0x10c], 0xffffffff
sete dl
cmp esi, 0xffffffff
sete al
mov ebp, eax
test ebx, ebx
je 0x46d4ab
test al, al
jne 0x46d511
mov eax, ebp
mov byte [esp + 0x48], al
mov ecx, dword [esp + 0x108]
test ecx, ecx
setne bl
and bl, dl
jne 0x46d540
mov ebx, edx
mov eax, ebp
cmp al, bl
je 0x46d460
mov ebx, dword [esp + 0x100]
test ebx, ebx
je 0x46d4db
cmp byte [esp + 0x48], 0
jne 0x46d558
mov eax, esi
movzx esi, al
mov eax, dword [edi + 0x18]
test byte [eax + esi*2], 0x20
je 0x46d460
mov ebx, dword [esp + 0x100]
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x46d5d0
mov dword [esp + 0x104], 0xffffffff
add eax, 1
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0xc]
cmp dword [ebx + 8], eax
jae 0x46d5f7
mov ecx, dword [esp + 0x108]
movzx eax, byte [esp + 0x4c]
xor ebp, ebp
mov esi, 0xffffffff
test ecx, ecx
mov byte [esp + 0x48], al
setne bl
and bl, dl
je 0x46d4c1
lea esi, [esi]
mov eax, dword [ecx + 0xc]
cmp dword [ecx + 8], eax
jae 0x46d768
xor ebx, ebx
jmp 0x46d4c3
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x46d790
movzx esi, byte [eax]
mov ecx, dword [edi + 0x18]
test byte [ecx + esi*2], 0x20
jne 0x46d500
jmp 0x46d460
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x11c]
mov dword [esp + 4], 0
mov ecx, edi
lea ebp, [eax + 1]
movsx eax, byte [esi + eax + 1]
mov dword [esp], eax
call fcn.0043bb90
sub esp, 8
mov dword [esp + 0x7c], 0
cmp al, 0x45
je 0x46d718
cmp al, 0x4f
je 0x46d718
sub eax, 0x25
cmp al, 0x54
ja case.0x46d5c6.1
movzx eax, al
jmp dword [eax*4 + 0x4e5760]
mov eax, dword [ebx]
mov byte [esp + 0x48], dl
mov ecx, ebx
call dword [eax + 0x28]
movzx edx, byte [esp + 0x48]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x104], 0xffffffff
cmp dword [ebx + 8], eax
jb 0x46d51d
mov eax, dword [ebx]
mov byte [esp + 0x48], dl
mov ecx, ebx
call dword [eax + 0x24]
movzx edx, byte [esp + 0x48]
cmp eax, 0xffffffff
mov esi, eax
jne 0x46d51d
mov dword [esp + 0x100], 0
movzx eax, byte [esp + 0x4c]
mov byte [esp + 0x48], al
mov ebp, eax
jmp 0x46d4b1
mov edi, dword [esp + 0x114]
mov esi, dword [esp + 0x44]
cmp dword [esp + 0x3c], esi
jne 0x46d649
mov eax, dword [esp + 0x40]
test eax, eax
je 0x46d64c
or dword [edi], 4
mov eax, dword [esp + 0x100]
mov edx, dword [esp + 0x104]
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret 0x24
movsx edx, bl
mov dword [esp + 4], 0
mov ecx, edi
mov dword [esp], edx
call eax
sub esp, 8
mov edx, eax
jmp 0x46d3b0
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x46e830
movzx edx, byte [eax]
jmp 0x46d407
lea ecx, [esp + 0x100]
call fcn.0043a420
mov edx, dword [edi + 0x18]
movzx eax, al
test byte [edx + eax*2], 0x20
je 0x46d6f8
mov ecx, dword [esp + 0x100]
call fcn.004af190
mov dword [esp + 0x104], 0xffffffff
lea eax, [esp + 0x108]
lea ecx, [esp + 0x100]
mov dword [esp], eax
call fcn.0043a370
sub esp, 4
test al, al
je 0x46d6a8
lea esi, [esi]
mov dword [esp + 0x3c], ebp
jmp 0x46d460
mov edi, dword [esp + 0x114]
jmp 0x46d649
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x11c]
mov dword [esp + 4], 0
mov ecx, edi
lea ebp, [eax + 2]
movsx eax, byte [esi + eax + 2]
mov dword [esp], eax
call fcn.0043bb90
sub eax, 0x25
sub esp, 8
cmp al, 0x54
jbe 0x46d5c3
lea esi, [esi]
nop
mov dword [esp + 0x78], 4
mov dword [esp + 0x40], 4
jmp 0x46d6f8
mov eax, dword [ecx]
mov byte [esp + 0x58], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x58]
cmp eax, 0xffffffff
jne 0x46d54c
mov dword [esp + 0x108], 0
jmp 0x46d4c3
mov eax, dword [ebx]
mov byte [esp + 0x48], dl
mov ecx, ebx
call dword [eax + 0x24]
movzx edx, byte [esp + 0x48]
cmp eax, 0xffffffff
mov esi, eax
jne 0x46d4db
mov dword [esp + 0x100], 0
jmp 0x46d4db
lea ebx, [esp + 0x80]
mov esi, dword [esp + 0x54]
mov dword [esp], ebx
mov ecx, esi
call fcn.00437840
mov ecx, esi
sub esp, 4
lea eax, [esp + 0xb0]
mov dword [esp], eax
call fcn.004376b0
sub esp, 4
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x18
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0046c5c0
sub esp, 0x24
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46d6f8
mov ecx, dword [esp + 0x7c]
mov eax, 0x2aaaaaab
imul ecx
mov ebx, ecx
sar ebx, 0x1f
mov eax, edx
sar eax, 1
sub eax, ebx
lea eax, [eax + eax*2]
shl eax, 2
sub ecx, eax
mov eax, dword [esp + 0x118]
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x120]
or word [eax], 0x408
jmp 0x46d6f8
lea ecx, [esp + 0x100]
call fcn.0043a420
mov edx, dword [edi + 0x18]
movzx eax, al
test byte [edx + eax*2], 0x20
jne 0x46e86d
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x1f
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046c0d0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46d6f8
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x120]
or word [eax], 0x410
jmp 0x46d6f8
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
mov ecx, dword [eax + 0x38]
mov esi, dword [eax + 0x30]
mov ebx, dword [eax + 0x34]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0x40]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0x44]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x48]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x50]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x54]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0x58]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x60]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x84], esi
mov dword [esp + 0x90], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x88], ebx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x18], 0xe
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0x10c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x50]
call fcn.0046c5c0
sub esp, 0x24
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46d6f8
mov ecx, dword [esp + 0x7c]
mov eax, 0x92492493
imul ecx
lea eax, [edx + ecx]
mov edx, ecx
sar edx, 0x1f
sar eax, 2
sub eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esp + 0x118]
sub ecx, edx
mov dword [eax + 0x18], ecx
mov eax, dword [esp + 0x120]
or byte [eax], 2
jmp 0x46d6f8
mov eax, dword [esp + 0x120]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x118]
mov edx, dword [esp + 0x10c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp], eax
call fcn.0046d280
sub esp, 0x24
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebp
jmp 0x46d460
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x35
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046c0d0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46d6f8
mov esi, dword [esp + 0x120]
mov eax, dword [esp + 0x7c]
mov esi, dword [esi]
shl eax, 0x10
and eax, 0x3f0000
mov edx, esi
mov dword [esp + 0x3c], esi
or eax, 0x40
mov esi, dword [esp + 0x120]
and edx, 0xffc0ffbf
or eax, edx
mov dword [esi], eax
jmp 0x46d6f8
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x35
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046c0d0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46d6f8
mov esi, dword [esp + 0x120]
mov eax, dword [esp + 0x7c]
mov esi, dword [esi]
shl eax, 0x10
and eax, 0x3f0000
mov edx, esi
mov dword [esp + 0x3c], esi
or eax, 0x20
mov esi, dword [esp + 0x120]
and edx, 0xffc0ffdf
or eax, edx
mov dword [esi], eax
jmp 0x46d6f8
lea ebx, [esp + 0x80]
mov dword [esp + 4], 0x4e575e
mov dword [esp + 8], ebx
mov dword [esp], 0x4e5755
mov ecx, edi
call fcn.0043ba50
sub esp, 0xc
mov eax, dword [esp + 0x120]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
jmp 0x46db1a
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x3c
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046c0d0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46d6f8
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
mov dword [esi], eax
jmp 0x46d6f8
lea ebx, [esp + 0x80]
mov dword [esp + 4], 0x4e5755
mov dword [esp + 8], ebx
mov dword [esp], 0x4e574f
jmp 0x46dd20
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x3b
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046c0d0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46d6f8
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
mov dword [esi + 4], eax
jmp 0x46d6f8
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 3
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x16e
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046c0d0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46d6f8
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
sub eax, 1
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x120]
or byte [eax], 4
jmp 0x46d6f8
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0xc
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046c0d0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46d6f8
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
sub eax, 1
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x120]
or byte [eax], 8
jmp 0x46d6f8
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x63
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046c0d0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46d6f8
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x100]
or byte [eax + 1], 6
lea eax, [esp + 0x108]
mov dword [esp], eax
call fcn.0043a370
sub esp, 4
mov ebx, dword [esp + 0x7c]
test al, al
je 0x46e889
lea eax, [ebx + 0x64]
cmp ebx, 0x45
cmovl ebx, eax
mov eax, dword [esp + 0x118]
mov dword [eax + 0x14], ebx
jmp 0x46d6f8
lea ecx, [esp + 0x100]
call fcn.0043a420
cmp byte [edi + 0x1c], 0
mov ebx, eax
je 0x46e857
movzx eax, byte [edi + 0x42]
cmp bl, al
jne case.0x46d5c6.1
mov ecx, dword [esp + 0x100]
call fcn.004af190
mov dword [esp + 0x104], 0xffffffff
jmp 0x46d6f8
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 4
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x270f
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046c0d0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46d6f8
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
sub eax, 0x76c
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x120]
mov esi, dword [esp + 0x120]
movzx eax, byte [eax + 1]
mov byte [esp + 0x3c], al
and eax, 0xfffffff9
or eax, 4
mov byte [esi + 1], al
jmp 0x46d6f8
mov eax, dword [esp + 0x120]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
jmp 0x46db1a
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 6
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046c0d0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46d6f8
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x120]
or byte [eax], 2
jmp 0x46d6f8
mov eax, dword [esp + 0x120]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x118]
mov edx, dword [esp + 0x10c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp], eax
call fcn.0046d280
sub esp, 0x24
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46d6f8
mov eax, dword [esp + 0x120]
or byte [eax + 1], 4
jmp 0x46d6f8
lea ecx, [esp + 0x100]
call fcn.0043a420
mov edx, dword [edi + 0x18]
movzx eax, al
test byte [edx + eax*2], 1
je case.0x46d5c6.1
mov eax, dword [esp + 0x110]
lea ebx, [esp + 0x78]
mov edx, dword [esp + 0x10c]
lea esi, [esp + 0x80]
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x14], 0x4e3140
mov dword [esp + 0x10], esi
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046c5c0
sub esp, 0x24
mov dword [esp + 0x100], eax
lea eax, [esp + 0x108]
lea ecx, [esp + 0x100]
mov dword [esp], eax
mov dword [esp + 0x104], edx
call fcn.0043a370
sub esp, 4
test al, al
mov eax, dword [esp + 0x78]
mov dword [esp + 0x40], eax
jne 0x46d6f8
or eax, dword [esp + 0x80]
jne 0x46d6f8
lea ecx, [esp + 0x100]
call fcn.0043a420
cmp byte [edi + 0x1c], 0
mov dword [esp + 0x3c], eax
je 0x46e96b
movzx eax, byte [edi + 0x4a]
cmp byte [esp + 0x3c], al
je 0x46e421
lea ecx, [esp + 0x100]
call fcn.0043a420
cmp byte [edi + 0x1c], 0
mov dword [esp + 0x3c], eax
je 0x46e97f
movzx eax, byte [edi + 0x48]
cmp byte [esp + 0x3c], al
jne 0x46d6f8
mov eax, dword [esp + 0x110]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], 2
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x18], 0x17
mov dword [esp + 0x10], esi
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046c0d0
xor ecx, ecx
sub esp, 0x28
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x110]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x10c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0x3b
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], edx
call fcn.0046c0d0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
jmp 0x46d6f8
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0xc
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046c0d0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46d6f8
mov ecx, dword [esp + 0x7c]
mov eax, 0x2aaaaaab
imul ecx
mov ebx, ecx
sar ebx, 0x1f
mov eax, edx
sar eax, 1
sub eax, ebx
lea eax, [eax + eax*2]
shl eax, 2
sub ecx, eax
mov eax, dword [esp + 0x118]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x120]
or byte [eax], 1
jmp 0x46d6f8
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x17
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046c0d0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46d6f8
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x120]
and byte [eax], 0xfe
jmp 0x46d6f8
lea ebx, [esp + 0x80]
mov dword [esp + 4], 0x4e574f
mov ecx, edi
mov dword [esp + 8], ebx
mov dword [esp], 0x4e5746
call fcn.0043ba50
sub esp, 0xc
mov eax, dword [esp + 0x120]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
jmp 0x46e28d
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x18], 0x63
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046c0d0
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46d6f8
mov esi, dword [esp + 0x120]
mov eax, dword [esp + 0x7c]
or word [esi], 0x480
mov dword [esi + 4], eax
jmp 0x46d6f8
mov eax, dword [esp + 0x120]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x1c], eax
jmp 0x46db1a
mov eax, dword [esp + 0x54]
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x20]
mov dword [esp + 0x80], eax
mov edx, dword [edx + 0x24]
mov dword [esp + 0x84], edx
cmp byte [eax], 0
je 0x46d6f8
cmp byte [edx], 0
je 0x46d6f8
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x18], 2
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp], eax
call fcn.0046c5c0
sub esp, 0x24
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
test eax, eax
jne 0x46d6f8
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x46d6f8
mov eax, dword [esp + 0x120]
or byte [eax + 1], 1
jmp 0x46d6f8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
mov esi, eax
cmp eax, 0xffffffff
jne 0x46d405
mov dword [esp + 0x100], 0
mov edx, 0xffffffff
jmp 0x46d407
mov dword [esp], 0x25
mov ecx, edi
call fcn.0043bb50
sub esp, 4
jmp 0x46e0ce
mov ecx, dword [esp + 0x100]
call fcn.004af190
mov dword [esp + 0x104], 0xffffffff
jmp 0x46d8b8
lea ecx, [esp + 0x100]
call fcn.0043a420
mov dword [esp + 4], 0x2a
mov ecx, edi
movsx eax, al
mov dword [esp], eax
call fcn.0043bb90
mov esi, eax
sub esp, 8
lea eax, [esi - 0x30]
cmp al, 9
ja 0x46e09a
mov ecx, dword [esp + 0x100]
call fcn.004af190
mov ecx, esi
lea eax, [ebx + ebx*4]
mov dword [esp + 0x104], 0xffffffff
movsx esi, cl
lea ecx, [esp + 0x100]
lea ebx, [esi + eax*2 - 0x30]
lea eax, [esp + 0x108]
mov dword [esp], eax
mov dword [esp + 0x7c], ebx
call fcn.0043a370
sub esp, 4
test al, al
je 0x46e919
mov eax, dword [esp + 0x120]
sub ebx, 0x76c
and byte [eax + 1], 0xfd
jmp 0x46e0a3
call fcn.004d6ec8
lea ecx, [esp + 0x100]
call fcn.0043a420
mov dword [esp + 4], 0x2a
mov ecx, edi
movsx eax, al
mov dword [esp], eax
call fcn.0043bb90
mov esi, eax
sub esp, 8
lea eax, [esi - 0x30]
cmp al, 9
ja 0x46e8fe
mov ecx, dword [esp + 0x100]
call fcn.004af190
imul eax, ebx, 0xa
mov ecx, esi
mov dword [esp + 0x104], 0xffffffff
movsx esi, cl
lea ebx, [eax + esi - 0x30]
jmp 0x46e8fe
mov dword [esp], 0x2d
mov ecx, edi
call fcn.0043bb50
push edx
jmp 0x46e3f3
mov dword [esp], 0x2b
mov ecx, edi
call fcn.0043bb50
push ecx
jmp 0x46e417