Function at 0x4586d1
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, 0x4b965c
mov edi, dword [esp + 0x114]
call fcn.00426e10
mov esi, dword [esp + 0x110]
mov edx, dword [esi + 0x6c]
mov ecx, dword [edx + 4]
cmp eax, dword [edx + 8]
jae 0x459454
mov eax, dword [ecx + eax*4]
test eax, eax
je 0x459454
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x4c06e4
mov dword [esp + 4], 0x4c03e8
mov dword [esp], eax
call fcn.004aeb90
mov dword [esp + 0x54], eax
test eax, eax
je 0x459454
mov ecx, 0x4b97a0
call fcn.00426e10
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 0x459454
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.004250b0
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 0x4580a0
mov edx, dword [esp + 0x40]
test edx, edx
jne 0x458178
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 0x457e2d
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
cmp eax, 0x4267e0
jne 0x4580e0
test dl, dl
je 0x457e35
mov byte [edi + ebx + 0x11d], dl
mov eax, edx
cmp al, 0x25
je 0x457fe8
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 0x457f00
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 0x457e75
test ebx, ebx
jne 0x458100
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 0x457ee0
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.00425160
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 0x457ee0
mov dword [esp + 0x78], 4
mov dword [esp + 0x40], 4
add dword [esp + 0x3c], 1
jmp 0x457db4
mov ecx, dword [esp + 0x100]
call fcn.0048cdf0
mov dword [esp + 0x104], 0xffffffff
jmp 0x457ed0
cmp dword [esp + 0x10c], 0xffffffff
sete dl
cmp esi, 0xffffffff
sete al
mov ebp, eax
test ebx, ebx
je 0x457f1b
test al, al
jne 0x457f81
mov eax, ebp
mov byte [esp + 0x48], al
mov ecx, dword [esp + 0x108]
test ecx, ecx
setne bl
and bl, dl
jne 0x457fb0
mov ebx, edx
mov eax, ebp
cmp al, bl
je 0x457ed0
mov ebx, dword [esp + 0x100]
test ebx, ebx
je 0x457f4b
cmp byte [esp + 0x48], 0
jne 0x457fc8
mov eax, esi
movzx esi, al
mov eax, dword [edi + 0x18]
test byte [eax + esi*2], 0x20
je 0x457ed0
mov ebx, dword [esp + 0x100]
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x458040
mov dword [esp + 0x104], 0xffffffff
add eax, 1
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0xc]
cmp dword [ebx + 8], eax
jae 0x458067
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 0x457f31
lea esi, [esi]
mov eax, dword [ecx + 0xc]
cmp dword [ecx + 8], eax
jae 0x4581d8
xor ebx, ebx
jmp 0x457f33
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x458200
movzx esi, byte [eax]
mov ecx, dword [edi + 0x18]
test byte [ecx + esi*2], 0x20
jne 0x457f70
jmp 0x457ed0
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.004266e0
sub esp, 8
mov dword [esp + 0x7c], 0
cmp al, 0x45
je 0x458188
cmp al, 0x4f
je 0x458188
sub eax, 0x25
cmp al, 0x54
ja case.0x458036.1
movzx eax, al
jmp dword [eax*4 + 0x4bb72c]
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 0x457f8d
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 0x457f8d
mov dword [esp + 0x100], 0
movzx eax, byte [esp + 0x4c]
mov byte [esp + 0x48], al
mov ebp, eax
jmp 0x457f21
mov edi, dword [esp + 0x114]
mov esi, dword [esp + 0x44]
cmp dword [esp + 0x3c], esi
jne 0x4580b9
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4580bc
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 0x457e20
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x459370
movzx edx, byte [eax]
jmp 0x457e77
lea ecx, [esp + 0x100]
call fcn.00425160
mov edx, dword [edi + 0x18]
movzx eax, al
test byte [edx + eax*2], 0x20
je 0x458168
mov ecx, dword [esp + 0x100]
call fcn.0048cdf0
mov dword [esp + 0x104], 0xffffffff
lea eax, [esp + 0x108]
lea ecx, [esp + 0x100]
mov dword [esp], eax
call fcn.004250b0
sub esp, 4
test al, al
je 0x458118
lea esi, [esi]
mov dword [esp + 0x3c], ebp
jmp 0x457ed0
mov edi, dword [esp + 0x114]
jmp 0x4580b9
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.004266e0
sub eax, 0x25
sub esp, 8
cmp al, 0x54
jbe 0x458033
lea esi, cs:[esi]
mov dword [esp + 0x78], 4
mov dword [esp + 0x40], 4
jmp 0x458168
mov eax, dword [ecx]
mov byte [esp + 0x58], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x58]
cmp eax, 0xffffffff
jne 0x457fbc
mov dword [esp + 0x108], 0
jmp 0x457f33
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 0x457f4b
mov dword [esp + 0x100], 0
jmp 0x457f4b
lea ebx, [esp + 0x80]
mov esi, dword [esp + 0x54]
mov dword [esp], ebx
mov ecx, esi
call fcn.00422700
mov eax, dword [esi + 8]
sub esp, 4
mov esi, dword [eax + 0x98]
mov edx, dword [eax + 0x9c]
mov ecx, dword [eax + 0xa0]
mov dword [esp + 0x68], esi
mov esi, dword [eax + 0xa8]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0xa4]
mov dword [esp + 0x60], esi
mov esi, dword [eax + 0xac]
mov dword [esp + 0x5c], esi
mov esi, dword [eax + 0xb0]
mov dword [esp + 0x58], esi
mov esi, dword [eax + 0xb4]
mov dword [esp + 0x4c], esi
mov esi, dword [eax + 0xb8]
mov dword [esp + 0x48], esi
mov esi, dword [eax + 0xbc]
mov dword [esp + 0x40], esi
mov esi, dword [eax + 0xc0]
mov eax, dword [eax + 0x94]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x60]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc4], esi
mov esi, dword [esp + 0x5c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc0], edx
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x78]
mov dword [esp + 0xc8], esi
mov esi, dword [esp + 0x58]
mov edx, dword [esp + 0x10c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0xcc], esi
mov esi, dword [esp + 0x4c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x7c]
mov edx, dword [esp + 0x104]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0xd0], esi
mov esi, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0xd4], esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x18], 0x18
mov dword [esp + 0x14], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 0xd8], esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0xdc], esi
call fcn.00457030
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 0x458168
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 0x458168
lea ecx, [esp + 0x100]
call fcn.00425160
mov edx, dword [edi + 0x18]
movzx eax, al
test byte [edx + eax*2], 0x20
jne 0x4593ad
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.00456b40
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 0x458168
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 0x458168
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.00457030
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 0x458168
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 0x458168
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.00457cf0
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 0x457ed0
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.00456b40
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 0x458168
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 0x458168
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.00456b40
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 0x458168
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 0x458168
lea ebx, [esp + 0x80]
mov dword [esp + 4], 0x4bb72a
mov dword [esp + 8], ebx
mov dword [esp], 0x4bb721
mov ecx, edi
call fcn.00426620
sub esp, 0xc
mov eax, dword [esp + 0x120]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
jmp 0x45865d
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.00456b40
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 0x458168
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
mov dword [esi], eax
jmp 0x458168
lea ebx, [esp + 0x80]
mov dword [esp + 4], 0x4bb721
mov dword [esp + 8], ebx
mov dword [esp], 0x4bb71b
jmp 0x458863
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.00456b40
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 0x458168
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x118]
mov dword [esi + 4], eax
jmp 0x458168
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.00456b40
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 0x458168
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 0x458168
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.00456b40
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 0x458168
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 0x458168
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.00456b40
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 0x458168
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x100]
or byte [eax + 1], 6
lea eax, [esp + 0x108]
mov dword [esp], eax
call fcn.004250b0
sub esp, 4
mov ebx, dword [esp + 0x7c]
test al, al
je 0x4593c9
lea eax, [ebx + 0x64]
cmp ebx, 0x45
cmovl ebx, eax
mov eax, dword [esp + 0x118]
mov dword [eax + 0x14], ebx
jmp 0x458168
lea ecx, [esp + 0x100]
call fcn.00425160
cmp byte [edi + 0x1c], 0
mov ebx, eax
je 0x459397
movzx eax, byte [edi + 0x42]
cmp bl, al
jne case.0x458036.1
mov ecx, dword [esp + 0x100]
call fcn.0048cdf0
mov dword [esp + 0x104], 0xffffffff
jmp 0x458168
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.00456b40
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 0x458168
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 0x458168
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 0x45865d
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.00456b40
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 0x458168
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 0x458168
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.00457cf0
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 0x458168
mov eax, dword [esp + 0x120]
or byte [eax + 1], 4
jmp 0x458168
lea ecx, [esp + 0x100]
call fcn.00425160
mov edx, dword [edi + 0x18]
movzx eax, al
test byte [edx + eax*2], 1
je case.0x458036.1
mov eax, dword [esp + 0x110]
lea esi, [esp + 0x78]
mov edx, dword [esp + 0x10c]
lea ebx, [esp + 0x80]
mov dword [esp + 0x20], esi
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], 0x4b9720
mov dword [esp + 0x10], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00457030
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.004250b0
sub esp, 4
test al, al
mov eax, dword [esp + 0x78]
mov dword [esp + 0x40], eax
jne 0x458168
or eax, dword [esp + 0x80]
jne 0x458168
lea ecx, [esp + 0x100]
call fcn.00425160
cmp byte [edi + 0x1c], 0
mov dword [esp + 0x3c], eax
je 0x4594ab
movzx eax, byte [edi + 0x4a]
cmp byte [esp + 0x3c], al
je 0x458f64
lea ecx, [esp + 0x100]
call fcn.00425160
cmp byte [edi + 0x1c], 0
mov dword [esp + 0x3c], eax
je 0x4594bf
movzx eax, byte [edi + 0x48]
cmp byte [esp + 0x3c], al
jne 0x458168
mov eax, dword [esp + 0x110]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], ebx
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 + 0x1c], 2
mov dword [esp + 0x18], 0x17
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00456b40
xor ecx, ecx
sub esp, 0x28
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x110]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x10c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0x3b
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.00456b40
sub esp, 0x28
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x104], edx
mov dword [esp + 0x40], eax
jmp 0x458168
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.00456b40
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 0x458168
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 0x458168
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.00456b40
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 0x458168
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 0x458168
lea ebx, [esp + 0x80]
mov dword [esp + 4], 0x4bb71b
mov ecx, edi
mov dword [esp + 8], ebx
mov dword [esp], 0x4bb712
call fcn.00426620
sub esp, 0xc
mov eax, dword [esp + 0x120]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
jmp 0x458dd0
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.00456b40
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 0x458168
mov esi, dword [esp + 0x120]
mov eax, dword [esp + 0x7c]
or word [esi], 0x480
mov dword [esi + 4], eax
jmp 0x458168
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 0x45865d
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 0x458168
cmp byte [edx], 0
je 0x458168
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.00457030
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 0x458168
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x458168
mov eax, dword [esp + 0x120]
or byte [eax + 1], 1
jmp 0x458168
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
mov esi, eax
cmp eax, 0xffffffff
jne 0x457e75
mov dword [esp + 0x100], 0
mov edx, 0xffffffff
jmp 0x457e77
mov dword [esp], 0x25
mov ecx, edi
call fcn.004266a0
sub esp, 4
jmp 0x458c11
mov ecx, dword [esp + 0x100]
call fcn.0048cdf0
mov dword [esp + 0x104], 0xffffffff
jmp 0x4583fb
lea ecx, [esp + 0x100]
call fcn.00425160
mov dword [esp + 4], 0x2a
mov ecx, edi
movsx eax, al
mov dword [esp], eax
call fcn.004266e0
mov esi, eax
sub esp, 8
lea eax, [esi - 0x30]
cmp al, 9
ja 0x458bdd
mov ecx, dword [esp + 0x100]
call fcn.0048cdf0
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.004250b0
sub esp, 4
test al, al
je 0x459459
mov eax, dword [esp + 0x120]
sub ebx, 0x76c
and byte [eax + 1], 0xfd
jmp 0x458be6
call fcn.004b0920
lea ecx, [esp + 0x100]
call fcn.00425160
mov dword [esp + 4], 0x2a
mov ecx, edi
movsx eax, al
mov dword [esp], eax
call fcn.004266e0
mov esi, eax
sub esp, 8
lea eax, [esi - 0x30]
cmp al, 9
ja 0x45943e
mov ecx, dword [esp + 0x100]
call fcn.0048cdf0
imul eax, ebx, 0xa
mov ecx, esi
mov dword [esp + 0x104], 0xffffffff
movsx esi, cl
lea ebx, [eax + esi - 0x30]
jmp 0x45943e
mov dword [esp], 0x2d
mov ecx, edi
call fcn.004266a0
push edx
jmp 0x458f36
mov dword [esp], 0x2b
mov ecx, edi
call fcn.004266a0
push ecx
jmp 0x458f5a