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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
mov eax, dword [str.TlsFree]
xor eax, esp
mov dword [esp + 0x144], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x44], eax
add eax, 0x50
mov dword [esp + 0x74], eax
push esi
mov esi, ecx
mov dword [esp + 0x64], 0
push edi
mov edi, edx
mov dword [esp + 0x54], esi
mov edx, dword [ebp + 0x10]
mov eax, dword [esi]
mov dword [esp + 0x78], eax
mov dword [esp + 0x64], edi
mov eax, dword [edx + 0x48]
mov dword [esp + 0x38], eax
movzx eax, byte [edx + 0x34]
mov dword [esp + 0x1c], edx
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 4]
lea eax, [eax + ecx*8]
mov ecx, dword [esp + 0x4c]
add eax, 8
mov dword [esp + 0x80], eax
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x34], eax
xor eax, eax
cmp dword [ecx + 0x1ec], eax
jle 0x4e3c64
add ecx, 0x1f0
nop dword [eax + eax]
mov edx, dword [esp + 0x34]
cmp dword [ecx], edx
mov edx, dword [esp + 0x1c]
je 0x4e3d73
mov esi, dword [esp + 0x4c]
inc eax
add ecx, 4
cmp eax, dword [esi + 0x1ec]
mov esi, dword [esp + 0x54]
jl 0x4e3c40
xorps xmm0, xmm0
movlpd qword [esp + 0x88], xmm0
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
not ecx
not eax
and ecx, dword [ebp + 0x14]
and eax, dword [ebp + 0x18]
mov dword [edx + 0x50], ecx
mov ecx, dword [esp + 0x4c]
mov dword [edx + 0x54], eax
mov eax, dword [ecx + 0x48]
mov edx, dword [ecx + 0x4c]
mov ecx, dword [ebp + 0xc]
call fcn.005b4780
mov edx, dword [esp + 0x1c]
and eax, 1
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x38]
dec eax
mov dword [esi + 0x38], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0xc], eax
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x38]
dec eax
mov dword [esi + 0x38], eax
cmp byte [edx + 0x34], 0
mov dword [esp + 0x9c], eax
mov dword [edx + 0x18], eax
jbe 0x4e3cff
mov eax, dword [esp + 0x80]
test byte [eax + 0x24], 8
je 0x4e3cff
mov eax, dword [esi + 0x2c]
mov ecx, edi
inc eax
mov dword [esi + 0x2c], eax
push eax
mov dword [edx], eax
mov edx, 0x45
push 0
call fcn.00495b60
mov edx, dword [esp + 0x24]
add esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, eax
test eax, eax
jle 0x4e3d2d
mov esi, dword [esp + 0x4c]
imul eax, eax, 0x58
add esi, 0x2f0
add eax, esi
mov esi, dword [esp + 0x54]
nop dword [eax + eax]
cmp dword [eax], 0
jne 0x4e3d2d
dec ecx
sub eax, 0x58
test ecx, ecx
jg 0x4e3d20
imul eax, ecx, 0x58
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax + ecx + 0x2fc]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x80]
test byte [eax + 0x28], 0x10
je 0x4e3e95
mov ecx, dword [edi + 0x6c]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
cmp dword [edi + 0x70], ecx
jg 0x4e3d97
push edx
push 0
push esi
mov edx, 0xd
mov ecx, edi
call fcn.004959f0
add esp, 0xc
jmp 0x4e3dc6
xor ecx, ecx
xor edi, edi
bts ecx, eax
cmp eax, 0x20
cmovae edi, ecx
xor ecx, edi
mov dword [esp + 0x14], edi
cmp eax, 0x40
mov eax, edi
mov edi, dword [esp + 0x64]
cmovae eax, ecx
jmp 0x4e3c7e
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x64]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], esi
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 0x4e3de8
push 0
push dword [esp + 0x48]
mov edx, 0xe
mov ecx, edi
push esi
call fcn.004959f0
add esp, 0xc
mov edx, eax
jmp 0x4e3e1b
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x64]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x44]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x1c]
mov dword [esi + 0x3c], edx
mov byte [esi + 0x35], 0xb
xor eax, eax
mov esi, dword [esp + 0x7c]
neg eax
sbb eax, eax
add eax, 2
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xc]
xor ecx, ecx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
test eax, eax
jle 0x4e5b35
movzx eax, word [edx + 0xa]
xor esi, esi
mov dword [esp + 0x88], eax
test al, 6
jne 0x4e5b19
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x1c]
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 + 0x64]
je 0x4e5989
mov eax, dword [esp + 0x4c]
or dword [eax + 0x30], 2
jmp 0x4e5b15
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x24]
test eax, 0x400
je 0x4e4353
movzx eax, word [ecx + 0x28]
mov dword [esp + 0x20], eax
lea ecx, [eax + 2]
cmp ecx, 1
jne 0x4e3edf
mov al, byte [esi + 0x13]
test al, al
jne 0x4e3eca
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x24], eax
jmp 0x4e3f08
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x98]
mov dword [esp + 0x24], eax
jmp 0x4e3f08
mov eax, dword [esi + 0x20]
mov dword [esp + 0x24], eax
cmp ecx, dword [esi + 0x1c]
jg 0x4e3ef5
add eax, ecx
sub dword [esi + 0x1c], ecx
mov dword [esi + 0x20], eax
jmp 0x4e3f08
mov eax, dword [esi + 0x2c]
lea edi, [eax + 1]
add eax, ecx
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x64]
mov dword [esi + 0x2c], eax
mov eax, dword [edx + 0xc]
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x20], ecx
jle 0x4e3f7c
mov edi, dword [esp + 0x1c]
nop
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x4e3f6d
mov eax, dword [esp + 0x24]
add eax, 2
add eax, ecx
test byte [edx + 0xc], 1
je 0x4e3f57
push eax
push dword [esp + 0x54]
push ecx
push edi
mov ecx, esi
call fcn.004e2cf0
mov eax, dword [edi + 0x10]
add esp, 0x10
mov dword [esp + 0x2c], eax
jmp 0x4e3f69
mov edx, dword [edx]
mov ecx, esi
push 1
push eax
mov edx, dword [edx + 0x10]
call fcn.004e37c0
add esp, 8
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, dword [esp + 0x20]
jl 0x4e3f20
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x38]
mov ecx, dword [edi + 0x6c]
mov edx, dword [eax + 0x18]
cmp dword [edi + 0x70], ecx
jg 0x4e3fa3
push 0
push dword [esp + 0x28]
mov ecx, edi
push edx
mov edx, 0x45
call fcn.004959f0
add esp, 0xc
jmp 0x4e3fd6
mov esi, dword [esp + 0x54]
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], 0x45
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 + 0x24]
mov ecx, dword [edi + 0x6c]
inc eax
cmp dword [edi + 0x70], ecx
jg 0x4e3ffb
push 0
push eax
push dword [esp + 0x28]
mov edx, 0x45
mov ecx, edi
call fcn.004959f0
add esp, 0xc
jmp 0x4e4033
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x54]
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 + 0x24]
inc edx
mov dword [eax + ecx*4], 0x45
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 + 0x14], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x18], eax
cmp dword [edi + 0x70], edx
jg 0x4e4078
push dword [esp + 0x24]
mov edx, 9
mov ecx, edi
push dword [esp + 0x30]
push dword [esp + 0x3c]
call fcn.004959f0
add esp, 0xc
mov edx, eax
jmp 0x4e40af
mov esi, dword [esp + 0x34]
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 + 0x2c]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x14]
mov ecx, edi
push dword [esp + 0x1c]
call fcn.004968e0
mov eax, dword [esp + 0x40]
add esp, 8
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
mov byte [eax + 0x1c], 0
mov eax, dword [esp + 0x34]
mov dword [edx + 0x38], eax
mov eax, 0x3d
cmp byte [ecx + 0x2e], 0
mov ecx, 0xad
cmovne eax, ecx
mov ecx, dword [esp + 0x20]
mov byte [edx + 0x35], al
sub ecx, 1
mov eax, dword [edi + 0x6c]
mov dword [edx + 0x3c], eax
mov eax, dword [edx + 0x40]
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], ecx
js 0x4e3e26
nop word [eax + eax]
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x18], eax
mov ax, word [eax + 0xc]
and ax, 1
mov word [esp + 0x84], ax
mov eax, dword [esp + 0x28]
lea eax, [eax - 1]
cmove eax, dword [esp + 0x28]
mov dword [esp + 0x28], eax
cmp ecx, 0x10
jge 0x4e4168
mov eax, dword [esp + 0x38]
mov ax, word [eax + 0x1e]
shr ax, cl
test al, 1
je 0x4e4164
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
call fcn.004e29d0
jmp 0x4e4339
mov ecx, dword [esp + 0x40]
cmp word [esp + 0x84], 0
je 0x4e4341
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
mov al, byte [ecx]
cmp al, 0xad
jne 0x4e4189
mov al, byte [ecx + 2]
cmp al, 0xae
jne 0x4e4192
mov eax, dword [ecx + 0x14]
jmp 0x4e419c
cmp al, 0x88
jne 0x4e41a7
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp eax, 1
jne 0x4e433d
mov eax, dword [esp + 0x78]
cmp byte [eax + 0x51], 0
jne 0x4e4256
mov eax, dword [esp + 0x28]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x44]
mov ecx, dword [eax + ecx*4 + 4]
test ecx, ecx
jns 0x4e41cb
mov ecx, dword [edi + 0x6c]
dec ecx
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4e41da
mov eax, 0x68632c
jmp 0x4e41e3
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 4]
movzx eax, byte [eax]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x60], eax
cmp dword [edi + 0x70], ecx
jg 0x4e421c
mov ecx, dword [esp + 0x2c]
push edx
push ecx
mov ecx, dword [esp + 0x1c]
mov edx, eax
push ecx
mov ecx, edi
call fcn.004959f0
add esp, 0xc
jmp 0x4e4256
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x60]
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [esi]
push 0
push 0x34
call fcn.00476a20
mov esi, eax
add esp, 8
test esi, esi
je 0x4e4335
push 0x34
push 0
push esi
call fcn.005cc450
or eax, 0xffffffff
mov byte [esi], 0x35
add esp, 0xc
mov word [esi + 0x22], ax
mov eax, dword [esp + 0x54]
mov edx, esi
push 0
mov ecx, dword [eax]
push 0
call fcn.004ac070
mov ecx, dword [esp + 0x5c]
add esp, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x4e42b6
push eax
push str.SCopy
push ecx
call fcn.00479ca0
add esp, 0xc
mov eax, dword [esp + 0x18]
mov edx, 0xad
mov ecx, dword [esp + 0x78]
push 0
mov dword [esp + 0x8c], 0
mov eax, dword [eax]
mov dword [esp + 0x90], 0
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
lea eax, [esp + 0x8c]
push eax
call fcn.004abf20
mov ecx, eax
add esp, 8
mov dword [esi + 0x10], ecx
test ecx, ecx
je 0x4e4323
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x40]
add edx, 2
add eax, edx
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x1c]
push 0x10
push dword [eax + 0x18]
mov eax, dword [esp + 0x5c]
push esi
push eax
call fcn.004b22e0
add esp, 0x10
mov ecx, dword [esp + 0x78]
mov edx, esi
mov dword [esi + 0xc], 0
call fcn.004ac4d0
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
sub ecx, 1
mov dword [esp + 0x40], ecx
jns 0x4e4110
jmp 0x4e3e26
test al, 5
setne cl
bt eax, 8
setb al
test al, cl
mov eax, dword [esp + 0x38]
je 0x4e443e
mov eax, dword [eax + 0x30]
mov eax, dword [eax]
inc dword [esi + 0x2c]
mov ecx, dword [esi + 0x2c]
push ecx
push dword [esp + 0x54]
mov dword [esp + 0x20], ecx
mov ecx, esi
push 0
push edx
mov edx, eax
mov dword [esp + 0x3c], eax
call fcn.004e2cf0
mov ecx, dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x14], eax
cmp eax, ecx
je 0x4e43bb
test ecx, ecx
je 0x4e43bb
mov dl, byte [esi + 0x13]
cmp dl, 8
jae 0x4e43bb
movzx eax, dl
mov dword [esi + eax*4 + 0x98], ecx
inc byte [esi + 0x13]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [edi + 0x6c]
mov esi, dword [edx + 0x10]
cmp dword [edi + 0x70], ecx
jg 0x4e43e5
push eax
push esi
push dword [esp + 0x3c]
mov edx, 0x1f
mov ecx, edi
call fcn.004959f0
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x4e4418
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x64]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x2c]
mov byte [edx + 0x35], 0xad
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [edx + 0x50]
and eax, dword [edx + 0x54]
or ecx, eax
jne 0x4e3e26
or word [esi + 0xa], 4
jmp 0x4e3e26
mov ecx, dword [eax + 0x24]
mov eax, ecx
and eax, 0x102
cmp eax, 0x102
jne 0x4e46c0
xor edx, edx
mov dword [esp + 0x5c], 0xad
mov dword [esp + 0x60], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], edx
test cl, 0x20
je 0x4e4493
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], 1
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
mov dword [esp + 0x18], edx
test cl, 0x10
je 0x4e44ac
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x28], ecx
jmp 0x4e44ae
xor ecx, ecx
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4e44c0
mov dword [esp + 0x28], edx
mov edx, ecx
mov dword [esp + 0x18], edx
test edx, edx
je 0x4e4599
mov edx, dword [edx]
mov dword [esp + 0x20], 0x18161719
mov dword [esp + 0x14], edx
mov ecx, dword [edx + 0x10]
call fcn.004ab8d0
test eax, eax
je 0x4e452c
mov al, byte [esi + 0x13]
test al, al
jne 0x4e44f1
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
jmp 0x4e4500
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x98]
mov edx, dword [edx + 0x10]
mov ecx, esi
push 1
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], eax
call fcn.004e37c0
mov ecx, dword [esp + 0x1c]
add esp, 8
movzx eax, byte [ecx]
inc eax
and eax, 2
or eax, 1
mov cl, byte [esp + eax + 0x20]
jmp 0x4e4562
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x74]
push eax
mov ecx, esi
call fcn.004b19b0
mov edx, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
call fcn.004e29d0
mov ecx, dword [esp + 0x14]
movzx eax, byte [ecx]
mov cl, byte [esp + eax - 0x16]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x18], eax
push dword [esp + 0x2c]
movzx edx, cl
mov ecx, edi
push dword [esp + 0x48]
push dword [esp + 0x3c]
call fcn.00495a30
mov ecx, dword [esp + 0x24]
add esp, 0xc
test ecx, ecx
je 0x4e45b9
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4e45b9
movzx eax, al
mov dword [esi + eax*4 + 0x98], ecx
inc byte [esi + 0x13]
jmp 0x4e45b9
push dword [esp + 0x2c]
xor edx, edx
mov ecx, edi
push dword [esp + 0x38]
test eax, eax
sete dl
lea edx, [edx*4 + 0x21]
call fcn.00495b60
add esp, 8
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4e4649
mov eax, dword [eax]
inc dword [esi + 0x2c]
mov ecx, dword [esi + 0x2c]
push 1
mov edx, dword [eax + 0x10]
mov dword [esp + 0x64], ecx
push ecx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.004e37c0
mov edx, dword [esp + 0x1c]
add esp, 8
mov eax, dword [edx + 0x10]
mov ecx, eax
mov dword [esp + 0x14], eax
call fcn.004ab8d0
test eax, eax
jne 0x4e461b
mov al, byte [edx]
cmp al, 0x38
je 0x4e4605
cmp al, 0x36
jne 0x4e461b
xor edx, edx
cmp dword [esp + 0x50], edx
sete dl
lea edx, [edx*2 + 0x37]
mov dword [esp + 0x5c], edx
jmp 0x4e462f
xor eax, eax
cmp dword [esp + 0x50], eax
setne al
lea eax, [eax*2 + 0x36]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x14]
call fcn.004ab8d0
test eax, eax
jne 0x4e4649
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
call fcn.004e29d0
cmp dword [esp + 0x50], 0
mov edx, dword [esp + 0x1c]
mov ecx, dword [edi + 0x6c]
sete al
add al, 4
cmp dword [esp + 0x5c], 0xad
mov byte [edx + 0x35], al
mov eax, dword [esp + 0x34]
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], ecx
je 0x4e3e26
inc dword [esi + 0x2c]
mov edx, 0x7f
mov esi, dword [esi + 0x2c]
mov ecx, edi
push esi
push eax
call fcn.00495b60
mov edx, dword [esp + 0x64]
mov ecx, edi
push esi
push dword [esp + 0x50]
push dword [esp + 0x70]
call fcn.00495a30
mov eax, dword [edi + 0x6c]
add esp, 0x14
test eax, eax
jle 0x4e3e26
lea ecx, [eax + eax*4]
mov edx, 0x53
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4e3e26
test ecx, 0x200
je 0x4e506d
mov eax, dword [esp + 0x38]
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x20], 0
movzx esi, word [eax + 0x18]
mov dword [esp + 0x3c], esi
movzx esi, word [eax + 0x1a]
mov dword [esp + 0x14], esi
movzx esi, si
mov dword [esp + 0x44], esi
movzx esi, word [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x68], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], esi
movzx esi, si
movzx eax, ax
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x54]
mov dword [esp + 0x2c], 0
mov byte [esp + 0x33], 0
mov byte [esp + 0x84], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x58], eax
mov dword [esp + 0x28], eax
test cl, 0x20
je 0x4e4776
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x28]
inc dword [esp + 0x28]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + edi*4]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x14]
movzx eax, ax
mov dword [esp + 0x20], eax
test cl, 0x10
je 0x4e483c
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x18]
movzx eax, ax
cmp ecx, eax
cmovbe ecx, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x20], ecx
mov ecx, 0x100
test word [eax + 0xa], cx
je 0x4e47fc
mov eax, dword [esi + 0x2c]
mov ecx, edi
inc eax
mov dword [esi + 0x2c], eax
push eax
mov dword [edx + 0x2c], eax
mov edx, 0x45
push 1
call fcn.00495b60
mov edx, dword [esp + 0x24]
xor ecx, ecx
mov eax, dword [edi + 0x6c]
add esp, 8
mov edi, dword [esp + 0x58]
shl dword [edx + 0x2c], 1
mov dword [edx + 0x30], eax
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x1c]
cmp byte [edi + eax], 1
mov edi, dword [esp + 0x64]
sete cl
xor ecx, dword [esp + 0x50]
or dword [edx + 0x2c], ecx
cmp dword [esp + 0x70], 0
jne 0x4e483c
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov eax, dword [eax + 4]
movsx ecx, word [eax + ecx*2]
mov dword [esp + 0x14], ecx
test ecx, ecx
js 0x4e4832
mov eax, dword [esp + 0x68]
lea ecx, [ecx + ecx*4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 4]
cmp byte [eax + ecx*4 + 0xc], 0
je 0x4e4837
mov ecx, dword [esp + 0x14]
cmp ecx, 0xfffffffe
jne 0x4e483c
mov byte [esp + 0x33], 1
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x24]
test al, 0x30
jne 0x4e488c
test eax, 0x80000
je 0x4e488c
inc dword [esi + 0x2c]
cmp dword [edx], 0
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x20], 1
mov byte [esp + 0x33], 1
mov dword [esp + 0x40], eax
mov dword [edx + 0x24], eax
je 0x4e4883
push eax
push 0
mov edx, 0x45
mov ecx, edi
call fcn.00495b60
mov edx, dword [esp + 0x24]
add esp, 8
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
mov dword [edx + 0x28], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
movzx eax, word [eax + 0x32]
mov dword [esp + 0x14], eax
cmp cx, ax
jae 0x4e48c6
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov edi, dword [esp + 0x58]
mov eax, dword [eax + 0x1c]
cmp byte [edi + eax], cl
mov edi, dword [esp + 0x64]
sete cl
cmp dword [esp + 0x50], ecx
je 0x4e48d2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x50], 0
je 0x4e490c
cmp ax, cx
jne 0x4e490c
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x70], eax
mov al, byte [esp + 0x33]
mov byte [esp + 0x84], al
mov eax, dword [esp + 0x44]
mov dword [esp + 0x6c], ecx
movzx ecx, di
mov edi, dword [esp + 0x64]
movzx eax, al
mov byte [esp + 0x33], 0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x60]
mov ecx, esi
push eax
push dword [esp + 0x24]
push dword [esp + 0x58]
call fcn.004e3210
mov ecx, dword [esp + 0x6c]
add esp, 0xc
mov dword [esp + 0x48], eax
test ecx, ecx
je 0x4e494b
cmp word [esp + 0x5c], 0
je 0x4e494b
mov edx, dword [esp + 0x58]
lea edx, [edx + ecx]
mov ecx, dword [esp + 0x78]
call fcn.00476c40
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
test edx, edx
je 0x4e4960
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x20], ecx
jmp 0x4e4967
mov eax, dword [eax + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4e497d
test byte [eax + 0xc], 0x28
mov dword [esp + 0x28], 0
je 0x4e4985
mov dword [esp + 0x28], 1
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x4e499b
test byte [ecx + 0xc], 0x28
mov dword [esp + 0x18], 0
je 0x4e49a3
mov dword [esp + 0x18], 1
test eax, eax
jne 0x4e49fb
cmp word [esp + 0x3c], ax
ja 0x4e49fb
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x74], eax
mov dword [esp + 0x3c], ecx
cmp byte [esp + 0x33], 0
je 0x4e4c51
mov eax, dword [esp + 0x48]
mov edx, 0x48
add eax, ecx
mov dword [esp + 0x28], 0
push eax
push 0
mov ecx, edi
call fcn.00495b60
mov eax, dword [esp + 0x44]
add esp, 8
inc eax
mov dword [esp + 0x74], 1
mov dword [esp + 0x3c], eax
jmp 0x4e4b00
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x74], 1
mov dword [esp + 0x3c], ecx
test eax, eax
je 0x4e49ba
mov eax, dword [eax]
mov edx, dword [esp + 0x44]
add ecx, dword [esp + 0x48]
movzx edx, dx
mov eax, dword [eax + 0x10]
push edx
mov dword [esp + 0x94], ecx
mov edx, eax
push ecx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.004e37c0
mov eax, dword [esp + 0x78]
mov ecx, 0x100
mov edi, dword [esp + 0x6c]
add esp, 8
test word [eax + 0xa], cx
je 0x4e4a7f
mov eax, dword [edi]
mov ecx, dword [edi + 0x6c]
dec ecx
cmp byte [eax + 0x51], 0
je 0x4e4a5e
mov edx, 0x68632c
jmp 0x4e4a67
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x2c]
shr eax, 1
mov dword [edx + 0xc], eax
mov al, byte [ecx + 0x2c]
and al, 1
movzx eax, al
mov word [edx + 2], ax
mov ecx, dword [esp + 0x14]
call fcn.004adad0
test eax, eax
je 0x4e4aa6
push dword [esp + 0x20]
mov edx, 0x32
mov ecx, edi
push dword [esp + 0x94]
call fcn.00495b60
add esp, 8
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x4e4ac8
mov eax, dword [esp + 0x58]
add eax, ecx
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x48]
movzx edx, ax
call fcn.004e2a90
add esp, 4
mov ecx, dword [esp + 0x44]
movzx eax, cx
mov ecx, dword [esp + 0x14]
add dword [esp + 0x3c], eax
call fcn.004ab8d0
test eax, eax
jne 0x4e4aef
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x1c]
call fcn.004e29d0
jmp 0x4e4af7
mov dword [esp + 0x28], 1
mov byte [esp + 0x33], 0
mov eax, dword [esp + 0x3c]
movzx ecx, byte [esp + 0x33]
push dword [esp + 0x60]
mov edx, dword [esp + 0x4c]
sub eax, ecx
mov dword [esp + 0x94], ecx
mov ecx, esi
push eax
call fcn.004e2a40
mov ecx, dword [esp + 0x40]
add esp, 8
movzx eax, word [ecx + 0x2a]
test ax, ax
je 0x4e4b38
cmp dword [esp + 0x3c], eax
je 0x4e4bf5
test dword [ecx + 0x24], 0x40000
je 0x4e4b54
push dword [esp + 0x24]
mov edx, 0x76
mov ecx, edi
call fcn.00495b00
add esp, 4
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4e4b6e
push eax
push 1
mov edx, 0x45
mov ecx, edi
call fcn.00495b60
add esp, 8
mov ecx, dword [esp + 0x28]
push dword [esp + 0x3c]
mov eax, dword [esp + 0x78]
push dword [esp + 0x4c]
push dword [esp + 0x28]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x5c]
push dword [esp + 0x30]
movzx edx, byte [ecx + eax*2 + 0x65f7ec]
mov ecx, edi
call fcn.004960f0
mov eax, dword [esp + 0x50]
add esp, 0x10
test eax, eax
je 0x4e4bf9
mov eax, dword [edi + 0x6c]
mov edx, 0xb
add eax, 2
mov ecx, edi
push eax
push 0
call fcn.00495b60
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x58]
push eax
push dword [esp + 0x54]
mov eax, 1
cmp eax, dword [esp + 0x4c]
push dword [esp + 0x30]
sbb eax, eax
push dword [esp + 0x38]
and eax, 4
movzx edx, byte [eax + ecx + 0x65f7ee]
mov ecx, edi
call fcn.004960f0
add esp, 0x18
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x4e4d33
mov eax, dword [ecx]
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x5c]
movzx edx, ax
mov eax, dword [esp + 0x58]
add eax, dword [esp + 0x48]
push edx
mov dword [esp + 0x18], ecx
mov edx, ecx
push eax
mov ecx, esi
mov dword [esp + 0x7c], eax
call fcn.004e37c0
mov eax, dword [esp + 0x74]
mov ecx, 0x100
add esp, 8
test word [eax + 0xa], cx
je 0x4e4ca8
mov eax, dword [edi]
mov ecx, dword [edi + 0x6c]
dec ecx
cmp byte [eax + 0x51], 0
je 0x4e4c87
mov edx, 0x68632c
jmp 0x4e4c90
test edx, edx
je 0x4e4afc
mov eax, dword [esp + 0x48]
mov edx, 0x48
add eax, ecx
mov ecx, edi
push eax
push 0
call fcn.00495b60
mov eax, dword [esp + 0x44]
add esp, 8
inc eax
mov dword [esp + 0x74], 1
mov dword [esp + 0x3c], eax
jmp 0x4e4b00
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x2c]
shr eax, 1
mov dword [edx + 0xc], eax
mov al, byte [ecx + 0x2c]
and al, 1
movzx eax, al
mov word [edx + 2], ax
mov ecx, dword [esp + 0x14]
call fcn.004adad0
test eax, eax
je 0x4e4ccc
push dword [esp + 0x20]
mov edx, 0x32
mov ecx, edi
push dword [esp + 0x78]
call fcn.00495b60
add esp, 8
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4e4d02
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x60]
movzx edx, ax
call fcn.004e2a90
mov ecx, dword [esp + 0x60]
add esp, 4
mov edx, dword [esp + 0x74]
movzx eax, cx
mov ecx, esi
push dword [esp + 0x2c]
push eax
call fcn.004e2a40
add esp, 8
mov ecx, dword [esp + 0x5c]
movzx eax, cx
mov ecx, dword [esp + 0x14]
add dword [esp + 0x58], eax
call fcn.004ab8d0
test eax, eax
jne 0x4e4d29
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x1c]
call fcn.004e29d0
jmp 0x4e4d67
mov dword [esp + 0x18], 1
jmp 0x4e4d67
cmp byte [esp + 0x84], 0
je 0x4e4d67
test eax, eax
jne 0x4e4d63
mov eax, dword [esp + 0x58]
mov edx, 0x48
add eax, dword [esp + 0x48]
mov ecx, edi
push eax
push 0
call fcn.00495b60
add esp, 8
mov dword [esp + 0x18], 0
inc dword [esp + 0x58]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4e4d7a
mov ecx, dword [esp + 0x78]
mov edx, eax
call fcn.00476790
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4e4d8d
mov ecx, dword [esp + 0x78]
mov edx, eax
call fcn.00476790
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0x6c]
mov dword [ecx + 0x3c], eax
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4e4de9
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4e4dc2
mov eax, dword [edi + 0x6c]
mov edx, 0x14
add eax, 3
push eax
push ecx
mov ecx, edi
call fcn.00495b60
mov eax, dword [esp + 0x60]
add esp, 8
mov ecx, dword [esp + 0x18]
push eax
push dword [esp + 0x4c]
mov eax, dword [esp + 0x58]
push dword [esp + 0x28]
push dword [esp + 0x30]
movzx edx, byte [ecx + eax*2 + 0x663de4]
mov ecx, edi
call fcn.004960f0
add esp, 0x10
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4e4e35
mov eax, dword [edi + 0x6c]
mov edx, 0x12
add eax, 2
push eax
push ecx
mov ecx, edi
call fcn.00495b60
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x60]
add eax, ecx
push eax
push dword [esp + 0x54]
mov eax, dword [esp + 0x60]
push dword [esp + 0x30]
push dword [esp + 0x38]
movzx edx, byte [ecx + eax*2 + 0x663de4]
mov ecx, edi
call fcn.004960f0
add esp, 0x18
mov edx, dword [esp + 0x38]
test dword [edx + 0x24], 0x40000
je 0x4e4e5b
push 1
push dword [esp + 0x28]
mov edx, 0x76
mov ecx, edi
call fcn.00495b60
mov edx, dword [esp + 0x40]
add esp, 8
test byte [edx + 0x24], 0x40
je 0x4e4e7c
mov ecx, dword [esp + 0x4c]
test byte [ecx + 0x28], 0x20
jne 0x4e4e7c
mov edx, dword [esp + 0x34]
mov dword [esp + 0x60], 1
jmp 0x4e4fd6
mov eax, dword [esp + 0x68]
mov dword [esp + 0x60], 0
mov ecx, dword [eax + 0xc]
test byte [ecx + 0x24], 0x80
jne 0x4e4f08
mov ecx, dword [esp + 0x4c]
movzx eax, word [ecx + 0x28]
test eax, 0x400
jne 0x4e4ed6
test eax, 0x1000
je 0x4e4eb4
cmp byte [ecx + 0x2e], 1
je 0x4e4ed6
cmp word [edx + 0x28], 0
je 0x4e4ed6
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x68]
push esi
push dword [esp + 0x38]
call fcn.004e3630
mov ecx, dword [esp + 0x54]
add esp, 8
mov edx, dword [esp + 0x34]
jmp 0x4e4fda
inc dword [esi + 0x2c]
mov edx, 0x86
mov esi, dword [esi + 0x2c]
mov ecx, edi
push esi
push dword [esp + 0x28]
call fcn.00495b60
push esi
push 0
push dword [esp + 0x44]
mov edx, 0x20
mov ecx, edi
call fcn.00495a30
add esp, 0x14
jmp 0x4e4fce
mov edx, dword [esp + 0x34]
cmp edx, dword [esp + 0x24]
je 0x4e4fd2
call fcn.004b94b0
mov ecx, esi
mov dword [esp + 0x18], eax
movzx edx, word [eax + 0x32]
call fcn.004b3580
mov dword [esp + 0x2c], eax
xor esi, esi
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x14], esi
cmp cx, word [eax + 0x32]
jae 0x4e4fab
mov edx, dword [esp + 0x68]
xor ecx, ecx
movzx edx, word [edx + 0x34]
test edx, edx
jle 0x4e4f75
mov eax, dword [eax + 4]
movzx esi, word [eax + esi*2]
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 4]
nop dword [eax]
cmp si, word [eax]
je 0x4e5029
inc ecx
add eax, 2
cmp ecx, edx
jl 0x4e4f60
mov esi, dword [esp + 0x14]
or ecx, 0xffffffff
mov eax, dword [esp + 0x2c]
mov edx, 0x59
add eax, esi
push eax
movsx eax, cx
mov ecx, edi
push eax
push dword [esp + 0x2c]
call fcn.00495a30
mov eax, dword [esp + 0x24]
inc esi
add esp, 0xc
mov dword [esp + 0x14], esi
movzx eax, word [eax + 0x32]
cmp esi, eax
mov eax, dword [esp + 0x18]
jl 0x4e4f40
movzx eax, word [eax + 0x32]
mov edx, 0x1d
push eax
push dword [esp + 0x30]
mov ecx, edi
push dword [esp + 0xa4]
push dword [esp + 0x40]
call fcn.004960f0
add esp, 0x10
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
cmp dword [eax], 0
jne 0x4e5012
test byte [ecx + 0x28], 0x20
jne 0x4e4ff7
push ecx
mov ecx, dword [esp + 0x6c]
push esi
call fcn.004e39a0
add esp, 8
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x4e5012
push dword [esp + 0x7c]
mov edx, dword [esp + 0x38]
call fcn.004e3b30
add esp, 4
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
test dword [ecx + 0x24], 0x1000
je 0x4e5035
mov byte [edx + 0x35], 0xad
jmp 0x4e5042
mov esi, dword [esp + 0x14]
movzx ecx, cx
jmp 0x4e4f78
cmp dword [esp + 0x50], 0
sete al
add al, 4
mov byte [edx + 0x35], al
mov dword [edx + 0x38], esi
mov al, byte [ecx + 0x26]
and al, 1
mov byte [edx + 0x36], al
test byte [ecx + 0x24], 0xf
jne 0x4e5057
mov byte [edx + 0x37], 1
cmp dword [esp + 0x60], 0
je 0x4e5980
xor eax, eax
mov dword [esp + 0x68], eax
jmp 0x4e3e28
test ecx, 0x2000
je 0x4e592f
mov eax, dword [esi + 0x28]
inc dword [esi + 0x2c]
dec dword [esi + 0x38]
mov dword [esp + 0x58], eax
inc eax
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x38]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x60], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x5c], 0
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x40], 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 + 0x70]
mov byte [edx + 0x35], 0x41
mov dword [edx + 0x38], eax
mov edx, dword [esp + 0x4c]
mov al, byte [edx + 0x2c]
cmp al, 1
jbe 0x4e5233
mov ecx, dword [esp + 0x78]
movzx eax, al
sub eax, dword [ebp + 0xc]
dec eax
mov dword [esp + 0x90], eax
push 0
lea eax, [eax + eax*8]
lea eax, [eax*8 + 0x50]
push eax
test ecx, ecx
je 0x4e512c
call fcn.00476a20
mov ecx, eax
mov dword [esp + 0x44], ecx
jmp 0x4e5137
call fcn.00476590
mov ecx, eax
mov dword [esp + 0x44], eax
add esp, 8
test ecx, ecx
jne 0x4e5158
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.005b3650
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x90]
lea eax, [edx + 1]
movzx eax, al
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov eax, dword [esp + 0x80]
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 + 0x4c]
movq qword [ecx + 0x48], xmm0
mov eax, dword [eax + 4]
cmp edx, 1
jl 0x4e51fd
mov edi, dword [esp + 0x1c]
add ecx, 0x50
add edi, 0x8c
mov esi, eax
movzx eax, byte [edi]
lea edi, [edi + 0x58]
lea ecx, [ecx + 0x48]
lea eax, [eax + eax*8]
movups xmm0, xmmword [esi + eax*8 + 8]
movups xmmword [ecx - 0x48], xmm0
movups xmm0, xmmword [esi + eax*8 + 0x18]
movups xmmword [ecx - 0x38], xmm0
movups xmm0, xmmword [esi + eax*8 + 0x28]
movups xmmword [ecx - 0x28], xmm0
movups xmm0, xmmword [esi + eax*8 + 0x38]
movups xmmword [ecx - 0x18], xmm0
movq xmm0, qword [esi + eax*8 + 0x48]
movq qword [ecx - 8], xmm0
sub edx, 1
jne 0x4e51b5
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x4c]
test byte [eax + 0x28], 0x10
jne 0x4e5292
test byte [ecx + 0x24], 0x80
jne 0x4e523c
inc dword [esi + 0x2c]
mov edx, 0x48
mov eax, dword [esi + 0x2c]
mov ecx, edi
push eax
push 0
mov dword [esp + 0x30], eax
call fcn.00495b60
add esp, 8
jmp 0x4e5288
mov eax, dword [edx + 4]
mov dword [esp + 0x3c], eax
jmp 0x4e5201
mov ecx, dword [ecx + 8]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x4e525b
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4e5257
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4e5247
mov dword [esp + 0x14], ecx
mov edx, dword [esi + 0x28]
mov dword [esp + 0x28], edx
lea eax, [edx + 1]
mov dword [esi + 0x28], eax
movzx eax, word [ecx + 0x32]
mov ecx, edi
push eax
push edx
mov edx, 0x64
call fcn.00495b60
mov edx, dword [esp + 0x1c]
add esp, 8
mov ecx, esi
call fcn.004969b0
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x5c], eax
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x50], edx
cmp dword [edi + 0x70], edx
jg 0x4e52bb
push 0
push dword [esp + 0x74]
mov edx, 0x45
mov ecx, edi
push 0
call fcn.004959f0
add esp, 0xc
mov dword [esp + 0x50], eax
jmp 0x4e52ee
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edx, dword [esp + 0x70]
mov dword [eax + ecx*4], 0x45
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 + 0x7c]
mov eax, dword [edx + 0xc]
cmp eax, 1
jle 0x4e53f6
test eax, eax
jle 0x4e53f6
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x14], ecx
nop
mov eax, dword [edx + 0x14]
mov edx, dword [eax + ecx]
add eax, ecx
cmp eax, dword [esp + 0x38]
je 0x4e5364
test byte [eax + 0xa], 6
jne 0x4e5364
mov esi, 0x1fff
test word [eax + 0xc], si
mov esi, dword [esp + 0x54]
je 0x4e5364
test edx, edx
je 0x4e5349
mov ecx, dword [esp + 0x78]
push 0
push 0
call fcn.004ac6d0
add esp, 8
jmp 0x4e534b
xor eax, eax
mov edx, dword [esp + 0x48]
mov ecx, esi
push eax
call fcn.004ac1f0
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x48], eax
jmp 0x4e5368
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x7c]
inc edi
add ecx, 0x30
mov dword [esp + 0x14], ecx
cmp edi, dword [edx + 0xc]
jl 0x4e5310
mov edi, dword [esp + 0x64]
test eax, eax
je 0x4e53f6
mov ecx, dword [esi]
push 0
push 0x34
call fcn.00476a20
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x4e53e3
push 0x34
push 0
push eax
call fcn.005cc450
mov eax, dword [esp + 0x24]
add esp, 0xc
or ecx, 0xffffffff
mov edx, eax
push dword [esp + 0x48]
mov byte [eax], 0x2c
mov word [eax + 0x22], cx
mov ecx, dword [esi]
push 0
call fcn.004ac070
mov eax, dword [esi]
add esp, 8
mov ecx, dword [eax + 0x78]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x18], ecx
jle 0x4e53f2
push ecx
push str.SCopy
push esi
call fcn.00479ca0
add esp, 0xc
jmp 0x4e53ee
mov edx, dword [esp + 0x48]
mov ecx, dword [esi]
call fcn.004ac4d0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x4c]
mov ecx, 0x400
push 0x66ca74
push 1
push esi
mov ax, word [eax + 0x28]
and ax, cx
or ax, 0x20
movzx eax, ax
mov dword [esp + 0x9c], eax
call fcn.00495f80
mov ecx, dword [esp + 0x38]
xor eax, eax
add esp, 0xc
mov dword [esp + 0x6c], eax
cmp dword [ecx + 0xc], eax
jle 0x4e57ed
mov edx, dword [esp + 0x34]
nop dword [eax + eax]
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [ecx + 0x14]
cmp dword [eax + 0x14], edx
je 0x4e5461
mov edi, 0x400
test word [eax + 0xc], di
mov edi, dword [esp + 0x64]
je 0x4e57db
mov eax, dword [eax]
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x4e547c
mov dword [ecx + 0xc], eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x6c]
inc eax
push eax
push 0x66ca84
push 1
push esi
call fcn.00495f80
push dword [esp + 0x68]
mov edx, dword [esp + 0x50]
mov ecx, esi
push dword [esp + 0xa4]
push 0
push 0
push dword [esp + 0x38]
call fcn.004ed370
add esp, 0x24
mov dword [esp + 0x88], eax
test eax, eax
je 0x4e57d3
mov edx, dword [esp + 0x3c]
lea ecx, [eax + 0x2f0]
push 0
push ecx
mov ecx, esi
call fcn.004e26d0
mov eax, dword [esp + 0x54]
add esp, 8
test byte [eax + 0x28], 0x10
jne 0x4e56b0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x6c]
mov eax, dword [eax + 0xc]
dec eax
cmp ecx, eax
mov eax, 0xffffffff
cmove ecx, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], ecx
test byte [eax + 0x24], 0x80
jne 0x4e5543
mov edx, dword [esp + 0x5c]
mov ecx, edi
push edx
push dword [esp + 0x38]
mov edx, 0x7f
call fcn.00495b60
push dword [esp + 0x20]
mov edx, 0x2d
mov ecx, edi
push dword [esp + 0x68]
push 0
push dword [esp + 0x3c]
call fcn.004960f0
add esp, 0x18
mov dword [esp + 0x14], eax
jmp 0x4e56b0
mov ecx, eax
call fcn.004b94b0
mov ecx, esi
mov dword [esp + 0x98], eax
movzx edx, word [eax + 0x32]
mov dword [esp + 0x44], edx
call fcn.004b3580
mov dword [esp + 0x20], eax
mov dword [esp + 0x84], 0
test edx, edx
je 0x4e55b6
mov esi, dword [esp + 0x84]
nop word [eax + eax]
mov edx, dword [esp + 0x40]
lea ecx, [esi + eax]
mov eax, dword [esp + 0x98]
push ecx
mov ecx, edi
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push dword [esp + 0x3c]
call fcn.004b03b0
mov edx, dword [esp + 0x50]
inc esi
mov eax, dword [esp + 0x2c]
add esp, 0xc
cmp esi, edx
jl 0x4e5580
mov esi, dword [esp + 0x54]
cmp dword [esp + 0x18], 0
je 0x4e55e3
push edx
push eax
push 0
push dword [esp + 0x34]
mov edx, 0x1e
mov ecx, edi
call fcn.004960f0
add esp, 0x10
mov dword [esp + 0x14], eax
cmp dword [esp + 0x18], 0
jl 0x4e567a
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e560a
push dword [esp + 0x5c]
mov edx, dword [esp + 0x48]
mov ecx, edi
push edx
mov edx, dword [esp + 0x28]
push edx
mov edx, 0x5b
call fcn.004959f0
add esp, 0xc
jmp 0x4e563d
mov edx, dword [esp + 0x20]
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 + 0x44]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4], 0x5b
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x44]
mov edx, 0x82
mov ecx, edi
push dword [esp + 0x24]
push dword [esp + 0x64]
push dword [esp + 0x34]
call fcn.004960f0
add esp, 0x10
cmp dword [esp + 0x18], 0
je 0x4e567a
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x4e567a
lea ecx, [eax + eax*4]
mov edx, 0x10
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esp + 0x44]
cmp eax, 1
jne 0x4e56a1
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4e56b0
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4e56b0
movzx eax, al
mov dword [esi + eax*4 + 0x98], ecx
inc byte [esi + 0x13]
jmp 0x4e56b0
cmp eax, dword [esi + 0x1c]
jle 0x4e56b0
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x20], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e56d3
push 0
push dword [esp + 0x78]
mov edx, 0xc
mov ecx, edi
push dword [esp + 0x78]
call fcn.004959f0
add esp, 0xc
jmp 0x4e5706
mov edx, dword [esp + 0x70]
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 + 0x74]
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 + 0x14]
test ecx, ecx
je 0x4e5731
mov edx, dword [edi + 0x6c]
jns 0x4e5716
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4e5725
mov eax, 0x68632c
jmp 0x4e572e
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 + 0x24]
test byte [edx + 0x30], 2
cmovne eax, ecx
mov ecx, dword [edx + 0x338]
mov dword [esp + 0x24], eax
test dword [ecx + 0x24], 0x200
je 0x4e578a
cmp dword [esp + 0x6c], 0
je 0x4e576b
mov eax, dword [esp + 0x60]
cmp dword [ecx + 0x20], eax
jne 0x4e578a
mov eax, dword [esp + 0x40]
test byte [eax + 0x24], 0x80
je 0x4e5781
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0x38]
and al, 3
cmp al, 2
je 0x4e578a
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x60], eax
jmp 0x4e5792
mov dword [esp + 0x60], 0
mov ecx, edx
call fcn.004ede70
mov ecx, dword [esi + 0xd8]
test ecx, ecx
jne 0x4e57a7
xor eax, eax
jmp 0x4e57cd
mov edx, dword [esi + 8]
test ecx, ecx
jns 0x4e57b2
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x4e57c1
mov eax, 0x68632c
jmp 0x4e57ca
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [esi + 0xd8], eax
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x6c]
inc eax
mov dword [esp + 0x6c], eax
cmp eax, dword [ecx + 0xc]
jl 0x4e5440
mov ecx, dword [esi + 0xd8]
test ecx, ecx
jne 0x4e57fb
xor eax, eax
jmp 0x4e5821
mov edx, dword [esi + 8]
test ecx, ecx
jns 0x4e5806
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x4e5815
mov eax, 0x68632c
jmp 0x4e581e
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [esi + 0xd8], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x60]
mov dword [esi + 0x40], eax
test eax, eax
je 0x4e583d
mov eax, dword [esp + 0x58]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4e5857
mov ecx, dword [esp + 0x78]
mov edx, eax
mov dword [eax + 0xc], 0
call fcn.004ac4d0
mov ecx, dword [esp + 0x50]
mov edx, dword [edi + 0x6c]
test ecx, ecx
jns 0x4e5865
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4e5874
mov eax, 0x68632c
jmp 0x4e587d
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 0x4e58a1
push 0
push edx
push 0
mov edx, 0xb
mov ecx, edi
call fcn.004959f0
add esp, 0xc
jmp 0x4e58d0
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 + 0x74]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4e58ee
push edx
mov edx, edi
call fcn.004961f0
add esp, 4
jmp 0x4e58f7
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x4c]
cmp byte [eax + 0x2c], 1
jbe 0x4e5914
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4e5914
mov ecx, dword [esp + 0x78]
mov edx, eax
call fcn.00476790
cmp dword [esp + 0x24], 0
jne 0x4e3e26
mov edx, dword [esp + 0x38]
mov ecx, esi
call fcn.004e29d0
jmp 0x4e3e26
mov eax, dword [esp + 0x80]
test byte [eax + 0x28], 0x20
je 0x4e5945
mov byte [edx + 0x35], 0xad
jmp 0x4e3e26
mov ecx, dword [esp + 0x50]
push dword [esp + 0x2c]
mov al, byte [ecx + 0x660848]
mov byte [edx + 0x35], al
mov eax, dword [esp + 0x38]
mov dword [edx + 0x38], eax
movzx edx, byte [ecx + 0x660df4]
mov ecx, edi
push eax
call fcn.00495b60
mov ecx, dword [esp + 0x24]
add esp, 8
inc eax
mov dword [ecx + 0x3c], eax
mov byte [ecx + 0x37], 1
jmp 0x4e3e26
mov eax, dword [esp + 0x68]
jmp 0x4e3e28
mov eax, dword [esp + 0x80]
mov ecx, dword [edx]
mov dword [esp + 0x98], ecx
test byte [eax + 0x24], 8
je 0x4e59a9
test byte [ecx + 4], 1
je 0x4e5b15
mov eax, dword [esp + 0x2c]
cmp eax, 1
jne 0x4e5a26
mov eax, dword [esp + 0x1c]
xorps xmm0, xmm0
movaps xmmword [esp + 0xa0], xmm0
movq qword [esp + 0xb0], xmm0
mov dword [esp + 0xa4], 0x4b23f0
mov eax, dword [eax + 4]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x90]
mov dword [esp + 0xb8], eax
test ecx, ecx
je 0x4e5a0e
mov edx, ecx
lea ecx, [esp + 0xa0]
call fcn.004a8aa0
mov edx, dword [esp + 0x14]
cmp word [esp + 0xb4], si
je 0x4e5a2b
mov ecx, 2
mov dword [esp + 0x20], ecx
jmp 0x4e5b19
cmp eax, 3
jge 0x4e5a50
movzx eax, word [edx + 0xa]
test eax, 0x1000
je 0x4e5a57
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x4e5b19
mov ecx, 3
mov dword [esp + 0x20], ecx
jmp 0x4e5b19
mov eax, dword [esp + 0x88]
test eax, 0x200
je 0x4e5ac9
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x4e5ac9
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 0x4e5a9b
push 0
push 0
push edx
mov edx, eax
mov ecx, edi
call fcn.004959f0
add esp, 0xc
mov esi, eax
jmp 0x4e5ac9
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 + 0xa0]
push dword [esp + 0xa0]
push dword [esp + 0x60]
call fcn.004b22e0
add esp, 0x10
test esi, esi
je 0x4e5b0c
mov edx, dword [edi + 0x6c]
jns 0x4e5af1
lea esi, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4e5b00
mov eax, 0x68632c
jmp 0x4e5b09
mov eax, dword [edi + 0x68]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x14]
or word [edx + 0xa], 4
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
add edx, 0x30
dec eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
test eax, eax
jg 0x4e3e53
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x2c], ecx
test ecx, ecx
jg 0x4e3e37
mov edx, dword [esi + 0x14]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x44], edx
mov dword [esp + 0x28], esi
test esi, esi
jle 0x4e5cb7
nop word [eax + eax]
test byte [edx + 0xa], 6
jne 0x4e5c9f
movzx eax, word [edx + 0xc]
mov edi, 0xb
test al, 0x82
setne cl
bt ax, di
mov edi, dword [esp + 0x54]
setb al
test al, cl
je 0x4e5c9f
mov ecx, dword [esp + 0x34]
cmp dword [edx + 0x14], ecx
jne 0x4e5c9f
mov eax, dword [esp + 0x80]
test byte [eax + 0x24], 8
jne 0x4e5c9f
mov eax, dword [edx]
xor esi, esi
push esi
push 0x83
push dword [edx + 0x1c]
mov edx, dword [esp + 0x88]
push ecx
lea ecx, [esp + 0xf8]
mov dword [esp + 0xa8], eax
call fcn.004e8490
mov edx, eax
add esp, 0x10
test edx, edx
je 0x4e5c15
nop word [eax + 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 0x4e5c03
mov eax, dword [edx + 0x20]
or eax, dword [edx + 0x24]
jne 0x4e5bfe
test byte [edx + 0xc], 0x82
jne 0x4e5c17
test esi, esi
cmove esi, edx
lea ecx, [esp + 0xe8]
call fcn.004e81c0
mov edx, eax
test edx, edx
jne 0x4e5be0
mov edx, esi
test edx, edx
je 0x4e5c97
test byte [edx + 0xa], 4
jne 0x4e5c97
test byte [edx + 0xc], 1
je 0x4e5c3d
mov eax, dword [edx]
test dword [eax + 4], 0x800
je 0x4e5c3d
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
jg 0x4e5c97
mov eax, dword [edx]
push 0x10
push dword [esp + 0xa0]
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 + 0xa0]
mov eax, dword [eax + 0xc]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xa8]
push eax
push edi
call fcn.004b22e0
add esp, 0x10
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
dec esi
add edx, 0x30
mov dword [esp + 0x28], esi
mov dword [esp + 0x44], edx
test esi, esi
jg 0x4e5b60
mov edi, dword [esp + 0x64]
mov edx, dword [esp + 0x1c]
mov esi, dword [edx]
test esi, esi
je 0x4e5d73
mov eax, dword [edi + 0x6c]
mov dword [edx + 0x1c], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e5ced
push 0
push esi
push 1
mov edx, 0x45
mov ecx, edi
call fcn.004959f0
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x4e5d1c
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x45
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 + 0x7c]
xor edi, edi
mov esi, dword [eax + 0x14]
cmp dword [eax + 0xc], edi
jle 0x4e5d73
nop word [eax + eax]
test byte [esi + 0xa], 6
jne 0x4e5d62
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [edx + 0x50]
and eax, dword [edx + 0x54]
or ecx, eax
jne 0x4e5d62
push 0x10
push dword [esp + 0xa0]
push dword [esi]
push dword [esp + 0x60]
call fcn.004b22e0
add esp, 0x10
or word [esi + 0xa], 4
mov edx, dword [esp + 0x7c]
inc edi
add esi, 0x30
cmp edi, dword [edx + 0xc]
mov edx, dword [esp + 0x1c]
jl 0x4e5d30
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, dword [ecx + 0x50]
mov edx, dword [ecx + 0x54]
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.005b3650
mov esp, ebp
pop ebp
ret