Function at 0x44ee74
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea eax, [edx + 0x50]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x64], eax
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [esi]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x38], ebx
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x14], eax
movzx eax, byte [edi + 0x2c]
imul ecx, eax, 0x48
mov eax, dword [edx + 4]
add eax, 8
add eax, ecx
lea ecx, [edx + 0x1e8]
mov dword [ebp - 0x68], eax
mov eax, dword [eax + 0x2c]
mov edx, eax
mov dword [ebp - 0x30], eax
call fcn.0044f97a
mov ecx, dword [ebp + 8]
not eax
and eax, dword [ebp + 0x14]
not edx
and edx, dword [ebp + 0x18]
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], edx
mov eax, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
mov ecx, dword [ebp + 0xc]
call fcn.00483850
and eax, 1
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x38]
dec eax
mov dword [esi + 0x38], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0xc], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x38]
dec eax
mov dword [esi + 0x38], eax
mov dword [ebp - 0x70], eax
mov dword [edi + 0x18], eax
cmp byte [edi + 0x2c], bl
ja 0x44f30f
mov eax, dword [ebp + 0xc]
mov ecx, eax
test eax, eax
jg 0x44f321
imul eax, ecx, 0x50
mov ecx, dword [ebp + 8]
push 0x10
mov eax, dword [eax + ecx + 0x2fc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x68]
pop ecx
test byte [eax + 0x28], cl
jne 0x4a4541
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x24]
bt edx, 0xa
jb 0x4a4578
test dl, 5
setne cl
bt edx, 8
setb al
test al, cl
jne 0x4a476d
mov ecx, 0x102
mov eax, edx
and eax, ecx
cmp eax, ecx
je 0x4a47f3
test edx, 0x200
je 0x44f345
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
movzx eax, word [ecx + 0x18]
mov dword [ebp - 0x10], eax
movzx eax, word [ecx + 0x1a]
mov dword [ebp - 0x24], eax
movzx eax, word [ecx + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx + 0x20]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], ebx
mov byte [ebp + 0xf], bl
mov byte [ebp - 0x4d], bl
test byte [eax + 0x2c], 1
jne 0x4a4a07
movzx eax, cx
mov dword [ebp - 0x28], eax
mov ecx, eax
test dl, 0x20
jne 0x4a4a2d
push 0x10
pop eax
test al, dl
jne 0x4a4a55
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x10]
movzx edx, word [ecx + 0x32]
cmp ax, dx
jb 0x44f3d7
cmp dword [ebp - 0x34], ebx
jne 0x4a4b00
lea eax, [ebp - 0x5c]
mov edx, edi
push eax
push dword [ebp - 0x20]
mov ecx, esi
push dword [ebp - 0x34]
call fcn.0044e471
mov ecx, dword [ebp - 0x5c]
add esp, 0xc
mov dword [ebp - 0x40], eax
test ecx, ecx
je 0x44f02c
cmp word [ebp - 0x4c], bx
jne 0x4a4b0e
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x4a4b24
xor edx, edx
inc edx
mov dword [ebp - 0x58], edx
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x4a4b39
mov dword [ebp - 0xc], edx
test eax, eax
jne 0x44f05f
cmp word [ebp - 0x10], bx
je 0x44f41d
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x10], edx
mov edx, ecx
mov dword [ebp - 0x20], edx
test eax, eax
jne 0x4a4b4b
mov al, byte [ebp + 0xf]
test al, al
jne 0x4a4bf1
push dword [ebp - 0x5c]
movzx eax, al
mov ecx, esi
sub edx, eax
push edx
mov edx, dword [ebp - 0x40]
call fcn.0044fab2
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
movzx eax, word [ecx + 0x2a]
test ax, ax
jne 0x4a4c20
test dword [ecx + 0x24], 0x40000
jne 0x4a4c2e
mov ecx, dword [ebp - 0x58]
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x40]
push dword [ebp - 0x1c]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x34]
push dword [ebp - 0x3c]
movzx edx, byte [ecx + eax*2 + 0x40ffcc]
mov ecx, dword [ebp - 8]
call fcn.0044f4a5
add esp, 0x10
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4a4c46
cmp byte [ebp - 0x4d], bl
jne 0x4a4cfd
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x44f0ff
mov ecx, dword [ebp - 0x54]
mov edx, eax
call fcn.00458df5
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x4a4d1f
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x6c]
mov dword [edi + 0x34], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x44f13d
mov edx, dword [ebp - 0x34]
push eax
push dword [ebp - 0x40]
mov eax, dword [ebp - 0xc]
push dword [ebp - 0x1c]
push dword [ebp - 0x3c]
movzx edx, byte [eax + edx*2 + 0x411fd4]
call fcn.0044f4a5
mov ecx, dword [ebp - 8]
add esp, 0x10
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
test eax, 0x40000
jne 0x4a4d2e
mov ecx, dword [ebp + 8]
push 5
movzx edx, word [ecx + 0x2c]
pop ecx
bt dx, cx
setae cl
test al, 0x40
setne al
test al, cl
mov eax, dword [ebp - 0x38]
jne 0x44f2cb
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x1c], ebx
test byte [ecx + 0x24], 0x20
jne 0x4a4d52
bt edx, 0xa
jb 0x44f3a1
test edx, 0x1000
jne 0x44f394
push dword [ebp - 0x3c]
mov esi, dword [ebp + 8]
mov edx, eax
push dword [ebp - 0x30]
mov ecx, esi
call fcn.00450479
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
pop ecx
pop ecx
cmp dword [edi], ebx
jne 0x44f1c7
test byte [esi + 0x2c], 0x20
jne 0x44f1c7
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x4a4de4
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x24]
test ecx, ecx
jne 0x4a4ea0
mov ecx, dword [ebp - 0x14]
test dword [ecx + 0x24], 0x1000
jne 0x44f2c2
cmp dword [ebp - 0x34], 0
sete al
add al, 4
mov byte [edi + 0x2d], al
mov eax, dword [ebp - 0x3c]
mov dword [edi + 0x30], eax
mov al, byte [ecx + 0x26]
and al, 1
mov byte [edi + 0x2e], al
test byte [ecx + 0x24], 0xf
je 0x44f42d
cmp dword [ebp - 0x1c], 0
jne 0x44f2dd
mov esi, dword [ebp - 0x44]
xor ecx, ecx
cmp dword [ebp - 0x38], ecx
sete cl
inc ecx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x64]
mov ecx, ebx
mov dword [ebp - 0x18], ecx
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], edx
mov dword [ebp + 0xc], eax
test eax, eax
jle 0x44f266
movzx ecx, word [edx + 0xa]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x6c], ecx
test cl, 6
je 0x44f2a2
mov ecx, dword [ebp - 0x18]
dec eax
add edx, 0x30
mov dword [ebp + 0xc], eax
mov dword [ebp - 0xc], edx
test eax, eax
jg 0x44f23a
mov eax, dword [ebp - 0x64]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jg 0x44f222
test eax, eax
jle 0x44f28e
lea esi, [edx + 0xc]
mov edx, dword [ebp + 0xc]
mov dword [ebp + 8], esi
test byte [esi - 2], 6
je 0x44f2e5
dec edx
add esi, 0x30
mov dword [ebp + 0xc], edx
mov dword [ebp + 8], esi
test edx, edx
jg 0x44f27a
cmp dword [edi], 0
jne 0x4a556d
mov eax, dword [edi + 0x48]
mov edx, dword [edi + 0x4c]
pop edi
pop esi
pop ebx
leave
ret
mov ecx, dword [edx + 0x28]
mov eax, dword [edx + 0x2c]
and ecx, dword [edi + 0x48]
and eax, dword [edi + 0x4c]
or ecx, eax
je 0x44f436
mov eax, dword [ebp + 8]
mov byte [eax + 0x32], 1
mov eax, dword [ebp + 0xc]
jmp 0x44f249
mov byte [edi + 0x2d], 0xaa
jmp 0x44f1f1
mov dword [ebp - 0x1c], 1
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebp + 8]
jmp 0x44f1af
mov dword [ebp - 0x38], ebx
jmp 0x44f213
movzx eax, word [esi]
test al, 0x82
push 0xb
pop edi
setne cl
bt ax, di
mov edi, dword [ebp + 0x10]
setb al
test al, cl
je 0x44f280
mov ecx, dword [ebp - 0x30]
cmp dword [esi + 8], ecx
jne 0x44f280
jmp 0x4a54dc
mov eax, dword [ebp - 0x68]
test byte [eax + 0x24], 8
je 0x44ef16
jmp 0x4a4522
mov edx, dword [ebp + 8]
imul eax, eax, 0x50
add edx, 0x2f0
add eax, edx
cmp dword [eax], ebx
jne 0x44ef23
dec ecx
sub eax, 0x50
test ecx, ecx
jle 0x44ef23
jmp 0x44f32f
test edx, 0x2000
jne 0x4a4eb1
mov eax, dword [ebp - 0x68]
test byte [eax + 0x28], 0x20
jne 0x4a5440
mov ecx, dword [ebp - 0x34]
push ebx
push dword [ebp - 0x2c]
mov al, byte [ecx + 0x4101e4]
movzx edx, byte [ecx + 0x40fb8c]
mov ecx, dword [ebp - 8]
mov byte [edi + 0x2d], al
mov eax, dword [ebp - 0x30]
push eax
mov dword [edi + 0x30], eax
call fcn.00458245
add esp, 0xc
mov byte [edi + 0x2f], 1
inc eax
mov dword [edi + 0x34], eax
jmp 0x44f213
mov eax, dword [ebp + 8]
cmp byte [eax + 0x31], 1
jne 0x4a4d4a
inc dword [esi + 0x2c]
mov edx, 0x87
mov esi, dword [esi + 0x2c]
mov ecx, dword [ebp - 8]
push ebx
push esi
push dword [ebp - 0x3c]
call fcn.00458245
mov ecx, dword [ebp - 8]
add esp, 0xc
push esi
push ebx
push dword [ebp - 0x30]
push 0x1f
pop edx
call fcn.00458245
add esp, 0xc
mov eax, dword [ebp - 0x38]
jmp 0x44f2d2
mov eax, dword [ecx + 0x1c]
xor ecx, ecx
mov esi, dword [ebp - 0x28]
cmp byte [esi + eax], cl
mov esi, dword [ebp - 0x44]
sete cl
cmp dword [ebp - 0x34], ecx
jne 0x4a4af8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
mov al, byte [ebp + 0xf]
mov byte [ebp - 0x4d], al
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], ecx
movzx ecx, dx
movzx eax, al
mov byte [ebp + 0xf], bl
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x4c], eax
jmp 0x44f002
mov ecx, dword [ebp - 0x28]
mov edx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], edx
jmp 0x44f072
mov byte [edi + 0x2f], 1
jmp 0x44f209
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx]
mov dword [ebp - 0x74], eax
test byte [ecx + 0x24], 8
jne 0x4a5449
mov ecx, dword [ebp - 0x1c]
cmp ecx, 1
je 0x4a5458
cmp ecx, 3
jge 0x44f4a0
movzx eax, word [edx + 0xa]
test eax, 0x1000
jne 0x4a547f
test eax, 0x200
jne 0x4a5498
push 0x10
pop eax
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push esi
call fcn.00444b06
mov eax, dword [ebp - 0x2c]
add esp, 0x10
test eax, eax
jne 0x4a54c7
mov edx, dword [ebp - 0xc]
push 4
pop eax
or word [edx + 0xa], ax
jmp 0x44f2bd
mov eax, dword [ebp - 0x6c]
jmp 0x44f468
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 8]
inc eax
push ebx
push eax
push ebx
push 0x46
mov dword [esi + 0x2c], eax
pop edx
mov dword [edi], eax
call fcn.00458245
add esp, 0xc
jmp 0x44ef16
push dword [eax + 0x18]
mov esi, dword [eax + 0x1c]
mov ecx, dword [ebp - 8]
push ebx
push esi
push 0xd
pop edx
call fcn.00458245
mov ecx, dword [ebp - 8]
add esp, 0xc
push ebx
push dword [ebp - 0x1c]
push esi
push 0xe
pop edx
call fcn.00458245
add esp, 0xc
mov dword [edi + 0x34], eax
push 0xb
pop eax
mov byte [edi + 0x2d], al
jmp 0x44f213
movzx eax, word [eax + 0x28]
mov ecx, esi
mov dword [ebp - 0x24], eax
lea edx, [eax + 2]
call fcn.004508d2
mov ecx, eax
mov eax, dword [edi + 0xc]
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x24], ebx
jbe 0x4a45e3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + ebx*4]
test edx, edx
je 0x4a45db
lea eax, [ebx + 2]
add eax, ecx
test byte [edx + 0xc], 1
mov ecx, esi
je 0x4a45c9
push eax
push dword [ebp - 0x34]
push ebx
push edi
call fcn.0044fd86
mov eax, dword [edi + 0x10]
add esp, 0x10
mov dword [ebp - 0xc], eax
jmp 0x4a45d8
mov edx, dword [edx]
push 1
push eax
mov edx, dword [edx + 0x10]
call fcn.004fa065
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
inc ebx
cmp ebx, dword [ebp - 0x24]
jl 0x4a4599
xor ebx, ebx
mov eax, dword [ebp - 0x14]
push ebx
push ecx
mov ecx, dword [ebp - 8]
push dword [eax + 0x18]
push 0x46
pop edx
call fcn.00458245
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [ebp - 8]
inc eax
push ebx
push eax
push dword [ebp - 0x24]
push 0x46
pop edx
call fcn.00458245
mov ecx, dword [ebp - 0x14]
add esp, 0xc
xor eax, eax
cmp byte [ecx + 0x1c], al
setne al
dec eax
and eax, 6
add eax, 0xfffffff9
push eax
push dword [ecx + 0x20]
mov ecx, dword [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp - 0xc]
push dword [ebp - 0x30]
push 9
pop edx
call fcn.00453b03
mov eax, dword [ebp - 0x14]
add esp, 0x14
mov ecx, dword [ebp - 0x24]
mov byte [eax + 0x1c], bl
mov eax, dword [ebp - 0x30]
mov edx, dword [edi + 0x38]
mov dword [edi + 0x30], eax
mov eax, dword [ebp + 8]
cmp byte [eax + 0x31], 0
setne al
dec al
and al, 0x92
add al, 0xaa
sub ecx, 1
mov byte [edi + 0x2d], al
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov eax, dword [eax + 0x6c]
mov dword [edi + 0x34], eax
js 0x44f213
imul eax, edx, 0x14
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
add eax, 2
add eax, ecx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x14]
push 0x10
mov eax, dword [eax + 0x30]
mov edx, dword [eax + ecx*4]
pop eax
mov dword [ebp - 0x2c], edx
cmp ecx, eax
jae 0x4a46b8
mov eax, dword [ebp - 0x14]
mov ax, word [eax + 0x1e]
shr ax, cl
test al, 1
je 0x4a46b5
mov ecx, edi
call fcn.0044ffd3
jmp 0x4a4756
mov ecx, dword [ebp - 0x10]
test byte [edx + 0xc], 1
je 0x4a4759
mov eax, dword [ebp - 0x54]
cmp byte [eax + 0x51], 0
jne 0x4a46f7
mov eax, dword [ebp - 0xc]
mov edx, dword [edi + 0x3c]
sub eax, 0x14
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov edx, dword [edx + eax + 4]
call fcn.00446ae1
push dword [eax + 0xc]
movzx edx, byte [eax]
push dword [eax + 8]
push dword [eax + 4]
call fcn.00458245
add esp, 0xc
push ebx
push ebx
push 0x35
pop edx
mov ecx, esi
call fcn.0044aba3
mov dword [ebp - 0x1c], eax
pop ecx
pop ecx
test eax, eax
je 0x4a4756
mov ecx, dword [ebp - 0x2c]
mov edx, 0xa8
push ebx
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x54]
call fcn.00453971
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x10], ecx
test ecx, ecx
je 0x4a4749
mov edx, dword [ebp + 0xc]
push ebx
mov dword [ecx + 0x1c], edx
push dword [edi + 0x18]
push eax
push esi
call fcn.00444b06
mov eax, dword [ebp - 0x1c]
add esp, 0x10
mov ecx, dword [ebp - 0x54]
mov edx, eax
mov dword [eax + 0xc], ebx
call fcn.0044c2ea
mov ecx, dword [ebp - 0x10]
dec ecx
dec dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
test ecx, ecx
jns 0x4a4688
jmp 0x44f213
mov eax, dword [ebp - 0x14]
mov ecx, esi
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
push eax
push dword [ebp - 0x34]
mov dword [ebp - 0xc], edx
push ebx
push edi
mov dword [ebp + 0xc], eax
call fcn.0044fd86
mov ecx, dword [ebp + 0xc]
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp eax, ecx
je 0x4a47b7
test ecx, ecx
je 0x4a47b7
mov dl, byte [esi + 0x13]
cmp dl, 8
jae 0x4a47b7
movzx eax, dl
mov dword [esi + eax*4 + 0x94], ecx
inc byte [esi + 0x13]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 8]
push eax
push dword [edi + 0x10]
push dword [ebp - 0x30]
push 0x1e
pop edx
call fcn.00458245
mov edx, dword [ebp - 0xc]
add esp, 0xc
mov byte [edi + 0x2d], 0xaa
mov ecx, dword [edx + 0x28]
mov eax, dword [edx + 0x2c]
and ecx, dword [edi + 0x48]
and eax, dword [edi + 0x4c]
or ecx, eax
jne 0x44f213
push 4
pop eax
or word [edx + 0xa], ax
jmp 0x44f213
mov dword [ebp - 0x10], 0xaa
mov ecx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], ecx
test dl, 0x20
je 0x4a481d
mov eax, dword [ebp - 0x14]
push 4
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
pop eax
mov dword [ebp - 0xc], ecx
mov dword [ebp + 0xc], eax
jmp 0x4a4820
mov dword [ebp + 0xc], ebx
push 0x10
pop eax
test al, dl
je 0x4a4838
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [edx + eax]
mov dword [ebp - 0x24], edx
jmp 0x4a483a
mov edx, ebx
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4a4849
mov dword [ebp - 0x24], ecx
mov ecx, edx
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x4a48ff
mov edx, dword [ecx]
mov dword [ebp + 0xc], 0x18161719
mov dword [ebp - 0x60], edx
mov ecx, dword [edx + 0x10]
call fcn.0044fb84
cmp eax, 1
jle 0x4a4897
mov ecx, esi
call fcn.00450908
mov edx, dword [edx + 0x10]
push 1
push eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x5c], eax
call fcn.004fa065
mov eax, dword [ebp - 0x60]
pop ecx
pop ecx
movzx ecx, byte [eax]
inc ecx
and ecx, 2
or ecx, 1
mov cl, byte [ebp + ecx + 0xc]
jmp 0x4a48c2
lea eax, [ebp - 0x2c]
mov edx, ecx
push eax
mov ecx, esi
call fcn.00444bdf
mov edx, dword [ebp - 0xc]
pop ecx
mov ecx, edi
mov dword [ebp - 0x5c], eax
call fcn.0044ffd3
mov eax, dword [ebp - 0x60]
movzx ecx, byte [eax]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov cl, byte [ebp + ecx - 0x2a]
push dword [ebp - 0x5c]
movzx edx, cl
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
push dword [ebp - 0x30]
call fcn.00458245
mov ecx, dword [ebp - 0xc]
add esp, 0xc
test ecx, ecx
je 0x4a48f4
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4a48f4
movzx eax, al
mov dword [esi + eax*4 + 0x94], ecx
inc byte [esi + 0x13]
mov eax, dword [ebp - 0x34]
xor eax, 1
mov dword [ebp + 0xc], eax
jmp 0x4a491e
mov ecx, dword [ebp - 8]
xor eax, 1
push ebx
push dword [ebp - 0x2c]
mov dword [ebp + 0xc], eax
push dword [ebp - 0x30]
lea edx, [eax*4 + 0x20]
call fcn.00458245
add esp, 0xc
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4a4994
mov eax, dword [eax]
inc dword [esi + 0x2c]
mov ecx, dword [esi + 0x2c]
push 1
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x58], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x2c], eax
call fcn.004fa065
mov edx, dword [ebp - 0x2c]
pop ecx
pop ecx
mov ecx, dword [edx + 0x10]
call fcn.0044fb84
cmp eax, 1
jg 0x4a496e
mov al, byte [edx]
cmp al, 0x38
je 0x4a495c
cmp al, 0x36
jne 0x4a496e
mov eax, dword [ebp - 0x34]
xor eax, 1
lea eax, [eax*2 + 0x37]
mov dword [ebp - 0x10], eax
jmp 0x4a4980
xor edx, edx
cmp dword [ebp - 0x34], edx
setne dl
lea edx, [edx*2 + 0x36]
mov dword [ebp - 0x10], edx
call fcn.0044fb84
cmp eax, 1
jg 0x4a4994
mov edx, dword [ebp - 0x24]
mov ecx, edi
call fcn.0044ffd3
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
add cl, 4
cmp dword [ebp - 0x10], 0xaa
mov eax, dword [eax + 0x6c]
mov byte [edi + 0x2d], cl
mov ecx, dword [ebp - 0x30]
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], eax
je 0x44f213
inc dword [esi + 0x2c]
mov edx, 0x80
mov esi, dword [esi + 0x2c]
push ebx
push esi
push ecx
mov ecx, dword [ebp - 8]
call fcn.00458245
mov edx, dword [ebp - 0x10]
add esp, 0xc
push esi
push dword [ebp - 0x1c]
mov esi, dword [ebp - 8]
mov ecx, esi
push dword [ebp - 0x58]
call fcn.00458245
mov eax, dword [esi + 0x6c]
add esp, 0xc
test eax, eax
jle 0x44f213
imul ecx, eax, 0x14
mov eax, dword [esi + 0x68]
push 0x53
pop edx
mov word [ecx + eax - 0x12], dx
jmp 0x44f213
cmp byte [eax + 0x2f], bl
jle 0x44efca
mov eax, dword [ebp - 0x38]
cmp word [eax + 0x32], cx
jbe 0x44efca
mov byte [ebp + 0xf], 1
mov dword [ebp - 0x20], 1
jmp 0x44efca
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x14]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [ebp - 0x48], eax
movzx eax, word [esi + 0x1a]
mov esi, dword [ebp - 0x44]
cmp dword [ebp - 0x20], eax
ja 0x44efdb
mov dword [ebp - 0x20], eax
jmp 0x44efdb
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x30]
mov ecx, dword [eax + ecx*4]
movzx eax, word [edx + 0x1c]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x20], eax
ja 0x4a4a6d
mov dword [ebp - 0x20], eax
mov eax, 0x100
test word [ecx + 0xa], ax
je 0x4a4aba
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 8]
inc eax
push ebx
push eax
push 1
push 0x46
mov dword [esi + 0x2c], eax
pop edx
mov dword [edi + 0x24], eax
call fcn.00458245
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 0x28]
add esp, 0xc
mov eax, dword [eax + 0x6c]
shl dword [edi + 0x24], 1
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x1c]
cmp byte [edx + eax], 1
sete cl
xor ecx, dword [ebp - 0x34]
or dword [edi + 0x24], ecx
jmp 0x4a4abd
mov edx, dword [ebp - 0x28]
cmp dword [ebp - 0x48], ebx
jne 0x44efe6
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 4]
movsx edx, word [eax + edx*2]
test edx, edx
js 0x4a4ae4
mov eax, dword [ecx + 0xc]
mov ecx, edx
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xc], bl
je 0x4a4aef
push 0xfffffffffffffffe
pop eax
cmp edx, eax
jne 0x44efe6
mov byte [ebp + 0xf], 1
jmp 0x44efe6
mov eax, dword [ebp - 0x10]
jmp 0x44eff9
cmp dx, ax
jne 0x44f002
jmp 0x44f3f1
mov edx, dword [ebp - 0x28]
lea edx, [edx + ecx]
mov ecx, dword [ebp - 0x54]
call fcn.0044e20f
mov dword [ebp - 0x60], eax
jmp 0x44f02c
test byte [eax + 0xc], 0x28
jne 0x44f03d
xor edx, edx
mov dword [ebp - 0x58], ebx
inc edx
jmp 0x44f043
test byte [ecx + 0xc], 0x28
mov dword [ebp - 0xc], ebx
je 0x44f051
jmp 0x44f04e
mov eax, dword [eax]
mov edx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x44]
mov eax, dword [eax + 0x10]
movzx edx, dx
push edx
push ecx
mov edx, eax
mov dword [ebp + 0xc], eax
mov ecx, esi
call fcn.004fa065
push dword [ebp - 0x48]
mov ecx, dword [ebp - 8]
mov edx, edi
call fcn.00518c65
mov ecx, dword [ebp + 0xc]
add esp, 0xc
call fcn.00450075
test eax, eax
je 0x4a4b9f
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 8]
push ebx
push dword [ebp - 0x1c]
push eax
push 0x32
pop edx
call fcn.00458245
add esp, 0xc
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x4a4bbb
mov eax, dword [ebp - 0x28]
add eax, ecx
mov ecx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x24]
movzx edx, ax
call fcn.00515d23
pop ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
movzx eax, cx
mov ecx, dword [ebp + 0xc]
add edx, eax
mov dword [ebp - 0x20], edx
call fcn.0044fb84
xor ecx, ecx
inc ecx
cmp eax, ecx
jle 0x4a4bdd
mov dword [ebp - 0x58], ecx
jmp 0x4a4bea
mov edx, dword [ebp - 0x48]
mov ecx, edi
call fcn.0044ffd3
mov edx, dword [ebp - 0x20]
mov al, bl
jmp 0x44f07d
mov eax, dword [ebp - 0x40]
push ebx
add eax, ecx
mov ecx, dword [ebp - 8]
push eax
push ebx
push 0x49
pop edx
call fcn.00458245
mov edx, dword [ebp - 0x20]
add esp, 0xc
mov al, byte [ebp + 0xf]
inc edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x10], 1
jmp 0x44f07d
cmp dword [ebp - 0x20], eax
je 0x44f0da
jmp 0x44f0a2
mov ecx, dword [ebp - 8]
push ebx
push ebx
push dword [ebp - 0x3c]
push 0x77
pop edx
call fcn.00458245
add esp, 0xc
jmp 0x44f0af
mov eax, dword [eax]
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 0x40]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x4c]
movzx eax, ax
push eax
push edx
mov dword [ebp + 0xc], ecx
mov edx, ecx
mov ecx, esi
call fcn.004fa065
push dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov edx, edi
call fcn.00518c65
mov ecx, dword [ebp + 0xc]
add esp, 0xc
call fcn.00450075
test eax, eax
je 0x4a4c9a
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 8]
push ebx
push dword [ebp - 0x1c]
push eax
push 0x32
pop edx
call fcn.00458245
add esp, 0xc
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x4a4cce
mov ecx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x4c]
movzx edx, ax
call fcn.00515d23
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x4c]
pop ecx
mov ecx, dword [ebp - 0x28]
push eax
movzx eax, dx
mov edx, dword [ebp - 0x40]
push eax
lea edx, [ecx + edx]
mov ecx, esi
call fcn.0044fab2
pop ecx
pop ecx
mov ecx, dword [ebp - 0x4c]
movzx eax, cx
add dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
call fcn.0044fb84
xor ecx, ecx
inc ecx
cmp eax, ecx
jle 0x4a4cee
mov dword [ebp - 0xc], ecx
jmp 0x44f0ee
mov edx, dword [ebp - 0x18]
mov ecx, edi
call fcn.0044ffd3
jmp 0x44f0ee
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 8]
push ebx
push eax
push ebx
push 0x49
pop edx
call fcn.00458245
add esp, 0xc
mov dword [ebp - 0xc], ebx
inc dword [ebp - 0x28]
jmp 0x44f0ee
mov ecx, dword [ebp - 0x54]
mov edx, eax
call fcn.00458df5
jmp 0x44f10a
push ebx
push 1
push dword [ebp - 0x3c]
push 0x77
pop edx
call fcn.00458245
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [eax + 0x24]
jmp 0x44f14e
mov eax, dword [ebp - 0x38]
jmp 0x44f195
mov edx, dword [ebp - 0x3c]
cmp dword [ebp - 0x30], edx
je 0x44f2d5
call fcn.00451459
mov ecx, esi
mov dword [ebp + 0xc], eax
movzx edx, word [eax + 0x32]
call fcn.004508d2
mov dword [ebp - 0xc], eax
mov esi, ebx
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x32]
xor eax, eax
mov edx, ecx
cmp ax, cx
jae 0x4a4dc4
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0xc]
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x38]
mov dx, word [eax + esi*2]
call fcn.00446ff4
movsx ecx, ax
lea eax, [esi + ebx]
push eax
push ecx
push dword [ebp - 0x3c]
mov ecx, dword [ebp - 8]
push 0x5a
pop edx
call fcn.00458245
movzx ecx, word [edi + 0x32]
add esp, 0xc
inc esi
cmp esi, ecx
jl 0x4a4d8c
mov edi, dword [ebp + 0x10]
mov edx, ecx
xor ebx, ebx
mov ecx, dword [ebp - 8]
movzx eax, dx
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x70]
push dword [ebp - 0x30]
push 0x1c
pop edx
call fcn.0044f4a5
add esp, 0x10
jmp 0x44f3cf
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0x90], ecx
mov esi, ebx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0xa4], 0x518c23
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], edx
cmp dword [eax], ebx
jle 0x44f1c7
mov edi, dword [ebp - 0x2c]
lea ecx, [eax + 4]
mov ebx, dword [ebp + 8]
push 0xfffffffffffffffe
mov dword [ebp + 0xc], ecx
pop edx
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 4]
cmp word [eax + esi*2], dx
jne 0x4a4e8b
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0x80], esi
mov eax, dword [ecx]
mov dword [ebp - 0x8c], eax
test edx, edx
je 0x4a4e69
lea ecx, [ebp - 0xa8]
call fcn.0044b786
mov edx, dword [ebx + 8]
lea ecx, [ebp - 0xa8]
call fcn.0044b69d
mov edx, dword [ebx + 0xc]
lea ecx, [ebp - 0xa8]
call fcn.0044b69d
mov ecx, dword [ebp + 0xc]
push 0xfffffffffffffffe
pop edx
inc esi
add ecx, 0x18
mov dword [ebp + 0xc], ecx
cmp esi, dword [edi]
jl 0x4a4e40
mov edi, dword [ebp + 0x10]
xor ebx, ebx
jmp 0x44f1c7
push dword [ebp - 0x64]
mov edx, dword [ebp - 0x30]
call fcn.00518ab9
pop ecx
jmp 0x44f1d5
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x34], eax
inc eax
inc dword [esi + 0x2c]
dec dword [esi + 0x38]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x2c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x4c], ebx
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x48], ecx
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 8]
mov byte [edi + 0x2d], 0x42
mov dword [edi + 0x30], edx
mov al, byte [eax + 0x2e]
cmp al, 1
jbe 0x4a4fcf
movzx eax, al
sub eax, dword [ebp + 0xc]
dec eax
imul ecx, eax, 0x48
push ebx
mov dword [ebp + 0xc], eax
add ecx, 0x50
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.0044c50b
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0x40], ecx
test ecx, ecx
jne 0x4a4f3b
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
jmp 0x44f29d
mov edx, dword [ebp + 0xc]
lea edi, [ecx + 8]
mov esi, dword [ebp - 0x68]
push 0x12
lea eax, [edx + 1]
movzx eax, al
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov eax, dword [ebp + 8]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 4]
add ecx, 8
mov dword [ebp - 0xc], ecx
cmp edx, 1
jl 0x4a4f99
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebp + 0x10]
add ebx, 0x50
add eax, 0x7c
mov dword [ebp + 0xc], eax
movzx eax, byte [eax]
mov edi, ebx
imul esi, eax, 0x48
add ebx, 0x48
mov eax, dword [ebp + 0xc]
push 0x12
add eax, 0x50
mov dword [ebp + 0xc], eax
add esi, ecx
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc]
sub edx, 1
jne 0x4a4f74
xor ebx, ebx
mov ecx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push 0x10
pop eax
test byte [edx + 0x2c], al
jne 0x4a501a
test byte [ecx + 0x24], 0x20
jne 0x4a4fda
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 8]
push ebx
push eax
push ebx
push 0x49
pop edx
mov dword [ebp - 0x4c], eax
call fcn.00458245
add esp, 0xc
jmp 0x4a5011
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], eax
jmp 0x4a4fa2
call fcn.00451459
mov esi, eax
mov eax, dword [ebp - 0x44]
push ebx
mov edx, dword [eax + 0x28]
mov dword [ebp - 0x4c], edx
lea ecx, [edx + 1]
mov dword [eax + 0x28], ecx
movzx ecx, word [esi + 0x32]
push ecx
mov ecx, dword [ebp - 8]
push edx
push 0x71
pop edx
call fcn.00458245
add esp, 0xc
mov edx, esi
mov esi, dword [ebp - 0x44]
mov ecx, esi
call fcn.00448f37
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 8]
push ebx
push dword [ebp - 0x3c]
push ebx
push 0x46
pop edx
call fcn.00458245
mov dword [ebp - 0x6c], eax
add esp, 0xc
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0xc], 1
jle 0x4a50bd
mov edi, ebx
mov dword [ebp + 0xc], ebx
mov ecx, ebx
mov esi, ebx
mov eax, dword [eax + 0x14]
add eax, ecx
mov edx, dword [eax]
cmp eax, dword [ebp - 0x14]
je 0x4a508e
test byte [eax + 0xa], 6
jne 0x4a508e
mov esi, 0x1fff
test word [eax + 0xc], si
mov esi, dword [ebp - 0x18]
je 0x4a508e
test edx, edx
je 0x4a5078
mov ecx, dword [ebp - 0x54]
push ebx
push ebx
call fcn.00450cc4
pop ecx
pop ecx
jmp 0x4a507a
mov eax, ebx
mov ecx, dword [ebp - 0x54]
mov edx, esi
push eax
call fcn.004514ab
pop ecx
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x64]
inc edi
add ecx, 0x30
mov dword [ebp + 0xc], ecx
cmp edi, dword [eax + 0xc]
jl 0x4a5046
mov edi, dword [ebp + 0x10]
test esi, esi
mov esi, dword [ebp - 0x44]
je 0x4a50bd
mov eax, dword [ebp - 0x18]
mov edx, 0x1002c
push eax
push ebx
mov ecx, esi
call fcn.0044aba3
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov ecx, 0x400
push 0x20
mov ax, word [eax + 0x2c]
and ax, cx
pop ecx
push 0x40e77c
or ax, cx
movzx eax, ax
push 1
push esi
mov dword [ebp - 0x78], eax
call fcn.0047da4a
mov eax, dword [ebp - 0x58]
add esp, 0xc
mov edx, ebx
mov dword [ebp - 0x20], edx
cmp dword [eax + 0xc], ebx
jle 0x4a5399
mov edi, dword [ebp - 0x30]
mov ecx, ebx
mov dword [ebp - 0x5c], ebx
mov eax, dword [eax + 0x14]
cmp dword [eax + ecx + 0x14], edi
je 0x4a511d
mov esi, 0x400
test word [eax + ecx + 0xc], si
mov esi, dword [ebp - 0x44]
je 0x4a5380
mov eax, dword [eax + ecx]
mov ecx, dword [ebp - 0x18]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x60], ebx
test ecx, ecx
je 0x4a5133
mov dword [ecx + 0xc], eax
mov dword [ebp + 0xc], ecx
lea eax, [edx + 1]
push eax
push 0x40e7f0
push 1
push esi
call fcn.0047da4a
push dword [ebp - 0x34]
mov edx, dword [ebp - 0x40]
mov ecx, esi
push dword [ebp - 0x78]
push ebx
push ebx
push dword [ebp + 0xc]
call fcn.0044e673
mov edi, eax
add esp, 0x24
mov dword [ebp - 0x10], edi
test edi, edi
je 0x4a5377
mov edx, dword [ebp - 0x40]
lea ecx, [edi + 0x2f0]
push ebx
push ecx
mov ecx, esi
call fcn.0044fa13
mov eax, dword [ebp + 8]
pop ecx
pop ecx
push 0x10
pop ecx
test byte [eax + 0x2c], cl
jne 0x4a52db
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
dec eax
cmp ecx, eax
jne 0x4a51a2
or edi, 0xffffffff
mov dword [ebp - 0xc], edi
jmp 0x4a51a7
mov edi, ecx
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0x48]
test byte [eax + 0x24], 0x20
jne 0x4a51e3
push dword [ebp - 0x24]
mov ecx, dword [ebp - 8]
mov edx, eax
push 0xffffffffffffffff
push dword [ebp - 0x30]
call fcn.00449320
mov ecx, dword [ebp - 8]
add esp, 0xc
push edi
push dword [ebp - 0x24]
push ebx
push dword [ebp - 0x4c]
push 0x2a
pop edx
call fcn.0044f4a5
add esp, 0x10
mov dword [ebp - 0x60], eax
jmp 0x4a52d8
mov ecx, eax
call fcn.00451459
mov ecx, esi
mov dword [ebp - 0x74], eax
movzx edi, word [eax + 0x32]
mov edx, edi
call fcn.004508d2
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x7c], ebx
test edi, edi
je 0x4a5235
mov esi, ebx
mov ebx, eax
mov eax, dword [ebp - 0x74]
lea ecx, [esi + ebx]
mov edx, dword [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 8]
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push dword [ebp - 0x30]
call fcn.00449320
add esp, 0xc
inc esi
cmp esi, edi
jl 0x4a5208
mov esi, dword [ebp - 0x44]
xor ebx, ebx
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0xc], 0
je 0x4a5258
mov ecx, dword [ebp - 8]
push edi
push eax
push ebx
push dword [ebp - 0x4c]
push 0x1d
pop edx
call fcn.0044f4a5
add esp, 0x10
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0xc], 0
jl 0x4a52a5
push dword [ebp - 0x24]
mov ecx, dword [ebp - 8]
push edi
push dword [ebp + 0xc]
push 0x5c
pop edx
call fcn.00458245
mov ecx, dword [ebp - 8]
add esp, 0xc
mov edx, 0x84
push edi
push dword [ebp + 0xc]
push dword [ebp - 0x24]
push dword [ebp - 0x4c]
call fcn.0044f4a5
add esp, 0x10
cmp dword [ebp - 0xc], 0
je 0x4a52a5
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x6c]
test eax, eax
jle 0x4a52a5
imul ecx, eax, 0x14
mov eax, dword [edx + 0x68]
push 0x10
pop edx
mov word [ecx + eax - 0x12], dx
cmp edi, 1
jne 0x4a52ca
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4a52d8
mov al, byte [esi + 0x13]
mov edi, dword [ebp - 0x10]
cmp al, 8
jae 0x4a52db
movzx eax, al
mov dword [esi + eax*4 + 0x94], ecx
inc byte [esi + 0x13]
jmp 0x4a52db
cmp edi, dword [esi + 0x1c]
jle 0x4a52d8
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
push ebx
push dword [ebp - 0x28]
push dword [ebp - 0x3c]
push 0xc
pop edx
call fcn.00458245
mov eax, dword [ebp - 0x60]
add esp, 0xc
test eax, eax
je 0x4a5307
mov ecx, dword [ebp - 8]
mov edx, eax
call fcn.00446ae1
mov ecx, dword [ecx + 0x6c]
mov dword [eax + 8], ecx
cmp byte [edi + 0x32], 0
je 0x4a5314
mov dword [ebp - 0x2c], 1
mov ecx, dword [edi + 0x330]
test dword [ecx + 0x24], 0x200
je 0x4a534e
cmp dword [ebp - 0x20], 0
je 0x4a5331
mov eax, dword [ebp - 0x1c]
cmp dword [ecx + 0x20], eax
jne 0x4a534e
mov eax, dword [ebp - 0x48]
test byte [eax + 0x24], 0x20
je 0x4a5346
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0x38]
and al, 3
cmp al, 2
je 0x4a534e
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x1c], eax
jmp 0x4a5351
mov dword [ebp - 0x1c], ebx
mov ecx, edi
call fcn.00446d32
mov edx, dword [esi + 0xd4]
test edx, edx
jne 0x4a5366
mov eax, ebx
jmp 0x4a5371
mov ecx, dword [esi + 8]
call fcn.00446ae1
mov eax, dword [eax + 8]
mov dword [esi + 0xd4], eax
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x58]
inc edx
add ecx, 0x30
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x5c], ecx
cmp edx, dword [eax + 0xc]
jl 0x4a5101
mov edi, dword [ebp + 0x10]
mov edx, dword [esi + 0xd4]
test edx, edx
jne 0x4a53a7
mov eax, ebx
jmp 0x4a53b2
mov ecx, dword [esi + 8]
call fcn.00446ae1
mov eax, dword [eax + 8]
mov dword [esi + 0xd4], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x38], eax
test eax, eax
je 0x4a53c8
mov eax, dword [ebp - 0x34]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4a53dc
mov ecx, dword [ebp - 0x54]
mov edx, eax
mov dword [eax + 0xc], ebx
call fcn.0044c2ea
mov esi, dword [ebp - 8]
mov ecx, esi
mov edx, dword [ebp - 0x6c]
call fcn.00446ae1
mov ecx, dword [esi + 0x6c]
push ebx
mov dword [eax + 4], ecx
mov ecx, esi
push dword [edi + 0xc]
push ebx
push 0xb
pop eax
mov edx, eax
call fcn.00458245
mov edx, dword [ebp - 0x28]
add esp, 0xc
mov ecx, esi
call fcn.00447014
mov eax, dword [ebp + 8]
cmp byte [eax + 0x2e], 1
jbe 0x4a5427
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4a5427
mov ecx, dword [ebp - 0x54]
mov edx, eax
call fcn.00458df5
cmp dword [ebp - 0x2c], 0
jne 0x44f213
mov edx, dword [ebp - 0x14]
mov ecx, edi
call fcn.0044ffd3
jmp 0x44f213
mov byte [edi + 0x2d], 0xaa
jmp 0x44f213
test byte [eax + 4], 1
je 0x44f2bd
jmp 0x44f448
push dword [ebp - 0x38]
mov edx, dword [edi + 4]
mov ecx, eax
call fcn.005099fe
mov edx, dword [ebp - 0xc]
pop ecx
test eax, eax
jne 0x44f459
mov eax, dword [ebp + 0xc]
push 2
pop ecx
mov dword [ebp - 0x18], ecx
jmp 0x44f24c
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
test ecx, ecx
jne 0x44f24c
push 3
pop ecx
mov dword [ebp - 0x18], ecx
jmp 0x44f24c
mov edx, dword [edi + 0x24]
test edx, edx
je 0x44f473
mov ecx, dword [ebp - 8]
mov eax, edx
and edx, 1
shr eax, 1
push ebx
push ebx
push eax
lea edx, [edx*2 + 0x12]
call fcn.00458245
add esp, 0xc
mov dword [ebp - 0x2c], eax
jmp 0x44f473
mov ecx, dword [ebp - 8]
mov edx, eax
call fcn.00446ae1
mov ecx, dword [ecx + 0x6c]
mov dword [eax + 8], ecx
jmp 0x44f491
cmp dword [edi], ebx
jne 0x44f280
mov eax, dword [esi - 0xc]
mov edx, ecx
mov ecx, dword [ebp - 0x64]
push ebx
push 0x83
push dword [ebp + 0x18]
mov dword [ebp - 0x6c], eax
push dword [ebp + 0x14]
push dword [esi + 0x10]
call fcn.0044c8ce
mov edx, eax
add esp, 0x14
test edx, edx
je 0x4a5565
test byte [edx + 0xa], 4
jne 0x4a5565
test byte [edx + 0xc], 1
je 0x4a552d
mov eax, dword [edx]
test dword [eax + 4], 0x800
je 0x4a552d
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
cmp dword [eax], 1
jg 0x4a5565
mov esi, dword [edx]
lea edi, [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
push 0xd
pop ecx
push 0x10
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xb4], eax
pop eax
push eax
push dword [ebp - 0x70]
lea eax, [ebp - 0xc0]
push eax
push dword [ebp - 0x44]
call fcn.00444b06
mov edi, dword [ebp + 0x10]
add esp, 0x10
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
jmp 0x44f280
mov ecx, dword [ebp - 8]
push ebx
push dword [edi]
mov eax, dword [ecx + 0x6c]
push 1
push 0x46
pop edx
mov dword [edi + 0x1c], eax
call fcn.00458245
mov edx, dword [ebp - 0x64]
add esp, 0xc
mov esi, dword [edx + 0x14]
cmp dword [edx + 0xc], ebx
jle 0x44f297
test byte [esi + 0xa], 6
jne 0x4a55c9
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [edi + 0x48]
and eax, dword [edi + 0x4c]
or ecx, eax
jne 0x4a55c9
push 0x10
pop eax
push eax
push dword [ebp - 0x70]
push dword [esi]
push dword [ebp - 0x44]
call fcn.00444b06
mov edx, dword [ebp - 0x64]
add esp, 0x10
push 4
pop eax
or word [esi + 0xa], ax
inc ebx
add esi, 0x30
cmp ebx, dword [edx + 0xc]
jl 0x4a5595
jmp 0x44f297