Function at 0x4f20d0
Capabilities:
Authenticate hmac
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
mov eax, dword [0x70a034]
xor eax, esp
mov dword [esp + 0x144], eax
mov eax, ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x14], eax
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x60], eax
push edi
mov eax, dword [esi + 0x48]
mov edi, edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x38], eax
movzx eax, byte [esi + 0x34]
mov dword [esp + 0x50], edx
lea ecx, [edx + 0x50]
mov dword [esp + 0x74], edi
mov dword [esp + 0x84], ecx
lea ecx, [eax + eax*8]
mov dword [esp + 0x34], esi
mov eax, dword [edx + 4]
mov edx, dword [edx + 0x1ec]
lea eax, [eax + ecx*8]
add eax, 8
mov dword [esp + 0x70], eax
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x30], eax
xor eax, eax
test edx, edx
jle 0x4f216e
mov ecx, dword [esp + 0x50]
add ecx, 0x1f0
mov edi, dword [esp + 0x30]
cmp dword [ecx], edi
mov edi, dword [esp + 0x74]
je 0x4f227a
inc eax
add ecx, 4
cmp eax, edx
jl 0x4f2156
xorps xmm0, xmm0
movlpd qword [esp + 0x88], xmm0
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
not ecx
not edx
and ecx, dword [ebp + 0x14]
and edx, dword [ebp + 0x18]
mov dword [esi + 0x50], ecx
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x54], edx
mov eax, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
mov ecx, dword [ebp + 0xc]
call fcn.00626420
mov edx, dword [esp + 0x1c]
and eax, 1
mov dword [esp + 0x58], eax
mov eax, dword [edx + 0x38]
dec eax
mov dword [edx + 0x38], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0x38]
dec eax
mov dword [edx + 0x38], eax
cmp byte [esi + 0x34], 0
mov dword [esp + 0x94], eax
mov dword [esi + 0x18], eax
jbe 0x4f2206
mov eax, dword [esp + 0x70]
test byte [eax + 0x24], 8
je 0x4f2206
mov eax, dword [edx + 0x2c]
mov ecx, edi
inc eax
mov dword [edx + 0x2c], eax
mov edx, 0x46
push eax
push 0
mov dword [esi], eax
call fcn.004a1f70
mov edx, dword [esp + 0x24]
add esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, eax
test eax, eax
jle 0x4f222f
mov esi, dword [esp + 0x50]
imul eax, eax, 0x58
add esi, 0x2f0
add eax, esi
mov esi, dword [esp + 0x34]
cmp dword [eax], 0
jne 0x4f222f
dec ecx
sub eax, 0x58
test ecx, ecx
jg 0x4f2222
imul eax, ecx, 0x58
mov ecx, dword [esp + 0x50]
mov eax, dword [eax + ecx + 0x2fc]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x70]
test byte [eax + 0x28], 0x10
je 0x4f23a2
mov edx, dword [eax + 0x1c]
mov ecx, dword [edi + 0x6c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
cmp dword [edi + 0x70], ecx
jg 0x4f2294
push eax
push 0
push edx
mov edx, 0xd
mov ecx, edi
call fcn.004a1e00
add esp, 0xc
jmp 0x4f22c7
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
jmp 0x4f2188
mov esi, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x4f22ec
push 0
push dword [esp + 0x28]
mov edx, 0xe
mov ecx, edi
push dword [esp + 0x18]
call fcn.004a1e00
add esp, 0xc
mov edx, eax
jmp 0x4f2323
mov esi, dword [esp + 0x10]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [esi + 0x3c], edx
mov byte [esi + 0x35], 0xb
xor eax, eax
mov esi, dword [esp + 0x84]
neg eax
sbb eax, eax
add eax, 2
mov dword [esp + 0x2c], eax
nop
mov eax, dword [esi + 0xc]
xor ecx, ecx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
test eax, eax
jle 0x4f4176
nop dword [eax]
movzx eax, word [edx + 0xa]
xor esi, esi
mov dword [esp + 0x88], eax
test al, 6
jne 0x4f4157
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x34]
mov ecx, dword [edx + 0x28]
and ecx, dword [eax + 0x50]
mov eax, dword [edx + 0x2c]
and eax, dword [edi + 0x54]
or ecx, eax
mov edi, dword [esp + 0x74]
je 0x4f3fca
mov eax, dword [esp + 0x50]
mov byte [eax + 0x32], 1
jmp 0x4f4153
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x24]
test eax, 0x400
je 0x4f2854
movzx eax, word [ecx + 0x28]
mov dword [esp + 0x14], eax
lea ecx, [eax + 2]
cmp ecx, 1
jne 0x4f23ec
mov al, byte [edx + 0x13]
test al, al
jne 0x4f23d7
inc dword [edx + 0x2c]
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x20], eax
jmp 0x4f2415
dec al
mov byte [edx + 0x13], al
movzx eax, al
mov eax, dword [edx + eax*4 + 0x94]
mov dword [esp + 0x20], eax
jmp 0x4f2415
mov eax, dword [edx + 0x20]
mov dword [esp + 0x20], eax
cmp ecx, dword [edx + 0x1c]
jg 0x4f2402
add eax, ecx
sub dword [edx + 0x1c], ecx
mov dword [edx + 0x20], eax
jmp 0x4f2415
mov eax, dword [edx + 0x2c]
lea edi, [eax + 1]
add eax, ecx
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x74]
mov dword [edx + 0x2c], eax
cmp dword [esp + 0x14], 0
mov eax, dword [esi + 0xc]
mov dword [esp + 0x18], eax
jle 0x4f2479
xor edi, edi
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + edi*4]
test edx, edx
je 0x4f246e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add eax, 2
add eax, edi
test byte [edx + 0xc], 1
je 0x4f245e
push eax
push dword [esp + 0x5c]
push edi
push esi
call fcn.004f10e0
mov eax, dword [esi + 0x10]
add esp, 0x10
mov dword [esp + 0x18], eax
jmp 0x4f246e
mov edx, dword [edx]
push 1
push eax
mov edx, dword [edx + 0x10]
call fcn.004f1bc0
add esp, 8
inc edi
cmp edi, dword [esp + 0x14]
jl 0x4f2425
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x38]
mov ecx, dword [edi + 0x6c]
mov edx, dword [eax + 0x18]
cmp dword [edi + 0x70], ecx
jg 0x4f24a0
push 0
push dword [esp + 0x24]
mov ecx, edi
push edx
mov edx, 0x46
call fcn.004a1e00
add esp, 0xc
jmp 0x4f24d3
mov esi, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x20]
mov ecx, dword [edi + 0x6c]
inc eax
cmp dword [edi + 0x70], ecx
jg 0x4f24f8
push 0
push eax
push dword [esp + 0x1c]
mov edx, 0x46
mov ecx, edi
call fcn.004a1e00
add esp, 0xc
jmp 0x4f2530
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x34]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
inc edx
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
mov edx, 0xfffffff9
cmp byte [ecx + 0x1c], 0
cmovne eax, edx
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x24], eax
cmp dword [edi + 0x70], edx
jg 0x4f2575
push dword [esp + 0x20]
mov edx, 9
mov ecx, edi
push dword [esp + 0x1c]
push dword [esp + 0x38]
call fcn.004a1e00
add esp, 0xc
mov edx, eax
jmp 0x4f25ac
mov esi, dword [esp + 0x30]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi]
cmp byte [ecx + 0x51], 0
je 0x4f25cc
mov edx, dword [esp + 0x10]
cmp edx, 0xfffffff4
je 0x4f2625
mov eax, dword [esp + 0x24]
push eax
call fcn.004a2b10
add esp, 4
jmp 0x4f2625
test edx, edx
jns 0x4f25d4
mov edx, dword [edi + 0x6c]
dec edx
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
lea edx, [eax + ecx*4]
mov eax, dword [esp + 0x10]
test eax, eax
jns 0x4f2615
cmp byte [edx + 1], 0
jne 0x4f2615
cmp eax, 0xfffffffd
jne 0x4f25fd
mov eax, dword [esp + 0x24]
mov dword [edx + 0x10], eax
mov byte [edx + 1], 0xfd
jmp 0x4f2625
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4f2625
mov dword [edx + 0x10], ecx
mov byte [edx + 1], al
cmp eax, 0xfffffff4
jne 0x4f2625
inc dword [ecx + 0xc]
jmp 0x4f2625
push eax
mov eax, dword [esp + 0x28]
mov ecx, edi
push eax
call fcn.004a2ca0
add esp, 8
mov eax, dword [esp + 0x38]
mov edx, 0xaa
mov ecx, dword [esp + 0x50]
mov byte [eax + 0x1c], 0
mov eax, dword [esp + 0x30]
mov dword [esi + 0x38], eax
mov eax, 0x3c
cmp byte [ecx + 0x31], 0
mov ecx, dword [esp + 0x14]
cmovne eax, edx
mov edx, dword [esi + 0x40]
mov byte [esi + 0x35], al
sub ecx, 1
mov eax, dword [edi + 0x6c]
mov dword [esi + 0x3c], eax
mov dword [esp + 0x14], ecx
js 0x4f232a
lea eax, [edx + edx*4]
shl eax, 2
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + ecx*4]
mov dword [esp + 0x5c], edx
cmp ecx, 0x10
jge 0x4f26a2
mov eax, dword [esp + 0x38]
mov ax, word [eax + 0x1e]
shr ax, cl
test al, 1
je 0x4f269e
mov ecx, esi
call fcn.004f0dc0
jmp 0x4f283e
mov ecx, dword [esp + 0x14]
test byte [edx + 0xc], 1
je 0x4f2842
mov eax, dword [esp + 0x64]
cmp byte [eax + 0x51], 0
jne 0x4f2753
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x44]
sub ecx, 0x14
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + ecx + 4]
test ecx, ecx
jns 0x4f26d4
mov ecx, dword [edi + 0x6c]
dec ecx
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4f26e3
mov eax, 0x71d19c
jmp 0x4f26ec
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + 4]
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 8]
movzx eax, byte [eax]
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x70], ecx
jg 0x4f271d
mov ecx, dword [esp + 0x18]
push esi
push edx
push ecx
mov edx, eax
mov ecx, edi
call fcn.004a1e00
add esp, 0xc
jmp 0x4f2753
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x2c]
mov byte [eax + 1], 0
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x1c]
push 0
push 0x34
mov ecx, dword [eax]
call fcn.00480700
mov esi, eax
add esp, 8
test esi, esi
je 0x4f283a
push 0x34
push 0
push esi
call fcn.0063e100
add esp, 0xc
mov byte [esi], 0x35
or eax, 0xffffffff
mov ecx, esi
mov word [esi + 0x22], ax
call fcn.004b83a0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x4f27aa
push eax
push 0x70e0bc
push ecx
call fcn.00483850
add esp, 0xc
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
push 0
push 0x35
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
call fcn.00480700
mov ecx, eax
add esp, 8
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x4f27fb
push 0x34
push 0
push ecx
call fcn.0063e100
mov ecx, dword [esp + 0x24]
add esp, 0xc
or eax, 0xffffffff
mov word [ecx + 0x22], ax
lea eax, [ecx + 0x34]
mov byte [ecx], 0xab
mov dword [ecx + 8], eax
mov byte [eax], 0
mov dword [ecx + 0x18], 1
mov dword [esi + 0x10], ecx
test ecx, ecx
je 0x4f2828
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
add edx, 2
add eax, edx
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x34]
push 0
push dword [eax + 0x18]
push esi
push dword [esp + 0x28]
call fcn.004bef60
add esp, 0x10
mov ecx, dword [esp + 0x64]
mov edx, esi
mov dword [esi + 0xc], 0
call fcn.004b8a40
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
sub ecx, 1
mov dword [esp + 0x14], ecx
jns 0x4f2670
jmp 0x4f232a
test al, 5
setne cl
bt eax, 8
setb al
test al, cl
mov eax, dword [esp + 0x38]
je 0x4f2947
mov eax, dword [eax + 0x30]
mov eax, dword [eax]
inc dword [edx + 0x2c]
mov ecx, dword [edx + 0x2c]
mov edx, eax
push ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x24]
push 0
push esi
mov dword [esp + 0x3c], eax
call fcn.004f10e0
mov edx, dword [esp + 0x20]
add esp, 0x10
mov dword [esp + 0x18], eax
cmp eax, edx
je 0x4f28cc
test edx, edx
je 0x4f28cc
mov ecx, dword [esp + 0x1c]
mov al, byte [ecx + 0x13]
mov byte [esp + 0x4f], al
cmp al, 8
mov eax, dword [esp + 0x18]
jae 0x4f28cc
movzx eax, byte [esp + 0x4f]
mov dword [ecx + eax*4 + 0x94], edx
inc byte [ecx + 0x13]
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x6c]
mov edx, dword [esi + 0x10]
cmp dword [edi + 0x70], ecx
jg 0x4f28ee
push eax
push edx
push dword [esp + 0x38]
mov edx, 0x1e
mov ecx, edi
call fcn.004a1e00
add esp, 0xc
jmp 0x4f2921
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x74]
mov dword [eax + ecx*4], 0x1e
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x2c]
mov byte [esi + 0x35], 0xaa
mov ecx, dword [edx + 0x28]
mov eax, dword [edx + 0x2c]
and ecx, dword [esi + 0x50]
and eax, dword [esi + 0x54]
or ecx, eax
jne 0x4f232a
or word [edx + 0xa], 4
jmp 0x4f232a
mov ecx, dword [eax + 0x24]
mov eax, ecx
and eax, 0x102
cmp eax, 0x102
jne 0x4f2bea
mov dword [esp + 0x60], 0xaa
mov dword [esp + 0x5c], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x14], 0
test cl, 0x20
je 0x4f299e
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], 1
mov eax, dword [eax + 0x30]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test cl, 0x10
je 0x4f29b5
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4f29d3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], ecx
jmp 0x4f29d7
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4f2ac1
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], 0x18161719
mov eax, dword [eax + 0x10]
mov ecx, eax
mov dword [esp + 0x10], eax
call fcn.004b7e10
test eax, eax
je 0x4f2a4f
mov al, byte [edx + 0x13]
test al, al
jne 0x4f2a0e
inc dword [edx + 0x2c]
mov eax, dword [edx + 0x2c]
jmp 0x4f2a1d
dec al
mov byte [edx + 0x13], al
movzx eax, al
mov eax, dword [edx + eax*4 + 0x94]
mov ecx, dword [esp + 0x18]
push 1
push eax
mov dword [esp + 0x34], eax
mov edx, dword [ecx + 0x10]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
call fcn.004f1bc0
mov eax, dword [esp + 0x20]
add esp, 8
movzx eax, byte [eax]
inc eax
and eax, 2
or eax, 1
mov cl, byte [esp + eax + 0x44]
jmp 0x4f2a86
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.004be560
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.004f0dc0
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx]
mov cl, byte [esp + eax + 0xe]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
push dword [esp + 0x10]
movzx edx, cl
mov ecx, edi
push dword [esp + 0x28]
push dword [esp + 0x38]
call fcn.004a1e40
mov edx, dword [esp + 0x38]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
test edx, edx
je 0x4f2ae5
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x4f2ae5
movzx eax, al
mov dword [ecx + eax*4 + 0x94], edx
inc byte [ecx + 0x13]
jmp 0x4f2ae5
push dword [esp + 0x18]
xor edx, edx
mov ecx, edi
push dword [esp + 0x34]
test eax, eax
sete dl
lea edx, [edx*4 + 0x20]
call fcn.004a1f70
mov ecx, dword [esp + 0x24]
add esp, 8
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4f2b73
mov eax, dword [eax]
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
push 1
mov dword [esp + 0x60], edx
push edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x18], eax
call fcn.004f1bc0
mov edx, dword [esp + 0x18]
add esp, 8
mov eax, dword [edx + 0x10]
mov ecx, eax
mov dword [esp + 0x10], eax
call fcn.004b7e10
test eax, eax
jne 0x4f2b45
mov al, byte [edx]
cmp al, 0x38
je 0x4f2b2f
cmp al, 0x36
jne 0x4f2b45
xor edx, edx
cmp dword [esp + 0x58], edx
sete dl
lea edx, [edx*2 + 0x37]
mov dword [esp + 0x60], edx
jmp 0x4f2b5b
mov ecx, dword [esp + 0x58]
xor eax, eax
test ecx, ecx
setne al
lea eax, [eax*2 + 0x36]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x10]
call fcn.004b7e10
test eax, eax
jne 0x4f2b73
mov edx, dword [esp + 0x48]
mov ecx, esi
call fcn.004f0dc0
cmp dword [esp + 0x58], 0
mov ecx, dword [edi + 0x6c]
mov edx, dword [esp + 0x30]
sete al
add al, 4
mov dword [esi + 0x38], edx
cmp dword [esp + 0x60], 0xaa
mov byte [esi + 0x35], al
mov dword [esi + 0x3c], ecx
je 0x4f232a
mov eax, dword [esp + 0x1c]
mov ecx, edi
inc dword [eax + 0x2c]
mov esi, dword [eax + 0x2c]
push esi
push edx
mov edx, 0x80
call fcn.004a1f70
mov edx, dword [esp + 0x68]
mov ecx, edi
push esi
push dword [esp + 0x30]
push dword [esp + 0x6c]
call fcn.004a1e40
mov eax, dword [edi + 0x6c]
add esp, 0x14
test eax, eax
jle 0x4f232a
lea ecx, [eax + eax*4]
mov edx, 0x53
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4f232a
test ecx, 0x200
je 0x4f362c
mov eax, dword [esp + 0x38]
mov dword [esp + 0x48], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x14], 0
movzx edx, word [eax + 0x18]
movzx eax, word [eax + 0x1a]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x40], edx
movzx edx, word [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x10], edx
movzx edx, dx
mov dword [esp + 0x44], edx
xor edx, edx
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x2c], edx
mov byte [esp + 0x2b], dl
mov byte [esp + 0x4f], dl
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x20], eax
movzx eax, dx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x24], eax
test cl, 0x20
je 0x4f2c93
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x24]
inc dword [esp + 0x24]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + edi*4]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x48], eax
movzx eax, word [edi + 0x1a]
mov edi, dword [esp + 0x74]
mov dword [esp + 0x14], eax
test cl, 0x10
je 0x4f2d48
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x10]
movzx eax, ax
cmp ecx, eax
cmovbe ecx, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], ecx
mov ecx, 0x100
test word [eax + 0xa], cx
je 0x4f2d13
mov eax, dword [edx + 0x2c]
mov ecx, edi
inc eax
mov dword [edx + 0x2c], eax
mov edx, 0x46
push eax
push 1
mov dword [esi + 0x2c], eax
call fcn.004a1f70
mov eax, dword [edi + 0x6c]
xor ecx, ecx
shl dword [esi + 0x2c], 1
add esp, 8
mov edx, dword [esp + 0x54]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + 0x1c]
cmp byte [edx + eax], 1
sete cl
xor ecx, dword [esp + 0x58]
or dword [esi + 0x2c], ecx
jmp 0x4f2d17
mov edx, dword [esp + 0x54]
cmp dword [esp + 0x48], 0
jne 0x4f2d48
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx + 4]
movsx edx, word [eax + edx*2]
test edx, edx
js 0x4f2d3e
mov eax, dword [ecx + 0xc]
mov ecx, edx
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xc], 0
je 0x4f2d43
cmp edx, 0xfffffffe
jne 0x4f2d48
mov byte [esp + 0x2b], 1
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x24]
test al, 0x30
jne 0x4f2d81
test eax, 0x80000
je 0x4f2d81
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], 1
mov byte [esp + 0x2b], 1
inc dword [eax + 0x2c]
mov ecx, dword [eax + 0x2c]
mov dword [esi + 0x24], ecx
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x68], ecx
mov dword [esi + 0x28], eax
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x40]
movzx eax, word [edx + 0x32]
mov dword [esp + 0x10], eax
cmp cx, ax
jae 0x4f2db7
mov eax, dword [edx + 0x1c]
xor ecx, ecx
mov edx, dword [esp + 0x54]
cmp byte [edx + eax], cl
mov edx, dword [esp + 0x58]
sete cl
cmp edx, ecx
je 0x4f2dc4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
jmp 0x4f2dbb
mov edx, dword [esp + 0x58]
test edx, edx
je 0x4f2dfb
cmp ax, cx
jne 0x4f2dfb
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x6c], ecx
mov cl, byte [esp + 0x2b]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x60]
mov byte [esp + 0x4f], cl
movzx ecx, di
mov edi, dword [esp + 0x74]
movzx eax, al
mov byte [esp + 0x2b], 0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x18]
push edx
mov edx, esi
call fcn.004f1690
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov dword [esp + 0x3c], eax
test ecx, ecx
je 0x4f2e3b
cmp word [esp + 0x44], 0
je 0x4f2e3b
mov edx, dword [esp + 0x54]
lea edx, [edx + ecx]
mov ecx, dword [esp + 0x64]
call fcn.00480970
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x68], 0
je 0x4f2e4b
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x14], ecx
jmp 0x4f2e52
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4f2e68
test byte [eax + 0xc], 0x28
mov dword [esp + 0x24], 0
je 0x4f2e70
mov dword [esp + 0x24], 1
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x4f2e86
test byte [ecx + 0xc], 0x28
mov dword [esp + 0x18], 0
je 0x4f2e8e
mov dword [esp + 0x18], 1
test eax, eax
jne 0x4f2ee8
mov edx, dword [esp + 0x40]
test dx, dx
jne 0x4f2ee8
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x78], eax
mov dword [esp + 0x40], ecx
cmp byte [esp + 0x2b], 0
je 0x4f3161
mov eax, dword [esp + 0x3c]
mov edx, 0x49
add eax, ecx
mov dword [esp + 0x24], 0
push eax
push 0
mov ecx, edi
call fcn.004a1f70
mov eax, dword [esp + 0x48]
add esp, 8
inc eax
mov dword [esp + 0x78], 1
mov dword [esp + 0x40], eax
jmp 0x4f3005
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x78], 1
mov dword [esp + 0x40], ecx
test eax, eax
je 0x4f2ea7
mov eax, dword [eax]
mov edx, dword [esp + 0x60]
add ecx, dword [esp + 0x3c]
movzx edx, dx
mov eax, dword [eax + 0x10]
push edx
mov dword [esp + 0x84], ecx
mov edx, eax
push ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
call fcn.004f1bc0
mov eax, dword [esp + 0x50]
mov ecx, 0x100
mov edi, dword [esp + 0x7c]
add esp, 8
test word [eax + 0xa], cx
je 0x4f2f6a
mov eax, dword [edi]
mov ecx, dword [edi + 0x6c]
dec ecx
cmp byte [eax + 0x51], 0
je 0x4f2f4d
mov ecx, 0x71d19c
jmp 0x4f2f56
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esi + 0x2c]
shr eax, 1
mov dword [ecx + 0xc], eax
mov al, byte [esi + 0x2c]
and al, 1
movzx eax, al
mov word [ecx + 2], ax
mov ecx, dword [esp + 0x10]
call fcn.004ba330
test eax, eax
je 0x4f2f91
push dword [esp + 0x14]
mov edx, 0x32
mov ecx, edi
push dword [esp + 0x84]
call fcn.004a1f70
add esp, 8
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x4f2fb3
mov eax, dword [esp + 0x54]
add eax, ecx
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x64]
movzx edx, ax
call fcn.004f0e80
add esp, 4
mov ecx, dword [esp + 0x60]
movzx eax, cx
add dword [esp + 0x40], eax
mov eax, dword [esp + 0x10]
mov cl, byte [eax]
cmp cl, 0xab
jne 0x4f2fcc
mov cl, byte [eax + 0x26]
cmp cl, 0xac
jne 0x4f2fd6
mov eax, dword [eax + 0x14]
jmp 0x4f2fe0
cmp cl, 0x86
jne 0x4f2ff1
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, 1
jle 0x4f2ff1
mov dword [esp + 0x24], 1
jmp 0x4f2ffc
mov edx, dword [esp + 0x48]
mov ecx, esi
call fcn.004f0dc0
mov byte [esp + 0x2b], 0
mov eax, dword [esp + 0x40]
movzx ecx, byte [esp + 0x2b]
push dword [esp + 0x5c]
mov edx, dword [esp + 0x40]
sub eax, ecx
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x20]
push eax
call fcn.004f0e30
mov ecx, dword [esp + 0x40]
add esp, 8
movzx eax, word [ecx + 0x2a]
test ax, ax
je 0x4f303f
cmp dword [esp + 0x40], eax
je 0x4f30fc
test dword [ecx + 0x24], 0x40000
je 0x4f305b
push dword [esp + 0x20]
mov edx, 0x77
mov ecx, edi
call fcn.004a1f10
add esp, 4
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4f3075
push eax
push 1
mov edx, 0x46
mov ecx, edi
call fcn.004a1f70
add esp, 8
mov ecx, dword [esp + 0x24]
push dword [esp + 0x40]
mov eax, dword [esp + 0x7c]
push dword [esp + 0x40]
push dword [esp + 0x1c]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x64]
push dword [esp + 0x2c]
movzx edx, byte [ecx + eax*2 + 0x6cc11c]
mov ecx, edi
call fcn.004a24e0
mov eax, dword [esp + 0x78]
add esp, 0x10
test eax, eax
je 0x4f3100
mov eax, dword [edi + 0x6c]
mov edx, 0xb
add eax, 2
mov ecx, edi
push eax
push 0
call fcn.004a1f70
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x60]
push eax
push dword [esp + 0x48]
mov eax, 1
cmp eax, dword [esp + 0x50]
push dword [esp + 0x24]
sbb eax, eax
push dword [esp + 0x34]
and eax, 4
movzx edx, byte [eax + ecx + 0x6cc11e]
mov ecx, edi
call fcn.004a24e0
add esp, 0x18
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x4f325f
mov eax, dword [ecx]
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x44]
movzx edx, ax
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0x3c]
push edx
mov dword [esp + 0x14], ecx
mov edx, ecx
mov ecx, dword [esp + 0x20]
push eax
mov dword [esp + 0x80], eax
call fcn.004f1bc0
mov eax, dword [esp + 0x74]
mov ecx, 0x100
mov esi, dword [esp + 0x3c]
add esp, 8
test word [eax + 0xa], cx
je 0x4f31b7
mov eax, dword [edi]
mov ecx, dword [edi + 0x6c]
dec ecx
cmp byte [eax + 0x51], 0
je 0x4f319a
mov ecx, 0x71d19c
jmp 0x4f31a3
cmp dword [esp + 0x68], 0
je 0x4f3001
mov eax, dword [esp + 0x3c]
mov edx, 0x49
add eax, ecx
mov ecx, edi
push eax
push 0
call fcn.004a1f70
mov eax, dword [esp + 0x48]
add esp, 8
inc eax
mov dword [esp + 0x78], 1
mov dword [esp + 0x40], eax
jmp 0x4f3005
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esi + 0x2c]
shr eax, 1
mov dword [ecx + 0xc], eax
mov al, byte [esi + 0x2c]
and al, 1
movzx eax, al
mov word [ecx + 2], ax
mov ecx, dword [esp + 0x10]
call fcn.004ba330
test eax, eax
je 0x4f31db
push dword [esp + 0x14]
mov edx, 0x32
mov ecx, edi
push dword [esp + 0x7c]
call fcn.004a1f70
add esp, 8
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4f3214
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x48]
movzx edx, ax
call fcn.004f0e80
mov edx, dword [esp + 0x30]
add esp, 4
mov ecx, dword [esp + 0x44]
movzx eax, cx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x7c]
push eax
call fcn.004f0e30
add esp, 8
mov ecx, dword [esp + 0x44]
movzx eax, cx
add dword [esp + 0x54], eax
mov eax, dword [esp + 0x10]
mov cl, byte [eax]
cmp cl, 0xab
jne 0x4f322d
mov cl, byte [eax + 0x26]
cmp cl, 0xac
jne 0x4f3237
mov eax, dword [eax + 0x14]
jmp 0x4f3241
cmp cl, 0x86
jne 0x4f3252
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, 1
jle 0x4f3252
mov dword [esp + 0x18], 1
jmp 0x4f3290
mov edx, dword [esp + 0x6c]
mov ecx, esi
call fcn.004f0dc0
jmp 0x4f3290
cmp byte [esp + 0x4f], 0
je 0x4f3290
test eax, eax
jne 0x4f328c
mov eax, dword [esp + 0x54]
mov edx, 0x49
add eax, dword [esp + 0x3c]
mov ecx, edi
push eax
push 0
call fcn.004a1f70
add esp, 8
mov dword [esp + 0x18], 0
inc dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
test ecx, ecx
je 0x4f32e3
test edx, edx
je 0x4f32d6
cmp dword [edx + 0x1e8], 0
je 0x4f32b6
mov edx, ecx
mov ecx, dword [esp + 0x64]
call fcn.00480330
jmp 0x4f32df
cmp ecx, dword [edx + 0x138]
jb 0x4f32d6
cmp ecx, dword [edx + 0x13c]
jae 0x4f32d6
mov eax, dword [edx + 0x134]
mov dword [ecx], eax
mov dword [edx + 0x134], ecx
jmp 0x4f32e3
push ecx
call fcn.004802c0
add esp, 4
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4f332e
test edx, edx
je 0x4f3325
cmp dword [edx + 0x1e8], 0
je 0x4f3305
mov edx, ecx
mov ecx, dword [esp + 0x64]
call fcn.00480330
jmp 0x4f332e
cmp ecx, dword [edx + 0x138]
jb 0x4f3325
cmp ecx, dword [edx + 0x13c]
jae 0x4f3325
mov eax, dword [edx + 0x134]
mov dword [ecx], eax
mov dword [edx + 0x134], ecx
jmp 0x4f332e
push ecx
call fcn.004802c0
add esp, 4
mov eax, dword [edi + 0x6c]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4f3386
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x4f335f
mov eax, dword [edi + 0x6c]
mov edx, 0x14
add eax, 3
push eax
push ecx
mov ecx, edi
call fcn.004a1f70
mov eax, dword [esp + 0x5c]
add esp, 8
mov ecx, dword [esp + 0x18]
push eax
push dword [esp + 0x40]
mov eax, dword [esp + 0x60]
push dword [esp + 0x1c]
push dword [esp + 0x2c]
movzx edx, byte [ecx + eax*2 + str.__percent_rank]
mov ecx, edi
call fcn.004a24e0
add esp, 0x10
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x4f33d2
mov eax, dword [edi + 0x6c]
mov edx, 0x12
add eax, 2
push eax
push ecx
mov ecx, edi
call fcn.004a1f70
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x5c]
add eax, ecx
push eax
push dword [esp + 0x48]
mov eax, dword [esp + 0x68]
push dword [esp + 0x24]
push dword [esp + 0x34]
movzx edx, byte [ecx + eax*2 + str.__percent_rank]
mov ecx, edi
call fcn.004a24e0
add esp, 0x18
mov eax, dword [esp + 0x38]
test dword [eax + 0x24], 0x40000
je 0x4f33f8
push 1
push dword [esp + 0x24]
mov edx, 0x77
mov ecx, edi
call fcn.004a1f70
mov eax, dword [esp + 0x40]
add esp, 8
test byte [eax + 0x24], 0x40
je 0x4f341d
mov ecx, dword [esp + 0x50]
test byte [ecx + 0x2c], 0x20
jne 0x4f341d
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x5c], 1
jmp 0x4f359b
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x5c], 0
mov ecx, dword [edx + 0xc]
test byte [ecx + 0x24], 0x20
jne 0x4f349d
mov ecx, dword [esp + 0x50]
movzx eax, word [ecx + 0x2c]
test eax, 0x400
jne 0x4f3463
test eax, 0x1000
je 0x4f344e
cmp byte [ecx + 0x31], 1
je 0x4f3463
push dword [esp + 0x20]
push dword [esp + 0x34]
call fcn.004f1a70
add esp, 8
jmp 0x4f358f
mov eax, dword [esp + 0x1c]
mov edx, 0x87
mov ecx, edi
inc dword [eax + 0x2c]
mov esi, dword [eax + 0x2c]
push esi
push dword [esp + 0x24]
call fcn.004a1f70
push esi
push 0
push dword [esp + 0x40]
mov edx, 0x1f
mov ecx, edi
call fcn.004a1e40
mov esi, dword [esp + 0x48]
add esp, 0x14
jmp 0x4f358f
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
cmp edx, eax
je 0x4f3597
call fcn.004c6a80
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
movzx edx, word [eax + 0x32]
call fcn.004c0130
mov dword [esp + 0x10], eax
xor ecx, ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], 0
cmp cx, word [eax + 0x32]
jae 0x4f356c
nop
mov edx, dword [esp + 0x7c]
xor ecx, ecx
movzx edx, word [edx + 0x34]
test edx, edx
jle 0x4f352c
mov eax, dword [eax + 4]
mov edi, dword [esp + 0x18]
movzx eax, word [eax + edi*2]
mov edi, dword [esp + 0x74]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + 4]
nop dword [eax + eax]
mov esi, dword [esp + 0x80]
cmp si, word [eax]
mov esi, dword [esp + 0x34]
je 0x4f35e8
inc ecx
add eax, 2
cmp ecx, edx
jl 0x4f3510
or ecx, 0xffffffff
mov eax, dword [esp + 0x18]
mov edx, 0x5a
add eax, dword [esp + 0x10]
push eax
movsx eax, cx
mov ecx, edi
push eax
push dword [esp + 0x28]
call fcn.004a1e40
mov eax, dword [esp + 0x38]
add esp, 0xc
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
movzx eax, word [eax + 0x32]
cmp ecx, eax
mov eax, dword [esp + 0x2c]
jl 0x4f34e0
movzx eax, word [eax + 0x32]
mov edx, 0x1c
push eax
push dword [esp + 0x14]
mov ecx, edi
push dword [esp + 0x9c]
push dword [esp + 0x3c]
call fcn.004a24e0
add esp, 0x10
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
cmp dword [esi], 0
jne 0x4f35b7
test byte [ecx + 0x2c], 0x20
jne 0x4f35b7
push ecx
mov ecx, dword [esp + 0x80]
push eax
call fcn.004f1cc0
add esp, 8
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x4f35d5
push dword [esp + 0x84]
mov edx, dword [esp + 0x34]
call fcn.004f1dd0
add esp, 4
mov ecx, dword [esp + 0x38]
test dword [ecx + 0x24], 0x1000
je 0x4f35f0
mov byte [esi + 0x35], 0xaa
jmp 0x4f35fd
movzx ecx, cx
jmp 0x4f352f
cmp dword [esp + 0x58], 0
sete al
add al, 4
mov byte [esi + 0x35], al
mov eax, dword [esp + 0x20]
mov dword [esi + 0x38], eax
mov al, byte [ecx + 0x26]
and al, 1
mov byte [esi + 0x36], al
test byte [ecx + 0x24], 0xf
jne 0x4f3616
mov byte [esi + 0x37], 1
cmp dword [esp + 0x5c], 0
je 0x4f3fc1
xor eax, eax
mov dword [esp + 0x7c], eax
jmp 0x4f232c
test ecx, 0x2000
je 0x4f3f77
mov eax, dword [edx + 0x28]
inc dword [edx + 0x2c]
dec dword [edx + 0x38]
mov dword [esp + 0x58], eax
inc eax
mov dword [edx + 0x28], eax
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x60], eax
mov eax, dword [edx + 0x38]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x6c], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x50]
mov byte [esi + 0x35], 0x42
mov al, byte [eax + 0x2e]
cmp al, 1
jbe 0x4f37f2
mov ecx, dword [esp + 0x64]
movzx eax, al
sub eax, dword [ebp + 0xc]
dec eax
mov dword [esp + 0x80], eax
push 0
lea eax, [eax + eax*8]
lea eax, [eax*8 + 0x50]
push eax
call fcn.004806c0
mov ecx, eax
add esp, 8
mov dword [esp + 0x78], ecx
test ecx, ecx
jne 0x4f3703
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x80]
lea eax, [edx + 1]
movzx eax, al
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov eax, dword [esp + 0x70]
movups xmm0, xmmword [eax]
movups xmmword [ecx + 8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + 0x18], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ecx + 0x28], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ecx + 0x38], xmm0
movq xmm0, qword [eax + 0x40]
mov eax, dword [esp + 0x50]
movq qword [ecx + 0x48], xmm0
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
cmp edx, 1
jl 0x4f37b8
mov edi, dword [esp + 0x10]
lea eax, [esi + 0x8c]
add ecx, 0x50
mov dword [esp + 0x80], eax
mov esi, eax
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 0x58]
lea ecx, [ecx + 0x48]
lea eax, [eax + eax*8]
movups xmm0, xmmword [edi + eax*8 + 8]
movups xmmword [ecx - 0x48], xmm0
movups xmm0, xmmword [edi + eax*8 + 0x18]
movups xmmword [ecx - 0x38], xmm0
movups xmm0, xmmword [edi + eax*8 + 0x28]
movups xmmword [ecx - 0x28], xmm0
movups xmm0, xmmword [edi + eax*8 + 0x38]
movups xmmword [ecx - 0x18], xmm0
movq xmm0, qword [edi + eax*8 + 0x48]
movq qword [ecx - 8], xmm0
sub edx, 1
jne 0x4f3770
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
test byte [eax + 0x2c], 0x10
jne 0x4f3862
test byte [ecx + 0x24], 0x20
jne 0x4f37ff
inc dword [edx + 0x2c]
mov ecx, edi
mov eax, dword [edx + 0x2c]
mov edx, 0x49
push eax
push 0
mov dword [esp + 0x50], eax
call fcn.004a1f70
add esp, 8
jmp 0x4f3854
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 4]
mov dword [esp + 0x78], eax
jmp 0x4f37c0
mov ecx, dword [ecx + 8]
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x4f3824
nop word [eax + eax]
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4f3820
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4f3810
mov dword [esp + 0x10], ecx
mov eax, dword [edx + 0x28]
mov dword [esp + 0x48], eax
inc eax
mov dword [edx + 0x28], eax
mov edx, 0x70
movzx eax, word [ecx + 0x32]
mov ecx, edi
push eax
push dword [esp + 0x4c]
call fcn.004a1f70
mov edx, dword [esp + 0x18]
add esp, 8
mov ecx, dword [esp + 0x1c]
call fcn.004a2e50
mov eax, dword [esp + 0x1c]
inc dword [eax + 0x2c]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x44], eax
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x54], edx
cmp dword [edi + 0x70], edx
jg 0x4f388b
push 0
push dword [esp + 0x64]
mov edx, 0x46
mov ecx, edi
push 0
call fcn.004a1e00
add esp, 0xc
mov dword [esp + 0x54], eax
jmp 0x4f38be
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edx, dword [esp + 0x60]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 0xc]
cmp eax, 1
jle 0x4f39e3
test eax, eax
jle 0x4f39e3
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x10], ecx
mov eax, dword [edx + 0x14]
mov edx, dword [eax + ecx]
add eax, ecx
cmp eax, dword [esp + 0x38]
je 0x4f3935
test byte [eax + 0xa], 6
jne 0x4f3935
mov esi, 0x1fff
test word [eax + 0xc], si
mov esi, dword [esp + 0x1c]
je 0x4f3935
test edx, edx
je 0x4f391a
mov ecx, dword [esp + 0x64]
push 0
push 0
call fcn.004b8c90
add esp, 8
jmp 0x4f391c
xor eax, eax
mov edx, dword [esp + 0x3c]
mov ecx, esi
push eax
call fcn.004b8780
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x3c], eax
jmp 0x4f3939
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x84]
inc edi
add ecx, 0x30
mov dword [esp + 0x10], ecx
cmp edi, dword [edx + 0xc]
jl 0x4f38e1
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x34]
test eax, eax
je 0x4f39e3
mov eax, dword [esp + 0x1c]
push 0
push 0x34
mov ecx, dword [eax]
call fcn.00480700
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x4f39cc
push 0x34
push 0
push eax
call fcn.0063e100
mov ecx, dword [esp + 0x1c]
or eax, 0xffffffff
add esp, 0xc
mov word [ecx + 0x22], ax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
mov byte [ecx], 0x2c
mov eax, dword [eax + 4]
and eax, 0x200104
or dword [ecx + 4], eax
call fcn.004b83a0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x18], edx
jle 0x4f39db
push edx
push 0x70e0bc
push ecx
call fcn.00483850
add esp, 0xc
jmp 0x4f39db
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov ecx, dword [eax]
call fcn.004b8a40
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x50]
mov ecx, 0x400
push 0x7119bc
push 1
push dword [esp + 0x24]
mov ax, word [eax + 0x2c]
and ax, cx
or ax, 0x20
movzx eax, ax
mov dword [esp + 0x8c], eax
call fcn.004a2330
mov ecx, dword [esp + 0x38]
xor eax, eax
add esp, 0xc
mov dword [esp + 0x68], eax
cmp dword [ecx + 0xc], eax
jle 0x4f3de1
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
nop
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [ecx + 0x14]
cmp dword [eax + 0x14], edx
je 0x4f3a51
mov edi, 0x400
test word [eax + 0xc], di
mov edi, dword [esp + 0x74]
je 0x4f3dcb
mov eax, dword [eax]
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x4f3a6c
mov dword [ecx + 0xc], eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x68]
inc eax
push eax
push 0x7119f0
push 1
push esi
call fcn.004a2330
push dword [esp + 0x68]
mov edx, dword [esp + 0x8c]
mov ecx, esi
push dword [esp + 0x94]
push 0
push 0
push dword [esp + 0x38]
call fcn.004fc3e0
add esp, 0x24
mov dword [esp + 0x88], eax
test eax, eax
je 0x4f3dc3
mov edx, dword [esp + 0x78]
lea ecx, [eax + 0x2f0]
push 0
push ecx
mov ecx, esi
call fcn.004f0ab0
mov eax, dword [esp + 0x58]
add esp, 8
test byte [eax + 0x2c], 0x10
jne 0x4f3ca0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x68]
mov eax, dword [eax + 0xc]
dec eax
cmp ecx, eax
mov eax, 0xffffffff
cmove ecx, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x18], ecx
test byte [eax + 0x24], 0x20
jne 0x4f3b36
mov edx, dword [esp + 0x44]
mov ecx, edi
push edx
push dword [esp + 0x34]
mov edx, 0x80
call fcn.004a1f70
push dword [esp + 0x20]
mov edx, 0x2a
mov ecx, edi
push dword [esp + 0x50]
push 0
push dword [esp + 0x5c]
call fcn.004a24e0
add esp, 0x18
mov dword [esp + 0x10], eax
jmp 0x4f3ca0
mov ecx, eax
call fcn.004c6a80
mov ecx, esi
mov dword [esp + 0x90], eax
movzx edx, word [eax + 0x32]
mov dword [esp + 0x24], edx
call fcn.004c0130
mov dword [esp + 0x14], eax
mov dword [esp + 0x98], 0
test edx, edx
je 0x4f3ba6
mov esi, dword [esp + 0x98]
nop dword [eax]
mov edx, dword [esp + 0x6c]
lea ecx, [esi + eax]
mov eax, dword [esp + 0x90]
push ecx
mov ecx, edi
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push dword [esp + 0x38]
call fcn.004bd110
mov edx, dword [esp + 0x30]
inc esi
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp esi, edx
jl 0x4f3b70
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x18], 0
je 0x4f3bd3
push edx
push eax
push 0
push dword [esp + 0x54]
mov edx, 0x1d
mov ecx, edi
call fcn.004a24e0
add esp, 0x10
mov dword [esp + 0x10], eax
cmp dword [esp + 0x18], 0
jl 0x4f3c6a
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4f3bfa
push dword [esp + 0x44]
mov edx, dword [esp + 0x28]
mov ecx, edi
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, 0x5c
call fcn.004a1e00
add esp, 0xc
jmp 0x4f3c2d
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x24]
mov edx, 0x84
mov ecx, edi
push dword [esp + 0x18]
push dword [esp + 0x4c]
push dword [esp + 0x54]
call fcn.004a24e0
add esp, 0x10
cmp dword [esp + 0x18], 0
je 0x4f3c6a
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x4f3c6a
lea ecx, [eax + eax*4]
mov edx, 0x10
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esp + 0x24]
cmp eax, 1
jne 0x4f3c91
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4f3ca0
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4f3ca0
movzx eax, al
mov dword [esi + eax*4 + 0x94], ecx
inc byte [esi + 0x13]
jmp 0x4f3ca0
cmp eax, dword [esi + 0x1c]
jle 0x4f3ca0
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x20], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4f3cc3
push 0
push dword [esp + 0x44]
mov edx, 0xc
mov ecx, edi
push dword [esp + 0x68]
call fcn.004a1e00
add esp, 0xc
jmp 0x4f3cf6
mov edx, dword [esp + 0x60]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4f3d21
mov edx, dword [edi + 0x6c]
jns 0x4f3d06
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4f3d15
mov eax, 0x71d19c
jmp 0x4f3d1e
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x88]
mov ecx, 1
mov eax, dword [esp + 0x20]
cmp byte [edx + 0x32], 0
cmovne eax, ecx
mov ecx, dword [edx + 0x338]
mov dword [esp + 0x20], eax
test dword [ecx + 0x24], 0x200
je 0x4f3d7a
cmp dword [esp + 0x68], 0
je 0x4f3d5b
mov eax, dword [esp + 0x5c]
cmp dword [ecx + 0x20], eax
jne 0x4f3d7a
mov eax, dword [esp + 0x6c]
test byte [eax + 0x24], 0x20
je 0x4f3d71
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0x38]
and al, 3
cmp al, 2
je 0x4f3d7a
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x5c], eax
jmp 0x4f3d82
mov dword [esp + 0x5c], 0
mov ecx, edx
call fcn.004fcf20
mov ecx, dword [esi + 0xd4]
test ecx, ecx
jne 0x4f3d97
xor eax, eax
jmp 0x4f3dbd
mov edx, dword [esi + 8]
test ecx, ecx
jns 0x4f3da2
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x4f3db1
mov eax, 0x71d19c
jmp 0x4f3dba
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [esi + 0xd4], eax
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x68]
inc eax
mov dword [esp + 0x68], eax
cmp eax, dword [ecx + 0xc]
jl 0x4f3a30
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0xd4]
test edx, edx
jne 0x4f3df3
xor eax, eax
jmp 0x4f3e2b
mov eax, dword [ecx + 8]
mov dword [esp + 0x88], eax
test edx, edx
jns 0x4f3e05
mov edx, dword [eax + 0x6c]
dec edx
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x4f3e14
mov eax, 0x71d19c
jmp 0x4f3e28
mov eax, dword [esp + 0x88]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 8]
mov dword [ecx + 0xd4], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0x40], eax
test eax, eax
je 0x4f3e43
mov eax, dword [esp + 0x58]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4f3e5d
mov ecx, dword [esp + 0x64]
mov edx, eax
mov dword [eax + 0xc], 0
call fcn.004b8a40
mov ecx, dword [esp + 0x54]
mov edx, dword [edi + 0x6c]
test ecx, ecx
jns 0x4f3e6b
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4f3e7a
mov eax, 0x71d19c
jmp 0x4f3e83
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 4], edx
mov ecx, dword [edi + 0x6c]
mov edx, dword [esi + 0xc]
cmp dword [edi + 0x70], ecx
jg 0x4f3ea7
push 0
push edx
push 0
mov edx, 0xb
mov ecx, edi
call fcn.004a1e00
add esp, 0xc
jmp 0x4f3eda
mov esi, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x40]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4f3ef8
push edx
mov edx, edi
call fcn.004a25e0
add esp, 4
jmp 0x4f3f01
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x50]
cmp byte [eax + 0x2e], 1
jbe 0x4f3f5c
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x4f3f5c
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4f3f53
cmp dword [eax + 0x1e8], 0
je 0x4f3f2f
mov edx, ecx
mov ecx, eax
call fcn.00480330
jmp 0x4f3f5c
cmp ecx, dword [eax + 0x138]
jb 0x4f3f53
cmp ecx, dword [eax + 0x13c]
jae 0x4f3f53
mov eax, dword [eax + 0x134]
mov dword [ecx], eax
mov eax, dword [esp + 0x64]
mov dword [eax + 0x134], ecx
jmp 0x4f3f5c
push ecx
call fcn.004802c0
add esp, 4
cmp dword [esp + 0x20], 0
jne 0x4f232a
mov edx, dword [esp + 0x38]
mov ecx, esi
call fcn.004f0dc0
jmp 0x4f232a
mov eax, dword [esp + 0x70]
test byte [eax + 0x28], 0x20
je 0x4f3f8a
mov byte [esi + 0x35], 0xaa
jmp 0x4f232a
mov ecx, dword [esp + 0x58]
push dword [esp + 0x18]
mov al, byte [ecx + 0x6cef00]
movzx edx, byte [ecx + 0x6d07c8]
mov ecx, edi
mov byte [esi + 0x35], al
mov eax, dword [esp + 0x34]
push eax
mov dword [esi + 0x38], eax
call fcn.004a1f70
add esp, 8
mov byte [esi + 0x37], 1
inc eax
mov dword [esi + 0x3c], eax
jmp 0x4f232a
mov eax, dword [esp + 0x7c]
jmp 0x4f232c
mov eax, dword [esp + 0x70]
mov ecx, dword [edx]
mov dword [esp + 0x90], ecx
test byte [eax + 0x24], 8
je 0x4f3fe7
test byte [ecx + 4], 1
je 0x4f4153
mov eax, dword [esp + 0x2c]
cmp eax, 1
jne 0x4f4064
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
movaps xmmword [esp + 0xa0], xmm0
movq qword [esp + 0xb0], xmm0
mov dword [esp + 0xa4], 0x4bfc40
mov eax, dword [eax + 4]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x98]
mov dword [esp + 0xb8], eax
test ecx, ecx
je 0x4f404c
mov edx, ecx
lea ecx, [esp + 0xa0]
call fcn.004b5100
mov edx, dword [esp + 0x10]
cmp byte [esp + 0xb4], 0
je 0x4f4069
mov ecx, 2
mov dword [esp + 0x14], ecx
jmp 0x4f4157
cmp eax, 3
jge 0x4f408e
movzx eax, word [edx + 0xa]
test eax, 0x1000
je 0x4f4095
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x4f4157
mov ecx, 3
mov dword [esp + 0x14], ecx
jmp 0x4f4157
mov eax, dword [esp + 0x88]
test eax, 0x200
je 0x4f4107
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x4f4107
mov esi, dword [edi + 0x6c]
mov edx, eax
and eax, 1
shr edx, 1
lea eax, [eax*2 + 0x12]
mov dword [esp + 0x88], eax
cmp dword [edi + 0x70], esi
jg 0x4f40d9
push 0
push 0
push edx
mov edx, eax
mov ecx, edi
call fcn.004a1e00
add esp, 0xc
mov esi, eax
jmp 0x4f4107
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x88]
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
push 0x10
push dword [esp + 0x98]
push dword [esp + 0x98]
push dword [esp + 0x28]
call fcn.004bef60
add esp, 0x10
test esi, esi
je 0x4f414a
mov edx, dword [edi + 0x6c]
jns 0x4f412f
lea esi, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4f413e
mov eax, 0x71d19c
jmp 0x4f4147
mov eax, dword [edi + 0x68]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x10]
or word [edx + 0xa], 4
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add edx, 0x30
dec eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
test eax, eax
jg 0x4f2360
mov esi, dword [esp + 0x84]
mov dword [esp + 0x2c], ecx
test ecx, ecx
jg 0x4f2340
mov edx, dword [esi + 0x14]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x24], edx
mov dword [esp + 0x70], esi
test esi, esi
jle 0x4f4341
mov edi, dword [esp + 0x34]
nop dword [eax]
test byte [edx + 0xa], 6
jne 0x4f4329
movzx eax, word [edx + 0xc]
mov esi, 0xb
test al, 0x82
setne cl
bt ax, si
mov esi, dword [esp + 0x70]
setb al
test al, cl
je 0x4f4329
mov ecx, dword [esp + 0x30]
cmp dword [edx + 0x14], ecx
jne 0x4f4329
cmp dword [edi], 0
jne 0x4f4329
mov eax, dword [edx]
xor esi, esi
mov dword [esp + 0x90], eax
mov eax, dword [edx + 0x1c]
mov edx, dword [esp + 0x84]
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], edx
mov dword [esp + 0xf4], esi
mov word [esp + 0xf8], 0x100
mov dword [esp + 0xf0], esi
mov dword [esp + 0xfc], 0x83
mov dword [esp + 0x100], esi
mov dword [esp + 0x104], ecx
mov byte [esp + 0xfa], 1
cmp eax, 0xfffffffe
je 0x4f4295
lea ecx, [esp + 0xe8]
mov word [esp + 0x130], ax
call fcn.004f6a00
mov edx, eax
test edx, edx
je 0x4f4295
nop dword [eax]
mov ecx, dword [edx + 0x20]
mov eax, dword [edx + 0x24]
and ecx, dword [ebp + 0x14]
and eax, dword [ebp + 0x18]
or ecx, eax
jne 0x4f4283
mov eax, dword [edx + 0x20]
or eax, dword [edx + 0x24]
jne 0x4f427e
test byte [edx + 0xc], 0x82
jne 0x4f4297
test esi, esi
cmove esi, edx
lea ecx, [esp + 0xe8]
call fcn.004f6a00
mov edx, eax
test edx, edx
jne 0x4f4260
mov edx, esi
test edx, edx
je 0x4f4321
test byte [edx + 0xa], 4
jne 0x4f4321
test byte [edx + 0xc], 1
je 0x4f42c4
mov eax, dword [edx]
test dword [eax + 4], 0x800
je 0x4f42c4
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
cmp dword [eax], 1
jg 0x4f4321
mov eax, dword [edx]
push 0x10
push dword [esp + 0x98]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0xa8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0xb8], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esp + 0xc8], xmm0
mov eax, dword [eax + 0x30]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x98]
mov eax, dword [eax + 0xc]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0x28]
call fcn.004bef60
add esp, 0x10
mov esi, dword [esp + 0x70]
mov edx, dword [esp + 0x24]
dec esi
add edx, 0x30
mov dword [esp + 0x70], esi
mov dword [esp + 0x24], edx
test esi, esi
jg 0x4f41a0
mov edi, dword [esp + 0x74]
mov edx, dword [esp + 0x34]
mov esi, dword [edx]
test esi, esi
je 0x4f43fd
mov eax, dword [edi + 0x6c]
mov dword [edx + 0x1c], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4f4377
push 0
push esi
push 1
mov edx, 0x46
mov ecx, edi
call fcn.004a1e00
mov edx, dword [esp + 0x40]
add esp, 0xc
jmp 0x4f43a6
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x84]
xor edi, edi
mov esi, dword [eax + 0x14]
cmp dword [eax + 0xc], edi
jle 0x4f43fd
test byte [esi + 0xa], 6
jne 0x4f43e9
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [edx + 0x50]
and eax, dword [edx + 0x54]
or ecx, eax
jne 0x4f43e9
push 0x10
push dword [esp + 0x98]
push dword [esi]
push dword [esp + 0x28]
call fcn.004bef60
add esp, 0x10
or word [esi + 0xa], 4
mov edx, dword [esp + 0x84]
inc edi
add esi, 0x30
cmp edi, dword [edx + 0xc]
mov edx, dword [esp + 0x34]
jl 0x4f43b7
mov ecx, dword [esp + 0x34]
pop edi
pop esi
mov eax, dword [ecx + 0x50]
mov edx, dword [ecx + 0x54]
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret