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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
mov eax, dword [0x704034]
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 0x4e9abe
mov ecx, dword [esp + 0x50]
add ecx, 0x1f0
mov edi, dword [esp + 0x30]
cmp dword [ecx], edi
mov edi, dword [esp + 0x74]
je 0x4e9bca
inc eax
add ecx, 4
cmp eax, edx
jl 0x4e9aa6
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.00621730
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 0x4e9b56
mov eax, dword [esp + 0x70]
test byte [eax + 0x24], 8
je 0x4e9b56
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.004998d0
mov edx, dword [esp + 0x24]
add esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, eax
test eax, eax
jle 0x4e9b7f
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 0x4e9b7f
dec ecx
sub eax, 0x58
test ecx, ecx
jg 0x4e9b72
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 0x4e9cf2
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 0x4e9be4
push eax
push 0
push edx
mov edx, 0xd
mov ecx, edi
call fcn.00499760
add esp, 0xc
jmp 0x4e9c17
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 0x4e9ad8
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 0x4e9c3c
push 0
push dword [esp + 0x28]
mov edx, 0xe
mov ecx, edi
push dword [esp + 0x18]
call fcn.00499760
add esp, 0xc
mov edx, eax
jmp 0x4e9c73
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 0x4ebac6
nop dword [eax]
movzx eax, word [edx + 0xa]
xor esi, esi
mov dword [esp + 0x88], eax
test al, 6
jne 0x4ebaa7
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 0x4eb91a
mov eax, dword [esp + 0x50]
mov byte [eax + 0x32], 1
jmp 0x4ebaa3
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x24]
test eax, 0x400
je 0x4ea1a4
movzx eax, word [ecx + 0x28]
mov dword [esp + 0x14], eax
lea ecx, [eax + 2]
cmp ecx, 1
jne 0x4e9d3c
mov al, byte [edx + 0x13]
test al, al
jne 0x4e9d27
inc dword [edx + 0x2c]
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x20], eax
jmp 0x4e9d65
dec al
mov byte [edx + 0x13], al
movzx eax, al
mov eax, dword [edx + eax*4 + 0x94]
mov dword [esp + 0x20], eax
jmp 0x4e9d65
mov eax, dword [edx + 0x20]
mov dword [esp + 0x20], eax
cmp ecx, dword [edx + 0x1c]
jg 0x4e9d52
add eax, ecx
sub dword [edx + 0x1c], ecx
mov dword [edx + 0x20], eax
jmp 0x4e9d65
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 0x4e9dc9
xor edi, edi
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + edi*4]
test edx, edx
je 0x4e9dbe
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add eax, 2
add eax, edi
test byte [edx + 0xc], 1
je 0x4e9dae
push eax
push dword [esp + 0x5c]
push edi
push esi
call fcn.004e8a40
mov eax, dword [esi + 0x10]
add esp, 0x10
mov dword [esp + 0x18], eax
jmp 0x4e9dbe
mov edx, dword [edx]
push 1
push eax
mov edx, dword [edx + 0x10]
call fcn.004e9520
add esp, 8
inc edi
cmp edi, dword [esp + 0x14]
jl 0x4e9d75
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 0x4e9df0
push 0
push dword [esp + 0x24]
mov ecx, edi
push edx
mov edx, 0x46
call fcn.00499760
add esp, 0xc
jmp 0x4e9e23
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 0x4e9e48
push 0
push eax
push dword [esp + 0x1c]
mov edx, 0x46
mov ecx, edi
call fcn.00499760
add esp, 0xc
jmp 0x4e9e80
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 0x4e9ec5
push dword [esp + 0x20]
mov edx, 9
mov ecx, edi
push dword [esp + 0x1c]
push dword [esp + 0x38]
call fcn.00499760
add esp, 0xc
mov edx, eax
jmp 0x4e9efc
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 0x4e9f1c
mov edx, dword [esp + 0x10]
cmp edx, 0xfffffff4
je 0x4e9f75
mov eax, dword [esp + 0x24]
push eax
call fcn.0049a470
add esp, 4
jmp 0x4e9f75
test edx, edx
jns 0x4e9f24
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 0x4e9f65
cmp byte [edx + 1], 0
jne 0x4e9f65
cmp eax, 0xfffffffd
jne 0x4e9f4d
mov eax, dword [esp + 0x24]
mov dword [edx + 0x10], eax
mov byte [edx + 1], 0xfd
jmp 0x4e9f75
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4e9f75
mov dword [edx + 0x10], ecx
mov byte [edx + 1], al
cmp eax, 0xfffffff4
jne 0x4e9f75
inc dword [ecx + 0xc]
jmp 0x4e9f75
push eax
mov eax, dword [esp + 0x28]
mov ecx, edi
push eax
call fcn.0049a600
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 0x4e9c7a
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 0x4e9ff2
mov eax, dword [esp + 0x38]
mov ax, word [eax + 0x1e]
shr ax, cl
test al, 1
je 0x4e9fee
mov ecx, esi
call fcn.004e8720
jmp 0x4ea18e
mov ecx, dword [esp + 0x14]
test byte [edx + 0xc], 1
je 0x4ea192
mov eax, dword [esp + 0x64]
cmp byte [eax + 0x51], 0
jne 0x4ea0a3
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 0x4ea024
mov ecx, dword [edi + 0x6c]
dec ecx
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4ea033
mov eax, 0x716eec
jmp 0x4ea03c
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 0x4ea06d
mov ecx, dword [esp + 0x18]
push esi
push edx
push ecx
mov edx, eax
mov ecx, edi
call fcn.00499760
add esp, 0xc
jmp 0x4ea0a3
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.00478070
mov esi, eax
add esp, 8
test esi, esi
je 0x4ea18a
push 0x34
push 0
push esi
call fcn.00639370
add esp, 0xc
mov byte [esi], 0x35
or eax, 0xffffffff
mov ecx, esi
mov word [esi + 0x22], ax
call fcn.004afd10
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x4ea0fa
push eax
push 0x706b1c
push ecx
call fcn.0047b1c0
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.00478070
mov ecx, eax
add esp, 8
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x4ea14b
push 0x34
push 0
push ecx
call fcn.00639370
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 0x4ea178
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.004b68d0
add esp, 0x10
mov ecx, dword [esp + 0x64]
mov edx, esi
mov dword [esi + 0xc], 0
call fcn.004b03b0
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
sub ecx, 1
mov dword [esp + 0x14], ecx
jns 0x4e9fc0
jmp 0x4e9c7a
test al, 5
setne cl
bt eax, 8
setb al
test al, cl
mov eax, dword [esp + 0x38]
je 0x4ea297
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.004e8a40
mov edx, dword [esp + 0x20]
add esp, 0x10
mov dword [esp + 0x18], eax
cmp eax, edx
je 0x4ea21c
test edx, edx
je 0x4ea21c
mov ecx, dword [esp + 0x1c]
mov al, byte [ecx + 0x13]
mov byte [esp + 0x4f], al
cmp al, 8
mov eax, dword [esp + 0x18]
jae 0x4ea21c
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 0x4ea23e
push eax
push edx
push dword [esp + 0x38]
mov edx, 0x1e
mov ecx, edi
call fcn.00499760
add esp, 0xc
jmp 0x4ea271
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 0x4e9c7a
or word [edx + 0xa], 4
jmp 0x4e9c7a
mov ecx, dword [eax + 0x24]
mov eax, ecx
and eax, 0x102
cmp eax, 0x102
jne 0x4ea53a
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 0x4ea2ee
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 0x4ea305
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 0x4ea323
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 0x4ea327
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4ea411
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.004af780
test eax, eax
je 0x4ea39f
mov al, byte [edx + 0x13]
test al, al
jne 0x4ea35e
inc dword [edx + 0x2c]
mov eax, dword [edx + 0x2c]
jmp 0x4ea36d
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.004e9520
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 0x4ea3d6
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.004b5ed0
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.004e8720
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.004997a0
mov edx, dword [esp + 0x38]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
test edx, edx
je 0x4ea435
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x4ea435
movzx eax, al
mov dword [ecx + eax*4 + 0x94], edx
inc byte [ecx + 0x13]
jmp 0x4ea435
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.004998d0
mov ecx, dword [esp + 0x24]
add esp, 8
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4ea4c3
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.004e9520
mov edx, dword [esp + 0x18]
add esp, 8
mov eax, dword [edx + 0x10]
mov ecx, eax
mov dword [esp + 0x10], eax
call fcn.004af780
test eax, eax
jne 0x4ea495
mov al, byte [edx]
cmp al, 0x38
je 0x4ea47f
cmp al, 0x36
jne 0x4ea495
xor edx, edx
cmp dword [esp + 0x58], edx
sete dl
lea edx, [edx*2 + 0x37]
mov dword [esp + 0x60], edx
jmp 0x4ea4ab
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.004af780
test eax, eax
jne 0x4ea4c3
mov edx, dword [esp + 0x48]
mov ecx, esi
call fcn.004e8720
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 0x4e9c7a
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.004998d0
mov edx, dword [esp + 0x68]
mov ecx, edi
push esi
push dword [esp + 0x30]
push dword [esp + 0x6c]
call fcn.004997a0
mov eax, dword [edi + 0x6c]
add esp, 0x14
test eax, eax
jle 0x4e9c7a
lea ecx, [eax + eax*4]
mov edx, 0x53
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4e9c7a
test ecx, 0x200
je 0x4eaf7c
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 0x4ea5e3
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 0x4ea698
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 0x4ea663
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.004998d0
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 0x4ea667
mov edx, dword [esp + 0x54]
cmp dword [esp + 0x48], 0
jne 0x4ea698
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx + 4]
movsx edx, word [eax + edx*2]
test edx, edx
js 0x4ea68e
mov eax, dword [ecx + 0xc]
mov ecx, edx
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xc], 0
je 0x4ea693
cmp edx, 0xfffffffe
jne 0x4ea698
mov byte [esp + 0x2b], 1
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x24]
test al, 0x30
jne 0x4ea6d1
test eax, 0x80000
je 0x4ea6d1
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 0x4ea707
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 0x4ea714
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
jmp 0x4ea70b
mov edx, dword [esp + 0x58]
test edx, edx
je 0x4ea74b
cmp ax, cx
jne 0x4ea74b
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.004e8ff0
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov dword [esp + 0x3c], eax
test ecx, ecx
je 0x4ea78b
cmp word [esp + 0x44], 0
je 0x4ea78b
mov edx, dword [esp + 0x54]
lea edx, [edx + ecx]
mov ecx, dword [esp + 0x64]
call fcn.004782e0
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x68], 0
je 0x4ea79b
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x14], ecx
jmp 0x4ea7a2
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4ea7b8
test byte [eax + 0xc], 0x28
mov dword [esp + 0x24], 0
je 0x4ea7c0
mov dword [esp + 0x24], 1
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x4ea7d6
test byte [ecx + 0xc], 0x28
mov dword [esp + 0x18], 0
je 0x4ea7de
mov dword [esp + 0x18], 1
test eax, eax
jne 0x4ea838
mov edx, dword [esp + 0x40]
test dx, dx
jne 0x4ea838
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x78], eax
mov dword [esp + 0x40], ecx
cmp byte [esp + 0x2b], 0
je 0x4eaab1
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.004998d0
mov eax, dword [esp + 0x48]
add esp, 8
inc eax
mov dword [esp + 0x78], 1
mov dword [esp + 0x40], eax
jmp 0x4ea955
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x78], 1
mov dword [esp + 0x40], ecx
test eax, eax
je 0x4ea7f7
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.004e9520
mov eax, dword [esp + 0x50]
mov ecx, 0x100
mov edi, dword [esp + 0x7c]
add esp, 8
test word [eax + 0xa], cx
je 0x4ea8ba
mov eax, dword [edi]
mov ecx, dword [edi + 0x6c]
dec ecx
cmp byte [eax + 0x51], 0
je 0x4ea89d
mov ecx, 0x716eec
jmp 0x4ea8a6
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.004b1ca0
test eax, eax
je 0x4ea8e1
push dword [esp + 0x14]
mov edx, 0x32
mov ecx, edi
push dword [esp + 0x84]
call fcn.004998d0
add esp, 8
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x4ea903
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.004e87e0
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 0x4ea91c
mov cl, byte [eax + 0x26]
cmp cl, 0xac
jne 0x4ea926
mov eax, dword [eax + 0x14]
jmp 0x4ea930
cmp cl, 0x86
jne 0x4ea941
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, 1
jle 0x4ea941
mov dword [esp + 0x24], 1
jmp 0x4ea94c
mov edx, dword [esp + 0x48]
mov ecx, esi
call fcn.004e8720
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.004e8790
mov ecx, dword [esp + 0x40]
add esp, 8
movzx eax, word [ecx + 0x2a]
test ax, ax
je 0x4ea98f
cmp dword [esp + 0x40], eax
je 0x4eaa4c
test dword [ecx + 0x24], 0x40000
je 0x4ea9ab
push dword [esp + 0x20]
mov edx, 0x77
mov ecx, edi
call fcn.00499870
add esp, 4
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4ea9c5
push eax
push 1
mov edx, 0x46
mov ecx, edi
call fcn.004998d0
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 + 0x6c58f0]
mov ecx, edi
call fcn.00499e40
mov eax, dword [esp + 0x78]
add esp, 0x10
test eax, eax
je 0x4eaa50
mov eax, dword [edi + 0x6c]
mov edx, 0xb
add eax, 2
mov ecx, edi
push eax
push 0
call fcn.004998d0
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 + 0x6c58f2]
mov ecx, edi
call fcn.00499e40
add esp, 0x18
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x4eabaf
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.004e9520
mov eax, dword [esp + 0x74]
mov ecx, 0x100
mov esi, dword [esp + 0x3c]
add esp, 8
test word [eax + 0xa], cx
je 0x4eab07
mov eax, dword [edi]
mov ecx, dword [edi + 0x6c]
dec ecx
cmp byte [eax + 0x51], 0
je 0x4eaaea
mov ecx, 0x716eec
jmp 0x4eaaf3
cmp dword [esp + 0x68], 0
je 0x4ea951
mov eax, dword [esp + 0x3c]
mov edx, 0x49
add eax, ecx
mov ecx, edi
push eax
push 0
call fcn.004998d0
mov eax, dword [esp + 0x48]
add esp, 8
inc eax
mov dword [esp + 0x78], 1
mov dword [esp + 0x40], eax
jmp 0x4ea955
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.004b1ca0
test eax, eax
je 0x4eab2b
push dword [esp + 0x14]
mov edx, 0x32
mov ecx, edi
push dword [esp + 0x7c]
call fcn.004998d0
add esp, 8
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4eab64
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x48]
movzx edx, ax
call fcn.004e87e0
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.004e8790
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 0x4eab7d
mov cl, byte [eax + 0x26]
cmp cl, 0xac
jne 0x4eab87
mov eax, dword [eax + 0x14]
jmp 0x4eab91
cmp cl, 0x86
jne 0x4eaba2
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, 1
jle 0x4eaba2
mov dword [esp + 0x18], 1
jmp 0x4eabe0
mov edx, dword [esp + 0x6c]
mov ecx, esi
call fcn.004e8720
jmp 0x4eabe0
cmp byte [esp + 0x4f], 0
je 0x4eabe0
test eax, eax
jne 0x4eabdc
mov eax, dword [esp + 0x54]
mov edx, 0x49
add eax, dword [esp + 0x3c]
mov ecx, edi
push eax
push 0
call fcn.004998d0
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 0x4eac33
test edx, edx
je 0x4eac26
cmp dword [edx + 0x1e8], 0
je 0x4eac06
mov edx, ecx
mov ecx, dword [esp + 0x64]
call fcn.00477ca0
jmp 0x4eac2f
cmp ecx, dword [edx + 0x138]
jb 0x4eac26
cmp ecx, dword [edx + 0x13c]
jae 0x4eac26
mov eax, dword [edx + 0x134]
mov dword [ecx], eax
mov dword [edx + 0x134], ecx
jmp 0x4eac33
push ecx
call fcn.00477c30
add esp, 4
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4eac7e
test edx, edx
je 0x4eac75
cmp dword [edx + 0x1e8], 0
je 0x4eac55
mov edx, ecx
mov ecx, dword [esp + 0x64]
call fcn.00477ca0
jmp 0x4eac7e
cmp ecx, dword [edx + 0x138]
jb 0x4eac75
cmp ecx, dword [edx + 0x13c]
jae 0x4eac75
mov eax, dword [edx + 0x134]
mov dword [ecx], eax
mov dword [edx + 0x134], ecx
jmp 0x4eac7e
push ecx
call fcn.00477c30
add esp, 4
mov eax, dword [edi + 0x6c]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4eacd6
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x4eacaf
mov eax, dword [edi + 0x6c]
mov edx, 0x14
add eax, 3
push eax
push ecx
mov ecx, edi
call fcn.004998d0
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.__]
mov ecx, edi
call fcn.00499e40
add esp, 0x10
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x4ead22
mov eax, dword [edi + 0x6c]
mov edx, 0x12
add eax, 2
push eax
push ecx
mov ecx, edi
call fcn.004998d0
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.__]
mov ecx, edi
call fcn.00499e40
add esp, 0x18
mov eax, dword [esp + 0x38]
test dword [eax + 0x24], 0x40000
je 0x4ead48
push 1
push dword [esp + 0x24]
mov edx, 0x77
mov ecx, edi
call fcn.004998d0
mov eax, dword [esp + 0x40]
add esp, 8
test byte [eax + 0x24], 0x40
je 0x4ead6d
mov ecx, dword [esp + 0x50]
test byte [ecx + 0x2c], 0x20
jne 0x4ead6d
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x5c], 1
jmp 0x4eaeeb
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x5c], 0
mov ecx, dword [edx + 0xc]
test byte [ecx + 0x24], 0x20
jne 0x4eaded
mov ecx, dword [esp + 0x50]
movzx eax, word [ecx + 0x2c]
test eax, 0x400
jne 0x4eadb3
test eax, 0x1000
je 0x4ead9e
cmp byte [ecx + 0x31], 1
je 0x4eadb3
push dword [esp + 0x20]
push dword [esp + 0x34]
call fcn.004e93d0
add esp, 8
jmp 0x4eaedf
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.004998d0
push esi
push 0
push dword [esp + 0x40]
mov edx, 0x1f
mov ecx, edi
call fcn.004997a0
mov esi, dword [esp + 0x48]
add esp, 0x14
jmp 0x4eaedf
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
cmp edx, eax
je 0x4eaee7
call fcn.004be3f0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
movzx edx, word [eax + 0x32]
call fcn.004b7aa0
mov dword [esp + 0x10], eax
xor ecx, ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], 0
cmp cx, word [eax + 0x32]
jae 0x4eaebc
nop
mov edx, dword [esp + 0x7c]
xor ecx, ecx
movzx edx, word [edx + 0x34]
test edx, edx
jle 0x4eae7c
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 0x4eaf38
inc ecx
add eax, 2
cmp ecx, edx
jl 0x4eae60
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.004997a0
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 0x4eae30
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.00499e40
add esp, 0x10
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
cmp dword [esi], 0
jne 0x4eaf07
test byte [ecx + 0x2c], 0x20
jne 0x4eaf07
push ecx
mov ecx, dword [esp + 0x80]
push eax
call fcn.004e9620
add esp, 8
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x4eaf25
push dword [esp + 0x84]
mov edx, dword [esp + 0x34]
call fcn.004e9730
add esp, 4
mov ecx, dword [esp + 0x38]
test dword [ecx + 0x24], 0x1000
je 0x4eaf40
mov byte [esi + 0x35], 0xaa
jmp 0x4eaf4d
movzx ecx, cx
jmp 0x4eae7f
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 0x4eaf66
mov byte [esi + 0x37], 1
cmp dword [esp + 0x5c], 0
je 0x4eb911
xor eax, eax
mov dword [esp + 0x7c], eax
jmp 0x4e9c7c
test ecx, 0x2000
je 0x4eb8c7
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 0x4eb142
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.00478030
mov ecx, eax
add esp, 8
mov dword [esp + 0x78], ecx
test ecx, ecx
jne 0x4eb053
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.0062063b
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 0x4eb108
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 0x4eb0c0
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 0x4eb1b2
test byte [ecx + 0x24], 0x20
jne 0x4eb14f
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.004998d0
add esp, 8
jmp 0x4eb1a4
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 4]
mov dword [esp + 0x78], eax
jmp 0x4eb110
mov ecx, dword [ecx + 8]
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x4eb174
nop word [eax + eax]
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4eb170
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4eb160
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.004998d0
mov edx, dword [esp + 0x18]
add esp, 8
mov ecx, dword [esp + 0x1c]
call fcn.0049a7b0
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 0x4eb1db
push 0
push dword [esp + 0x64]
mov edx, 0x46
mov ecx, edi
push 0
call fcn.00499760
add esp, 0xc
mov dword [esp + 0x54], eax
jmp 0x4eb20e
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 0x4eb333
test eax, eax
jle 0x4eb333
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 0x4eb285
test byte [eax + 0xa], 6
jne 0x4eb285
mov esi, 0x1fff
test word [eax + 0xc], si
mov esi, dword [esp + 0x1c]
je 0x4eb285
test edx, edx
je 0x4eb26a
mov ecx, dword [esp + 0x64]
push 0
push 0
call fcn.004b0600
add esp, 8
jmp 0x4eb26c
xor eax, eax
mov edx, dword [esp + 0x3c]
mov ecx, esi
push eax
call fcn.004b00f0
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x3c], eax
jmp 0x4eb289
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 0x4eb231
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x34]
test eax, eax
je 0x4eb333
mov eax, dword [esp + 0x1c]
push 0
push 0x34
mov ecx, dword [eax]
call fcn.00478070
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x4eb31c
push 0x34
push 0
push eax
call fcn.00639370
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.004afd10
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 0x4eb32b
push edx
push 0x706b1c
push ecx
call fcn.0047b1c0
add esp, 0xc
jmp 0x4eb32b
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov ecx, dword [eax]
call fcn.004b03b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x50]
mov ecx, 0x400
push 0x70a45c
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.00499c90
mov ecx, dword [esp + 0x38]
xor eax, eax
add esp, 0xc
mov dword [esp + 0x68], eax
cmp dword [ecx + 0xc], eax
jle 0x4eb731
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 0x4eb3a1
mov edi, 0x400
test word [eax + 0xc], di
mov edi, dword [esp + 0x74]
je 0x4eb71b
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 0x4eb3bc
mov dword [ecx + 0xc], eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x68]
inc eax
push eax
push 0x70a450
push 1
push esi
call fcn.00499c90
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.004f3d30
add esp, 0x24
mov dword [esp + 0x88], eax
test eax, eax
je 0x4eb713
mov edx, dword [esp + 0x78]
lea ecx, [eax + 0x2f0]
push 0
push ecx
mov ecx, esi
call fcn.004e8410
mov eax, dword [esp + 0x58]
add esp, 8
test byte [eax + 0x2c], 0x10
jne 0x4eb5f0
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 0x4eb486
mov edx, dword [esp + 0x44]
mov ecx, edi
push edx
push dword [esp + 0x34]
mov edx, 0x80
call fcn.004998d0
push dword [esp + 0x20]
mov edx, 0x2a
mov ecx, edi
push dword [esp + 0x50]
push 0
push dword [esp + 0x5c]
call fcn.00499e40
add esp, 0x18
mov dword [esp + 0x10], eax
jmp 0x4eb5f0
mov ecx, eax
call fcn.004be3f0
mov ecx, esi
mov dword [esp + 0x90], eax
movzx edx, word [eax + 0x32]
mov dword [esp + 0x24], edx
call fcn.004b7aa0
mov dword [esp + 0x14], eax
mov dword [esp + 0x98], 0
test edx, edx
je 0x4eb4f6
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.004b4a80
mov edx, dword [esp + 0x30]
inc esi
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp esi, edx
jl 0x4eb4c0
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x18], 0
je 0x4eb523
push edx
push eax
push 0
push dword [esp + 0x54]
mov edx, 0x1d
mov ecx, edi
call fcn.00499e40
add esp, 0x10
mov dword [esp + 0x10], eax
cmp dword [esp + 0x18], 0
jl 0x4eb5ba
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4eb54a
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.00499760
add esp, 0xc
jmp 0x4eb57d
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.00499e40
add esp, 0x10
cmp dword [esp + 0x18], 0
je 0x4eb5ba
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x4eb5ba
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 0x4eb5e1
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4eb5f0
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4eb5f0
movzx eax, al
mov dword [esi + eax*4 + 0x94], ecx
inc byte [esi + 0x13]
jmp 0x4eb5f0
cmp eax, dword [esi + 0x1c]
jle 0x4eb5f0
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 0x4eb613
push 0
push dword [esp + 0x44]
mov edx, 0xc
mov ecx, edi
push dword [esp + 0x68]
call fcn.00499760
add esp, 0xc
jmp 0x4eb646
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 0x4eb671
mov edx, dword [edi + 0x6c]
jns 0x4eb656
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4eb665
mov eax, 0x716eec
jmp 0x4eb66e
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 0x4eb6ca
cmp dword [esp + 0x68], 0
je 0x4eb6ab
mov eax, dword [esp + 0x5c]
cmp dword [ecx + 0x20], eax
jne 0x4eb6ca
mov eax, dword [esp + 0x6c]
test byte [eax + 0x24], 0x20
je 0x4eb6c1
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0x38]
and al, 3
cmp al, 2
je 0x4eb6ca
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x5c], eax
jmp 0x4eb6d2
mov dword [esp + 0x5c], 0
mov ecx, edx
call fcn.004f4870
mov ecx, dword [esi + 0xd4]
test ecx, ecx
jne 0x4eb6e7
xor eax, eax
jmp 0x4eb70d
mov edx, dword [esi + 8]
test ecx, ecx
jns 0x4eb6f2
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x4eb701
mov eax, 0x716eec
jmp 0x4eb70a
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 0x4eb380
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0xd4]
test edx, edx
jne 0x4eb743
xor eax, eax
jmp 0x4eb77b
mov eax, dword [ecx + 8]
mov dword [esp + 0x88], eax
test edx, edx
jns 0x4eb755
mov edx, dword [eax + 0x6c]
dec edx
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x4eb764
mov eax, 0x716eec
jmp 0x4eb778
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 0x4eb793
mov eax, dword [esp + 0x58]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4eb7ad
mov ecx, dword [esp + 0x64]
mov edx, eax
mov dword [eax + 0xc], 0
call fcn.004b03b0
mov ecx, dword [esp + 0x54]
mov edx, dword [edi + 0x6c]
test ecx, ecx
jns 0x4eb7bb
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4eb7ca
mov eax, 0x716eec
jmp 0x4eb7d3
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 0x4eb7f7
push 0
push edx
push 0
mov edx, 0xb
mov ecx, edi
call fcn.00499760
add esp, 0xc
jmp 0x4eb82a
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 0x4eb848
push edx
mov edx, edi
call fcn.00499f40
add esp, 4
jmp 0x4eb851
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 0x4eb8ac
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x4eb8ac
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4eb8a3
cmp dword [eax + 0x1e8], 0
je 0x4eb87f
mov edx, ecx
mov ecx, eax
call fcn.00477ca0
jmp 0x4eb8ac
cmp ecx, dword [eax + 0x138]
jb 0x4eb8a3
cmp ecx, dword [eax + 0x13c]
jae 0x4eb8a3
mov eax, dword [eax + 0x134]
mov dword [ecx], eax
mov eax, dword [esp + 0x64]
mov dword [eax + 0x134], ecx
jmp 0x4eb8ac
push ecx
call fcn.00477c30
add esp, 4
cmp dword [esp + 0x20], 0
jne 0x4e9c7a
mov edx, dword [esp + 0x38]
mov ecx, esi
call fcn.004e8720
jmp 0x4e9c7a
mov eax, dword [esp + 0x70]
test byte [eax + 0x28], 0x20
je 0x4eb8da
mov byte [esi + 0x35], 0xaa
jmp 0x4e9c7a
mov ecx, dword [esp + 0x58]
push dword [esp + 0x18]
mov al, byte [ecx + 0x6c86d0]
movzx edx, byte [ecx + 0x6c9fa8]
mov ecx, edi
mov byte [esi + 0x35], al
mov eax, dword [esp + 0x34]
push eax
mov dword [esi + 0x38], eax
call fcn.004998d0
add esp, 8
mov byte [esi + 0x37], 1
inc eax
mov dword [esi + 0x3c], eax
jmp 0x4e9c7a
mov eax, dword [esp + 0x7c]
jmp 0x4e9c7c
mov eax, dword [esp + 0x70]
mov ecx, dword [edx]
mov dword [esp + 0x90], ecx
test byte [eax + 0x24], 8
je 0x4eb937
test byte [ecx + 4], 1
je 0x4ebaa3
mov eax, dword [esp + 0x2c]
cmp eax, 1
jne 0x4eb9b4
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
movaps xmmword [esp + 0xa0], xmm0
movq qword [esp + 0xb0], xmm0
mov dword [esp + 0xa4], 0x4b75b0
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 0x4eb99c
mov edx, ecx
lea ecx, [esp + 0xa0]
call fcn.004aca70
mov edx, dword [esp + 0x10]
cmp byte [esp + 0xb4], 0
je 0x4eb9b9
mov ecx, 2
mov dword [esp + 0x14], ecx
jmp 0x4ebaa7
cmp eax, 3
jge 0x4eb9de
movzx eax, word [edx + 0xa]
test eax, 0x1000
je 0x4eb9e5
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x4ebaa7
mov ecx, 3
mov dword [esp + 0x14], ecx
jmp 0x4ebaa7
mov eax, dword [esp + 0x88]
test eax, 0x200
je 0x4eba57
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x4eba57
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 0x4eba29
push 0
push 0
push edx
mov edx, eax
mov ecx, edi
call fcn.00499760
add esp, 0xc
mov esi, eax
jmp 0x4eba57
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.004b68d0
add esp, 0x10
test esi, esi
je 0x4eba9a
mov edx, dword [edi + 0x6c]
jns 0x4eba7f
lea esi, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4eba8e
mov eax, 0x716eec
jmp 0x4eba97
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 0x4e9cb0
mov esi, dword [esp + 0x84]
mov dword [esp + 0x2c], ecx
test ecx, ecx
jg 0x4e9c90
mov edx, dword [esi + 0x14]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x24], edx
mov dword [esp + 0x70], esi
test esi, esi
jle 0x4ebc91
mov edi, dword [esp + 0x34]
nop dword [eax]
test byte [edx + 0xa], 6
jne 0x4ebc79
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 0x4ebc79
mov ecx, dword [esp + 0x30]
cmp dword [edx + 0x14], ecx
jne 0x4ebc79
cmp dword [edi], 0
jne 0x4ebc79
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 0x4ebbe5
lea ecx, [esp + 0xe8]
mov word [esp + 0x130], ax
call fcn.004ee350
mov edx, eax
test edx, edx
je 0x4ebbe5
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 0x4ebbd3
mov eax, dword [edx + 0x20]
or eax, dword [edx + 0x24]
jne 0x4ebbce
test byte [edx + 0xc], 0x82
jne 0x4ebbe7
test esi, esi
cmove esi, edx
lea ecx, [esp + 0xe8]
call fcn.004ee350
mov edx, eax
test edx, edx
jne 0x4ebbb0
mov edx, esi
test edx, edx
je 0x4ebc71
test byte [edx + 0xa], 4
jne 0x4ebc71
test byte [edx + 0xc], 1
je 0x4ebc14
mov eax, dword [edx]
test dword [eax + 4], 0x800
je 0x4ebc14
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
cmp dword [eax], 1
jg 0x4ebc71
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.004b68d0
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 0x4ebaf0
mov edi, dword [esp + 0x74]
mov edx, dword [esp + 0x34]
mov esi, dword [edx]
test esi, esi
je 0x4ebd4d
mov eax, dword [edi + 0x6c]
mov dword [edx + 0x1c], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4ebcc7
push 0
push esi
push 1
mov edx, 0x46
mov ecx, edi
call fcn.00499760
mov edx, dword [esp + 0x40]
add esp, 0xc
jmp 0x4ebcf6
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 0x4ebd4d
test byte [esi + 0xa], 6
jne 0x4ebd39
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [edx + 0x50]
and eax, dword [edx + 0x54]
or ecx, eax
jne 0x4ebd39
push 0x10
push dword [esp + 0x98]
push dword [esi]
push dword [esp + 0x28]
call fcn.004b68d0
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 0x4ebd07
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.0062063b
mov esp, ebp
pop ebp
ret