Function at 0x46fab4
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, 0x4e9648
mov edi, dword [esp + 0x114]
call fcn.0043dd20
mov esi, dword [esp + 0x110]
mov edx, dword [esi + 0x6c]
mov ecx, dword [edx + 4]
cmp eax, dword [edx + 8]
jae 0x46fd64
mov eax, dword [ecx + eax*4]
test eax, eax
je 0x46fd64
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x4f4a54
mov dword [esp + 4], 0x4f4750
mov dword [esp], eax
call fcn.004d5c50
mov dword [esp + 0x54], eax
test eax, eax
je 0x46fd64
mov ecx, 0x4e9780
call fcn.0043dd20
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 0x46fd64
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.0043bf60
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 0x46ea80
mov edx, dword [esp + 0x40]
test edx, edx
jne 0x46eb58
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 0x46e80d
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
cmp eax, 0x43d6f0
jne 0x46eac0
test dl, dl
je 0x46e815
mov byte [edi + ebx + 0x11d], dl
mov eax, edx
cmp al, 0x25
je 0x46e9c8
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 0x46e8e0
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 0x46e855
test ebx, ebx
jne 0x46eae0
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 0x46e8c0
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.0043c010
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 0x46e8c0
mov dword [esp + 0x78], 4
mov dword [esp + 0x40], 4
add dword [esp + 0x3c], 1
jmp 0x46e794
mov ecx, dword [esp + 0x100]
call fcn.004afd00
mov dword [esp + 0x104], 0xffffffff
jmp 0x46e8b0
cmp dword [esp + 0x10c], 0xffffffff
sete dl
cmp esi, 0xffffffff
sete al
mov ebp, eax
test ebx, ebx
je 0x46e8fb
test al, al
jne 0x46e961
mov eax, ebp
mov byte [esp + 0x48], al
mov ecx, dword [esp + 0x108]
test ecx, ecx
setne bl
and bl, dl
jne 0x46e990
mov ebx, edx
mov eax, ebp
cmp al, bl
je 0x46e8b0
mov ebx, dword [esp + 0x100]
test ebx, ebx
je 0x46e92b
cmp byte [esp + 0x48], 0
jne 0x46e9a8
mov eax, esi
movzx esi, al
mov eax, dword [edi + 0x18]
test byte [eax + esi*2], 0x20
je 0x46e8b0
mov ebx, dword [esp + 0x100]
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x46ea20
mov dword [esp + 0x104], 0xffffffff
add eax, 1
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0xc]
cmp dword [ebx + 8], eax
jae 0x46ea47
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 0x46e911
lea esi, [esi]
mov eax, dword [ecx + 0xc]
cmp dword [ecx + 8], eax
jae 0x46ebb8
xor ebx, ebx
jmp 0x46e913
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x46ebe0
movzx esi, byte [eax]
mov ecx, dword [edi + 0x18]
test byte [ecx + esi*2], 0x20
jne 0x46e950
jmp 0x46e8b0
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.0043d5f0
sub esp, 8
mov dword [esp + 0x7c], 0
cmp al, 0x45
je 0x46eb68
cmp al, 0x4f
je 0x46eb68
sub eax, 0x25
cmp al, 0x54
ja case.0x46ea16.1
movzx eax, al
jmp dword [eax*4 + 0x4ee678]
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 0x46e96d
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 0x46e96d
mov dword [esp + 0x100], 0
movzx eax, byte [esp + 0x4c]
mov byte [esp + 0x48], al
mov ebp, eax
jmp 0x46e901
mov edi, dword [esp + 0x114]
mov esi, dword [esp + 0x44]
cmp dword [esp + 0x3c], esi
jne 0x46ea99
mov eax, dword [esp + 0x40]
test eax, eax
je 0x46ea9c
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 0x46e800
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x46fc80
movzx edx, byte [eax]
jmp 0x46e857
lea ecx, [esp + 0x100]
call fcn.0043c010
mov edx, dword [edi + 0x18]
movzx eax, al
test byte [edx + eax*2], 0x20
je 0x46eb48
mov ecx, dword [esp + 0x100]
call fcn.004afd00
mov dword [esp + 0x104], 0xffffffff
lea eax, [esp + 0x108]
lea ecx, [esp + 0x100]
mov dword [esp], eax
call fcn.0043bf60
sub esp, 4
test al, al
je 0x46eaf8
lea esi, [esi]
mov dword [esp + 0x3c], ebp
jmp 0x46e8b0
mov edi, dword [esp + 0x114]
jmp 0x46ea99
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.0043d5f0
sub eax, 0x25
sub esp, 8
cmp al, 0x54
jbe 0x46ea13
lea esi, [esi]
nop
mov dword [esp + 0x78], 4
mov dword [esp + 0x40], 4
jmp 0x46eb48
mov eax, dword [ecx]
mov byte [esp + 0x58], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x58]
cmp eax, 0xffffffff
jne 0x46e99c
mov dword [esp + 0x108], 0
jmp 0x46e913
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 0x46e92b
mov dword [esp + 0x100], 0
jmp 0x46e92b
lea ebx, [esp + 0x80]
mov esi, dword [esp + 0x54]
mov dword [esp], ebx
mov ecx, esi
call fcn.00439490
mov ecx, esi
sub esp, 4
lea eax, [esp + 0xb0]
mov dword [esp], eax
call fcn.00439300
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.0046da10
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 0x46eb48
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 0x46eb48
lea ecx, [esp + 0x100]
call fcn.0043c010
mov edx, dword [edi + 0x18]
movzx eax, al
test byte [edx + eax*2], 0x20
jne 0x46fcbd
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.0046d520
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 0x46eb48
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 0x46eb48
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.0046da10
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 0x46eb48
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 0x46eb48
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.0046e6d0
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 0x46e8b0
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.0046d520
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 0x46eb48
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 0x46eb48
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.0046d520
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 0x46eb48
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 0x46eb48
lea ebx, [esp + 0x80]
mov dword [esp + 4], 0x4ee676
mov dword [esp + 8], ebx
mov dword [esp], 0x4ee66d
mov ecx, edi
call fcn.0043d4b0
sub esp, 0xc
mov eax, dword [esp + 0x120]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
jmp 0x46ef6a
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.0046d520
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 0x46eb48
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
mov dword [esi], eax
jmp 0x46eb48
lea ebx, [esp + 0x80]
mov dword [esp + 4], 0x4ee66d
mov dword [esp + 8], ebx
mov dword [esp], 0x4ee667
jmp 0x46f170
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.0046d520
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 0x46eb48
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
mov dword [esi + 4], eax
jmp 0x46eb48
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.0046d520
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 0x46eb48
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 0x46eb48
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.0046d520
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 0x46eb48
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 0x46eb48
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.0046d520
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 0x46eb48
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x100]
or byte [eax + 1], 6
lea eax, [esp + 0x108]
mov dword [esp], eax
call fcn.0043bf60
sub esp, 4
mov ebx, dword [esp + 0x7c]
test al, al
je 0x46fcd9
lea eax, [ebx + 0x64]
cmp ebx, 0x45
cmovl ebx, eax
mov eax, dword [esp + 0x118]
mov dword [eax + 0x14], ebx
jmp 0x46eb48
lea ecx, [esp + 0x100]
call fcn.0043c010
cmp byte [edi + 0x1c], 0
mov ebx, eax
je 0x46fca7
movzx eax, byte [edi + 0x42]
cmp bl, al
jne case.0x46ea16.1
mov ecx, dword [esp + 0x100]
call fcn.004afd00
mov dword [esp + 0x104], 0xffffffff
jmp 0x46eb48
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.0046d520
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 0x46eb48
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 0x46eb48
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 0x46ef6a
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.0046d520
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 0x46eb48
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 0x46eb48
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.0046e6d0
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 0x46eb48
mov eax, dword [esp + 0x120]
or byte [eax + 1], 4
jmp 0x46eb48
lea ecx, [esp + 0x100]
call fcn.0043c010
mov edx, dword [edi + 0x18]
movzx eax, al
test byte [edx + eax*2], 1
je case.0x46ea16.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], 0x4e9700
mov dword [esp + 0x10], esi
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046da10
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.0043bf60
sub esp, 4
test al, al
mov eax, dword [esp + 0x78]
mov dword [esp + 0x40], eax
jne 0x46eb48
or eax, dword [esp + 0x80]
jne 0x46eb48
lea ecx, [esp + 0x100]
call fcn.0043c010
cmp byte [edi + 0x1c], 0
mov dword [esp + 0x3c], eax
je 0x46fdbb
movzx eax, byte [edi + 0x4a]
cmp byte [esp + 0x3c], al
je 0x46f871
lea ecx, [esp + 0x100]
call fcn.0043c010
cmp byte [edi + 0x1c], 0
mov dword [esp + 0x3c], eax
je 0x46fdcf
movzx eax, byte [edi + 0x48]
cmp byte [esp + 0x3c], al
jne 0x46eb48
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.0046d520
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.0046d520
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
jmp 0x46eb48
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.0046d520
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 0x46eb48
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 0x46eb48
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.0046d520
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 0x46eb48
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 0x46eb48
lea ebx, [esp + 0x80]
mov dword [esp + 4], 0x4ee667
mov ecx, edi
mov dword [esp + 8], ebx
mov dword [esp], 0x4ee65e
call fcn.0043d4b0
sub esp, 0xc
mov eax, dword [esp + 0x120]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
jmp 0x46f6dd
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.0046d520
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 0x46eb48
mov esi, dword [esp + 0x120]
mov eax, dword [esp + 0x7c]
or word [esi], 0x480
mov dword [esi + 4], eax
jmp 0x46eb48
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 0x46ef6a
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 0x46eb48
cmp byte [edx], 0
je 0x46eb48
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.0046da10
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 0x46eb48
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x46eb48
mov eax, dword [esp + 0x120]
or byte [eax + 1], 1
jmp 0x46eb48
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
mov esi, eax
cmp eax, 0xffffffff
jne 0x46e855
mov dword [esp + 0x100], 0
mov edx, 0xffffffff
jmp 0x46e857
mov dword [esp], 0x25
mov ecx, edi
call fcn.0043d5b0
sub esp, 4
jmp 0x46f51e
mov ecx, dword [esp + 0x100]
call fcn.004afd00
mov dword [esp + 0x104], 0xffffffff
jmp 0x46ed08
lea ecx, [esp + 0x100]
call fcn.0043c010
mov dword [esp + 4], 0x2a
mov ecx, edi
movsx eax, al
mov dword [esp], eax
call fcn.0043d5f0
mov esi, eax
sub esp, 8
lea eax, [esi - 0x30]
cmp al, 9
ja 0x46f4ea
mov ecx, dword [esp + 0x100]
call fcn.004afd00
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.0043bf60
sub esp, 4
test al, al
je 0x46fd69
mov eax, dword [esp + 0x120]
sub ebx, 0x76c
and byte [eax + 1], 0xfd
jmp 0x46f4f3
call fcn.004dbb58
lea ecx, [esp + 0x100]
call fcn.0043c010
mov dword [esp + 4], 0x2a
mov ecx, edi
movsx eax, al
mov dword [esp], eax
call fcn.0043d5f0
mov esi, eax
sub esp, 8
lea eax, [esi - 0x30]
cmp al, 9
ja 0x46fd4e
mov ecx, dword [esp + 0x100]
call fcn.004afd00
imul eax, ebx, 0xa
mov ecx, esi
mov dword [esp + 0x104], 0xffffffff
movsx esi, cl
lea ebx, [eax + esi - 0x30]
jmp 0x46fd4e
mov dword [esp], 0x2d
mov ecx, edi
call fcn.0043d5b0
push edx
jmp 0x46f843
mov dword [esp], 0x2b
mov ecx, edi
call fcn.0043d5b0
push ecx
jmp 0x46f867