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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2f0
mov dword [esp + 0x34], ecx
call 0x4af793
pop eax
mov cl, byte [edx + 0x40]
mov ebx, dword [edx + 0x44]
mov esi, dword [edx + 0x48]
mov ebp, edx
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x4c]
mov byte [edx + 0x40], 0x10
add edx, 0x40
cmp cl, 0x14
jne 0x4b0ee5
lea eax, [ebp + 0x60]
mov ecx, edx
lea edx, [ebp + 0x20]
lea edi, [esp + 0x74]
mov dword [esp + 0x2c], ebx
mov dword [esp + 4], ebp
mov dword [esp + 0x18], eax
lea eax, [ebp + 0x50]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x94], edx
mov dword [esp + 0x1bc], eax
mov dword [esp + 0x40], eax
mov dword [esp], eax
cmp byte [edx], 0x14
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], esi
jne 0x4af808
lea esi, [esp + 0xa4]
mov byte [esp + 0xa4], 0x14
jmp 0x4af824
lea esi, [esp + 0xa4]
mov ecx, esi
call fcn.004a8e0c
cmp byte [esp + 0xa4], 0x14
jne 0x4afe23
cmp dword [ebp + 0x30], 0
je 0x4afe14
mov ecx, esi
call fcn.004a8f6c
mov eax, dword [ebp + 0x68]
mov esi, dword [ebp + 0x6c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x80]
mov dword [esp + 0x1ac], eax
mov eax, dword [ebp + 0x84]
mov dword [esp + 0x1a8], eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4af88c
xor edx, edx
cmp eax, 2
je 0x4af899
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov ebx, esi
mov esi, edi
mov edi, dword [ebp + 0x14]
mov edx, 0
sub ecx, eax
cmovb ecx, edx
mov edx, edi
mov edi, esi
mov esi, ebx
cmp edx, ecx
jbe 0x4b0a88
cmp byte [ebp + 0x1c], 0
jne 0x4b059c
mov edx, dword [ebp + 4]
mov eax, edx
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x3c]
push 0x55273c
push dword [ebp + 0x30]
mov dword [esp + 0x14], eax
push eax
call fcn.004a5044
add esp, 0xc
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], edx
and dword [esp + 0xa0], 0
lea ecx, [esp + 0x58]
lea edx, [esp + 0x98]
call fcn.004a3819
mov bl, byte [esp + 0x58]
cmp bl, 0x14
jne 0x4af8f7
movzx ecx, byte [esp + 0x59]
call fcn.004a910c
mov byte [esp + 0x72], al
mov byte [esp + 0x73], dl
movzx eax, byte [esp + 0x73]
movzx ecx, byte [esp + 0x72]
shl eax, 8
or ecx, eax
cmp bl, 0x14
push 6
pop eax
cmovne ecx, eax
cmp cl, 6
je 0x4afe4a
cmp cl, 5
je 0x4afe72
mov dword [esp + 8], ecx
lea ecx, [esp + 0x58]
lea edx, [esp + 0x98]
mov dword [esp + 0x3c], esi
call fcn.004a6778
cmp byte [esp + 0x58], 0x14
push 0xa
pop esi
jne 0x4af947
mov esi, dword [esp + 0x5a]
mov ecx, esi
movzx eax, si
mov edx, esi
and ecx, 0xff000000
cmp eax, 0xa
cmove ecx, eax
and edx, 0xff0000
or edx, ecx
shr edx, 0x10
cmp ax, 0xa
je 0x4afe9b
cmp eax, 9
jne 0x4af985
mov eax, edx
and eax, 0xff00
cmp ax, 0x300
jne 0x4afec7
mov ebp, edx
lea ecx, [esp + 0x58]
lea edx, [esp + 0x98]
call fcn.004a3b7c
movzx ebx, word [esp + 0x5a]
mov eax, 1
shl ebx, 0x10
cmp byte [esp + 0x58], 0x14
cmovne ebx, eax
test bl, bl
jne 0x4afef4
shr ebx, 0x10
sub esp, 4
mov eax, dword [esp + 0xc]
movzx ecx, al
movzx edx, ah
push 3
call fcn.004a900d
pop ecx
pop edx
test al, al
je 0x4af9da
test bx, bx
je 0x4aff21
cmp bx, 0x47ff
ja 0x4aff4e
lea ecx, [esp + 0x58]
lea edx, [esp + 0x98]
push ebx
call fcn.004a3a3c
pop eax
cmp dword [esp + 0x58], 0
jne 0x4aff7b
mov ecx, dword [esp + 0x5c]
lea edi, [esp + 0x61]
mov al, byte [esp + 0x60]
mov edx, dword [edi]
mov edi, dword [edi + 3]
test ecx, ecx
mov dword [esp + 0x1b0], edx
mov dword [esp + 0x1b3], edi
je 0x4affa9
mov edx, dword [esp + 0x1b0]
mov edi, dword [esp + 0x1b3]
lea ebx, [esp + 0x4d]
mov dword [ebx + 3], edi
mov dword [ebx], edx
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0xa4]
lea edx, [esp + 0x48]
mov byte [esp + 0x4c], al
call fcn.004a388c
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov word [esp + 0xb0], si
mov word [esp + 0xb2], bp
mov ebp, dword [esp + 4]
mov byte [esp + 0xb4], al
mov byte [esp + 0xb5], ah
add edx, dword [esp + 0xa0]
mov ebp, dword [ebp + 0x10]
mov ebx, dword [esp + 0xb4]
movsd xmm0, qword [esp + 0xa4]
movsd xmm1, qword [esp + 0xac]
test bl, bl
movsd qword [esp + 0x1e0], xmm0
movsd qword [esp + 0x1e8], xmm1
mov dword [esp + 0x1f0], ebx
jne 0x4afacb
cmp ebp, 2
je 0x4b0476
mov esi, dword [esp + 4]
mov dword [esp + 0xc], edx
cmp byte [esi + 0x89], 2
jne 0x4afb9c
mov dword [esp + 0x38], ebp
mov edi, dword [esp + 0x1e8]
mov ebp, dword [esp + 0x3c]
mov eax, dword [esi + 0x7c]
push ebp
mov ebx, dword [esp + 0x28]
push ebx
lea ecx, [esp + 0x1e8]
push ecx
push dword [esi + 0x78]
lea ecx, [esp + 0xb4]
push ecx
call dword [eax + 0x10]
add esp, 0x14
cmp dword [esp + 0xa4], 0
jne 0x4afd7d
mov eax, dword [esp + 0xa8]
movzx ecx, word [esp + 0xb6]
movzx edi, word [esp + 0xb4]
mov dl, byte [esp + 0xb9]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xac]
mov word [esp + 0x44], cx
mov ecx, ebx
mov bl, byte [esp + 0xb8]
mov word [esp + 0x6c], di
add ecx, 1
mov dword [esp + 0x24], ecx
adc ebp, 0
cmp di, 0xa
mov dword [esp + 0x3c], ebp
mov dword [esp + 8], eax
mov eax, esi
mov esi, dword [esp + 0xb0]
mov dword [eax + 0x68], ecx
movzx ecx, word [esp + 0xba]
mov dword [eax + 0x6c], ebp
je 0x4afde0
mov ebp, dword [eax + 0x10]
mov edi, dword [esp + 8]
mov word [esp + 0x6a], cx
jmp 0x4afbd6
movzx esi, word [esp + 0x1ee]
movzx eax, word [esp + 0x1ec]
mov ecx, dword [esp + 0x1e0]
mov dl, byte [esp + 0x1f1]
mov edi, dword [esp + 0x1e4]
mov word [esp + 0x44], si
mov esi, dword [esp + 0x1e8]
mov word [esp + 0x6c], ax
mov dword [esp + 0x28], ecx
sub esp, 4
mov byte [esp + 0x3c], dl
movzx ecx, bl
movzx edx, dl
push 2
call fcn.004a900d
pop ecx
pop edx
cmp ebp, 2
je 0x4afbf9
test al, al
jne 0x4b04e2
test al, al
jne 0x4b0512
cmp ebp, 2
mov dword [esp + 8], edi
je 0x4afc5f
mov ebx, dword [esp + 4]
mov dword [esp + 0x38], ebp
mov ebp, edi
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
lea edi, [eax + esi]
push 0x552780
push edi
push eax
call fcn.004a5044
add esp, 0xc
mov ecx, eax
push 0x552790
push esi
push ebp
call fcn.004a1e74
add esp, 0xc
mov ecx, dword [esp + 0xc]
cmp dword [esp + 0x38], 0
mov dword [ebx + 4], ecx
mov dword [ebx + 0xc], edi
je 0x4afcef
mov edx, dword [ebx + 0x14]
mov ebp, ebx
jmp 0x4afd47
lea ecx, [esp + 0xa4]
mov edx, edi
push esi
call fcn.004a9023
pop eax
mov al, byte [esp + 0xa4]
cmp al, 0x14
jne 0x4b0b47
mov ebp, dword [esp + 4]
mov eax, dword [esp + 0xac]
mov ebx, dword [esp + 0xa8]
mov ecx, esi
mov edx, dword [ebp + 0x38]
mov dword [esp + 0x38], eax
push 0x5527b0
push dword [ebp + 0x3c]
call fcn.004586a3
pop ecx
pop ecx
mov ecx, eax
push 0x5527c0
push esi
push edi
call fcn.004a1e74
mov edx, dword [esp + 0x44]
add esp, 0xc
mov ecx, dword [esp + 0xc]
movzx eax, word [esp + 0x6c]
movzx edi, word [esp + 0x44]
and dword [ebp], 0
mov dword [ebp + 4], ecx
and dword [ebp + 8], 0
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], edx
mov word [ebp + 0x18], ax
mov word [ebp + 0x1a], di
mov byte [ebp + 0x1c], 0
mov edi, esi
jmp 0x4afd43
mov ecx, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
push 0x5527a0
push edi
push dword [ebx + 8]
call fcn.004a5044
add esp, 0xc
mov ebp, edx
mov esi, ebx
lea ecx, [esp + 0xa4]
mov edx, eax
push ebp
call fcn.004a9023
pop eax
mov al, byte [esp + 0xa4]
cmp al, 0x14
jne 0x4b0b47
mov ebx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0xc]
mov ebp, esi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], edx
test ebx, ebx
je 0x4afd5a
sub edi, dword [ebp + 8]
mov eax, 0
cmovb edi, eax
cmp edx, edi
jbe 0x4b0a6a
cmp dword [ebp + 0x30], ecx
jbe 0x4b0a22
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 8]
call fcn.004c2719
mov esi, dword [esp + 0x3c]
lea edi, [esp + 0x74]
jmp 0x4af859
cmp byte [esp + 0xa8], 5
jne 0x4b0d96
cmp dword [esp + 0x1ac], 0
je 0x4b0d96
sub dword [esp + 0x1a8], edi
jb 0x4b0d96
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x1a8]
mov dword [eax + 0x80], 1
mov dword [eax + 0x84], ecx
lea eax, [esp + 0xa8]
push eax
call fcn.004a8f7a
pop eax
movzx ecx, word [esp + 0x6a]
xor eax, eax
inc eax
mov dword [esp + 0x1ac], eax
jmp 0x4afde4
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0x38], 2
mov edx, dword [esp + 0xc]
lea edi, [esp + 0x74]
jne 0x4b0dd8
mov ebp, dword [esp + 4]
mov word [esp + 0x6a], cx
mov dword [esp + 0x24], ebx
mov ecx, ebp
call fcn.004a8fcc
mov esi, dword [esp + 0x3c]
jmp 0x4af859
mov word [esp + 0x134], 0xa
jmp 0x4affeb
movsd xmm0, qword [esp + 0xa4]
movsd xmm1, qword [esp + 0xac]
lea eax, [esp + 0x128]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
jmp 0x4b005d
mov byte [esp + 0xa4], ch
mov word [esp + 0xb0], 0xa
mov al, 6
movzx ecx, byte [esp + 0xa4]
mov ecx, dword [ecx*4 + 0x4b11b4]
add ecx, dword [esp + 0x14]
jmp ecx
mov byte [esp + 0xa4], 4
mov word [esp + 0xb0], 0xa
mov al, 6
movzx ecx, byte [esp + 0xa4]
mov ecx, dword [ecx*4 + 0x4b11b4]
add ecx, dword [esp + 0x14]
jmp ecx
mov byte [esp + 0xa4], dl
mov word [esp + 0xb0], 0xa
mov ebp, dword [esp + 4]
mov al, 6
movzx ecx, byte [esp + 0xa4]
mov ecx, dword [ecx*4 + 0x4b11b4]
add ecx, dword [esp + 0x14]
jmp ecx
mov byte [esp + 0xa4], 5
mov word [esp + 0xb0], 0xa
mov ebp, dword [esp + 4]
mov al, 6
movzx ecx, byte [esp + 0xa4]
mov ecx, dword [ecx*4 + 0x4b11b4]
add ecx, dword [esp + 0x14]
jmp ecx
mov byte [esp + 0xa4], 0
mov word [esp + 0xb0], 0xa
mov ebp, dword [esp + 4]
mov al, 6
movzx ecx, byte [esp + 0xa4]
mov ecx, dword [ecx*4 + 0x4b11b4]
add ecx, dword [esp + 0x14]
jmp ecx
mov byte [esp + 0xa4], 2
mov word [esp + 0xb0], 0xa
mov ebp, dword [esp + 4]
mov al, 6
movzx ecx, byte [esp + 0xa4]
mov ecx, dword [ecx*4 + 0x4b11b4]
add ecx, dword [esp + 0x14]
jmp ecx
mov byte [esp + 0xa4], 3
mov word [esp + 0xb0], 0xa
mov ebp, dword [esp + 4]
mov al, 6
movzx ecx, byte [esp + 0xa4]
mov ecx, dword [ecx*4 + 0x4b11b4]
add ecx, dword [esp + 0x14]
jmp ecx
mov al, 1
mov ebp, dword [esp + 4]
mov byte [esp + 0xa4], al
mov word [esp + 0xb0], 0xa
mov al, 6
movzx ecx, byte [esp + 0xa4]
mov ecx, dword [ecx*4 + 0x4b11b4]
add ecx, dword [esp + 0x14]
jmp ecx
mov byte [esp + 0xa4], al
mov word [esp + 0xb0], 0xa
mov ebp, dword [esp + 4]
mov al, 6
lea edi, [esp + 0x74]
movzx ecx, byte [esp + 0xa4]
mov ecx, dword [ecx*4 + 0x4b11b4]
add ecx, dword [esp + 0x14]
jmp ecx
mov esi, dword [esp + 0x10]
xor ebx, ebx
jmp 0x4b0064
mov esi, dword [esp + 0x10]
xor ebx, ebx
inc ebx
test ebx, ebx
jne 0x4b1068
movzx ebx, word [esp + 0x134]
mov dx, 0xa
cmp bx, 0xa
je 0x4b00de
cmp byte [esp + 0x13c], 0
mov bl, byte [esp + 0x13d]
mov bh, byte [esp + 0x13e]
je 0x4b009f
mov ecx, dword [esp + 0x18]
call fcn.004aee6c
test bh, bh
je 0x4b00aa
and dword [ebp + 0x80], 0
lea edx, [esp + 0x128]
lea ecx, [esp + 0x24c]
mov byte [ebp + 0x10e], bl
mov eax, dword [edx + 0x10]
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
mov dword [ecx + 0x10], eax
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
movzx edx, word [esp + 0x258]
cmp dx, 0xa
je 0x4b0f50
mov eax, dword [esp + 0x24c]
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x254]
movzx ebx, word [esp + 0x25a]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x250]
mov dword [esp + 0x1d0], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov al, byte [esp + 0x25c]
mov dword [esp + 0x1d4], ecx
test al, al
jne 0x4b019f
mov ecx, dword [esp + 4]
cmp byte [ecx + 0x110], 0
jne 0x4b019f
mov ecx, dword [esp + 4]
cmp word [ecx + 0x108], 5
jne 0x4b019f
mov ecx, dword [esp + 0xc]
mov edx, ebp
push 1
push 0x5525b7
call fcn.0043c53d
pop ecx
pop edx
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 0x1c]
test al, al
je 0x4b023b
mov al, byte [ecx + 0x10c]
cmp al, 3
jae 0x4b023b
inc al
mov ebp, ecx
mov edx, dword [esp + 0x2c]
mov byte [ecx + 0x10c], al
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
mov byte [esp + 0x48], 0x14
jmp 0x4b025c
mov esi, dword [esp + 0xc]
mov word [esp + 0x28], bx
mov ebx, dword [esp + 0x1c]
movzx ecx, al
mov dword [esp + 0x3c], edx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], ebp
and dword [esp + 0x7c], 0
cmp ecx, 3
ja 0x4b0276
mov ecx, dword [ecx*4 + 0x4b11cc]
mov ax, 0x22
add ecx, dword [esp + 0x14]
jmp ecx
mov edx, dword [esp + 0x18]
mov ebp, ecx
lea ecx, [esp + 0x48]
push 0x14
push 1
call fcn.004af452
pop eax
pop ecx
lea ecx, [esp + 0x1d0]
call fcn.0047380e
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.004c2719
mov eax, dword [esp + 0x34]
lea edi, [esp + 0x74]
jmp 0x4b06f7
mov al, 2
lea esi, [esp + 0xa4]
mov dword [esp + 0x40], eax
jmp 0x4b0601
mov ebp, dword [esp + 4]
mov ecx, ebp
call fcn.004a8fcc
mov eax, dword [esp + 0x1ec]
mov cl, byte [esp + 0x1f1]
movsd xmm0, qword [esp + 0x1e0]
mov edx, dword [esp + 0x1e8]
lea esi, [esp + 0x128]
xor ebx, ebx
movsd qword [esi], xmm0
mov dword [esi + 8], edx
mov dword [esp + 0x134], eax
mov byte [esp + 0x138], bl
mov byte [esp + 0x139], cl
mov word [esp + 0x13c], 0x100
mov byte [esp + 0x13e], bl
and dword [esp + 0x124], 0
jmp 0x4b058f
mov ebp, dword [esp + 4]
lea ecx, [esp + 0x128]
mov edx, ebp
push 0x1c
call fcn.004a90a8
pop eax
mov ecx, dword [esp + 0x28]
mov edx, edi
mov dword [esp + 0x124], 1
call fcn.004c2719
xor ebx, ebx
inc ebx
jmp 0x4b058f
mov ebp, dword [esp + 4]
mov edx, dword [esp + 0xc]
mov ecx, ebp
call fcn.004a8fcc
mov eax, dword [esp + 0x28]
movzx ecx, word [esp + 0x6c]
mov dl, byte [esp + 0x38]
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], edi
mov dword [esp + 0x130], esi
mov word [esp + 0x134], cx
movzx esi, word [esp + 0x44]
movzx ecx, word [esp + 0x6a]
mov word [esp + 0x136], si
mov byte [esp + 0x138], bl
mov byte [esp + 0x139], dl
mov word [esp + 0x13a], cx
mov word [esp + 0x13c], 0x100
mov byte [esp + 0x13e], 0
and dword [esp + 0x124], 0
xor ebx, ebx
mov esi, dword [esp + 0x10]
lea edi, [esp + 0x74]
jmp 0x4b0064
mov esi, dword [esp + 0x10]
mov word [esp + 0x134], 0xa
mov bx, 0xa
jmp 0x4b0074
mov edx, dword [esp + 8]
mov bp, 0x23
jmp 0x4b066e
mov ecx, edx
mov edx, dword [esp + 0xc]
call fcn.004c2719
mov eax, dword [esp + 0x40]
cmp bp, 0x23
mov dword [esp + 0x40], eax
jne 0x4b071a
mov edx, dword [esp + 0x8c]
movzx eax, al
mov byte [esp + 0x58], 2
mov ecx, edx
mov word [esp + 0x59], dx
shl ecx, 8
or ecx, eax
mov eax, edx
mov edx, dword [esp + 0x18]
shr eax, 0x10
mov byte [esp + 0x5b], al
mov eax, dword [esp + 0x88]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x58]
push eax
push 0x10
call fcn.004aebb8
pop eax
pop ecx
mov ebp, dword [esp + 4]
lea edi, [esp + 0x74]
lea ecx, [esp + 0x1d0]
call fcn.0047380e
mov eax, dword [esp + 0x34]
cmp byte [esp + 0x48], 0x14
jne 0x4b0f9c
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x2c], eax
jmp 0x4af7ea
mov dword [esp + 0x1c], ebx
push 0x16
pop ecx
lea edi, [esp + 0x1e0]
mov edx, esi
mov ebx, eax
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0x248], bl
movzx eax, word [esp + 0x23c]
mov ebx, dword [esp + 0x8c]
mov word [esp + 0x9c], ax
mov eax, dword [esp + 0x238]
mov word [esp + 0x249], bx
mov dword [esp + 0x98], eax
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x24b], al
mov eax, dword [esp + 0x88]
mov dword [esp + 0x24c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x250], eax
mov eax, dword [esp + 0x1cc]
mov dword [esp + 0x254], eax
push 0x16
pop ecx
lea edi, [esp + 0x258]
lea esi, [esp + 0x1e0]
cmp bp, 0x1f
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x24c]
mov word [esp + 0x2b0], bp
movzx eax, word [esp + 0x9c]
mov word [ecx + 0x6a], ax
mov eax, dword [esp + 0x98]
mov dword [ecx + 0x66], eax
mov eax, dword [esp + 0x1c8]
movzx ecx, word [esp + 0x28]
mov dword [esp + 0x2b8], eax
mov eax, dword [esp + 0x1c4]
mov dword [esp + 0x2bc], eax
mov eax, dword [esp + 0x1c0]
mov dword [esp + 0x2c0], eax
mov eax, dword [esp + 0x3c]
mov word [esp + 0x2c4], ax
mov word [esp + 0x2c6], cx
jne 0x4b086d
mov ebp, dword [esp + 4]
cmp bh, 2
jne 0x4b0976
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1e0]
mov byte [esp + 0x125], al
lea eax, [esp + 0x124]
mov byte [esp + 0x126], bl
mov byte [esp + 0x124], 9
push eax
push 0xd
call fcn.004aebb8
pop eax
pop ecx
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
lea edi, [esp + 0x74]
jmp 0x4b0cf6
push 0x20
pop ecx
mov edi, edx
lea esi, [esp + 0x248]
rep movsd dword es:[edi], dword [esi]
mov ebp, dword [esp + 4]
cmp byte [ebp + 0x110], 0
je 0x4b08fb
cmp word [ebp + 0x108], 5
je 0x4b08fb
mov eax, dword [esp + 0x10c]
add eax, 0xffffffe1
cmp ax, 4
setb cl
cmp ax, 1
setne al
test cl, al
jne 0x4b08fb
mov al, byte [ebp + 0x10d]
cmp byte [esp + 0x110], al
jne 0x4b08fb
sub esp, 4
mov ecx, dword [esp + 0x1c]
push 0x18
pop edx
call fcn.004af147
pop eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0xa4]
mov byte [esp + 0x48], 0x14
call fcn.004ae440
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x1c]
jmp 0x4b026d
mov eax, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x1bc]
mov dword [esp + 0x78], eax
push 0x20
pop ecx
lea eax, [esp + 0x124]
lea esi, [esp + 0x248]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
push eax
lea edi, [esp + 0x78]
push edi
push dword [esp + 0x34]
lea eax, [esp + 0x1ec]
push eax
mov eax, dword [esp + 0x40]
call dword [eax + 0x10]
add esp, 0x10
mov al, byte [esp + 0x1e0]
mov ebx, dword [esp + 0x1c]
cmp al, 0x14
jne 0x4b09dc
mov eax, dword [esp + 0x1e4]
mov ecx, dword [esp + 0x1e8]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], ecx
mov byte [esp + 0x48], 0x14
jmp 0x4b06f7
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
lea edi, [esp + 0x74]
test al, al
je 0x4b0a37
mov ecx, dword [esp + 0x8c]
mov byte [esp + 0xa5], al
test ch, ch
mov byte [esp + 0xa6], cl
mov byte [esp + 0xa4], 9
je 0x4b0c63
movsd xmm0, qword [esp + 0xa4]
movsd xmm1, qword [esp + 0xac]
movsd qword [esp + 0x1e8], xmm1
movsd qword [esp + 0x1e0], xmm0
jmp 0x4b0cf6
cmp al, 2
jae 0x4b0a43
movsd xmm0, qword [esp + 0x1e0]
movsd xmm1, qword [esp + 0x1e8]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x124]
lea ecx, [esp + 0x48]
movsd qword [esp + 0x12c], xmm1
movsd qword [esp + 0x124], xmm0
push eax
push 1
call fcn.004aebb8
pop eax
pop ecx
jmp 0x4b06f3
mov esi, dword [esp + 0x10]
mov word [esp + 0x134], 0xa
xor ebx, ebx
jmp 0x4b0bb1
mov byte [ebp + 0x113], 1
jmp 0x4b0d01
movsd xmm0, qword [esp + 0x1e0]
movsd xmm1, qword [esp + 0x1e8]
mov eax, dword [esp + 0x34]
movsd qword [esp + 0x50], xmm1
movsd qword [esp + 0x48], xmm0
jmp 0x4b06f7
mov esi, edx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 8]
call fcn.004c2719
cmp dword [ebp + 0x10], 2
je 0x4b119d
mov eax, dword [ebp + 8]
mov edx, esi
movzx ecx, word [ebp + 0x1a]
movzx ebx, word [ebp + 0x18]
mov dword [esp + 0x38], edx
lea edi, [eax + edx]
mov edx, dword [ebp + 0x3c]
mov word [esp + 0x3c], cx
mov ecx, dword [ebp + 0x38]
push 0x552760
push edi
push eax
call fcn.004a5044
add esp, 0xc
mov esi, edx
mov ecx, edx
xor edx, edx
mov edi, eax
call fcn.00494904
mov dword [esp + 8], eax
mov dword [esp + 0x28], esi
push esi
push edi
mov dword [esp + 0x14], edx
push edx
call fcn.005010b0
add esp, 0xc
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x38]
mov edx, 0
mov ecx, edi
sub ecx, eax
cmovb ecx, edx
cmp ecx, esi
jbe 0x4b0bce
add eax, esi
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x3c]
push 0x552770
push edi
push eax
call fcn.004a5044
add esp, 0xc
mov edi, edx
lea ecx, [esp + 0xa4]
mov edx, eax
push edi
call fcn.004a9023
pop eax
mov al, byte [esp + 0xa4]
cmp al, 0x14
jne 0x4b0fff
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], ecx
jmp 0x4b0be2
lea edx, [esp + 0xa8]
mov esi, dword [esp + 0xb0]
lea ebx, [esp + 0x128]
mov ebp, dword [esp + 4]
mov cl, byte [edx - 1]
mov byte [esp + 0x5a], cl
movzx ecx, word [edx - 3]
mov edx, dword [esp + 0xac]
mov ah, byte [esp + 0x5a]
mov word [esp + 0x58], cx
mov ecx, dword [esp + 0xa8]
movzx edi, word [esp + 0x58]
mov byte [ebx + 3], ah
mov word [ebx + 1], di
mov byte [esp + 0x128], al
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x130], edx
mov dword [esp + 0x134], esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
inc ebx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 8]
lea edi, [esp + 0x74]
mov dword [esp + 0x124], ebx
call fcn.004c2719
jmp 0x4b0064
mov edx, dword [ebp + 4]
mov ecx, ebp
mov dword [ebp + 0x10], 2
call fcn.004a8fcc
mov eax, dword [ebp + 0x10]
cmp eax, 2
mov eax, dword [esp + 8]
movzx edx, word [esp + 0x58]
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 4]
lea ecx, [esp + 0x128]
lea edi, [esp + 0x74]
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x130], eax
movzx eax, word [esp + 0x3c]
mov word [esp + 0x134], bx
mov word [esp + 0x136], ax
mov al, byte [esp + 0x5a]
mov byte [esp + 0x138], 2
mov word [ecx + 0x11], dx
mov byte [ecx + 0x13], al
mov byte [esp + 0x13c], 0
sete byte [esp + 0x13d]
mov byte [esp + 0x13e], 1
jmp 0x4b0074
cmp word [ebp + 0x108], 5
jne 0x4b0ce0
cmp al, 0x17
je 0x4b0ce0
movsd xmm0, qword [esp + 0xa4]
movsd xmm1, qword [esp + 0xac]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x124]
lea ecx, [esp + 0x1e0]
movsd qword [esp + 0x12c], xmm1
movsd qword [esp + 0x124], xmm0
push eax
push 0x10
call fcn.004aebb8
pop eax
pop ecx
jmp 0x4b0cf6
lea eax, [esp + 0xa4]
mov byte [esp + 0x1e0], 0x14
push eax
call fcn.004a8f7a
pop eax
mov al, byte [esp + 0x1e0]
cmp al, 0x14
jne 0x4b0d19
lea ecx, [esp + 0x248]
call fcn.004ae440
mov edx, dword [esp + 0x94]
jmp 0x4af7ea
lea ecx, [esp + 0x1e1]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 7]
lea ecx, [esp + 0x4d]
movsd qword [ecx + 3], xmm1
movsd qword [ecx - 4], xmm0
lea ecx, [esp + 0x248]
mov byte [esp + 0x48], al
call fcn.004ae440
jmp 0x4b06e7
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
mov esi, dword [esp + 0xb4]
mov ebp, dword [esp + 4]
lea edi, [esp + 0x74]
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x130], edx
mov dword [esp + 0x134], esi
jmp 0x4b0ded
mov ebp, dword [esp + 4]
lea ecx, [esp + 0x128]
mov edx, ebp
push 0x28
call fcn.004a90a8
pop eax
mov esi, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x124], 1
jmp 0x4b0063
mov edi, ebp
mov ebp, edx
mov edx, esi
lea esi, [esp + 0x2d0]
mov byte [esi], cl
movzx ecx, word [edi + 0x41]
mov word [esi + 1], cx
mov cl, byte [edi + 0x43]
lea edi, [esp + 0x124]
mov byte [esi + 3], cl
mov dword [esi + 4], ebx
mov ebx, dword [esp + 0x34]
mov dword [esi + 8], edx
mov ecx, edi
mov edx, esi
mov dword [esi + 0xc], eax
call fcn.004a8e0c
mov ecx, ebp
call fcn.004af769
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
movsd xmm2, qword [esi + 8]
movsd qword [ebp], xmm0
movsd xmm0, qword [esi]
movsd qword [ebp + 8], xmm1
movsd qword [ebx + 8], xmm2
movsd qword [ebx], xmm0
jmp 0x4b1192
mov ecx, esi
call fcn.004af769
mov eax, dword [esp + 0x2c]
mov bl, 0x14
lea ecx, [ebp + 0xc8]
mov byte [ebp + 0x40], bl
mov dword [ebp + 0x44], eax
mov eax, dword [esp + 0x30]
mov dword [ebp + 0x48], eax
call fcn.004af346
lea ecx, [ebp + 0x98]
mov esi, eax
call fcn.004af346
mov edx, dword [esp + 0x34]
mov cl, byte [ebp + 0x113]
mov dword [edx + 4], esi
mov dword [edx + 8], eax
mov byte [edx + 0xc], cl
mov byte [edx], bl
jmp 0x4b1192
movsd xmm0, qword [esp + 0x48]
movsd xmm1, qword [esp + 0x50]
mov ebx, dword [esp + 0x10]
lea esi, [esp + 0x124]
lea edx, [esp + 0x2e0]
mov edi, eax
mov ecx, esi
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm0
call fcn.004a8e0c
mov ecx, ebx
call fcn.004af769
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
movsd xmm2, qword [esp + 0x50]
movsd qword [ebx], xmm0
movsd xmm0, qword [esp + 0x48]
movsd qword [ebx + 8], xmm1
movsd qword [edi + 8], xmm2
movsd qword [edi], xmm0
jmp 0x4b1192
lea esi, [esp + 0xa8]
lea edx, [esp + 0x128]
mov cl, byte [esi - 1]
mov byte [edx + 3], cl
movzx ecx, word [esi - 3]
mov esi, dword [esp + 0xb0]
mov word [edx + 1], cx
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
mov byte [esp + 0x128], al
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x130], edx
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x134], esi
mov dword [esp + 0x124], 1
call fcn.004c2719
lea edi, [esp + 0x74]
movzx eax, byte [esp + 0x128]
cmp eax, 2
je 0x4b10ce
cmp eax, 5
je 0x4b10fe
mov esi, dword [esp + 0x30]
cmp eax, 0x11
lea eax, [esp + 0x128]
jne 0x4b1139
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1d0]
lea ecx, [esp + 0x24c]
movsd qword [esp + 0x1d8], xmm1
movsd qword [esp + 0x1d0], xmm0
push eax
push 4
call fcn.004aebb8
pop eax
pop ecx
jmp 0x4b1152
lea eax, [esp + 0x128]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24c]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
lea eax, [esp + 0x238]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
push eax
push 0x10
jmp 0x4b1128
lea eax, [esp + 0x128]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24c]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x7c], xmm1
movsd qword [esp + 0x74], xmm0
push edi
push 2
call fcn.004aebb8
pop eax
pop ecx
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
jmp 0x4b1156
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
lea eax, [esp + 0x24c]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x2c8]
mov ebp, dword [esp + 0x24c]
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x250]
mov edi, dword [esp + 0x258]
mov dword [ecx], eax
mov dword [ecx + 4], esi
mov esi, dword [esp + 0x254]
mov dword [ebx], ebp
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
call fcn.0047380e
add esp, 0x2f0
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x2b
pop edx
mov ecx, str.called__Option::unwrap____on_a__None__value
push 0x552750
call fcn.0050d590
pop eax
ud2