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

Disassembly:
sub esp, 0x74
push ebp
mov ebp, ecx
push edi
xor edi, edi
cmp dword [ebp + 0x40], edi
jne 0x4c97b7
push ebx
push esi
push 0x5d26b4
call fcn.004ca0c0
mov ebx, eax
xor eax, eax
cmp ebx, edi
push 0x5ca4bc
setl al
mov ecx, ebp
mov dword [esp + 0x84], ebx
mov dword [esp + 0x3c], eax
call fcn.004ca0c0
xor ecx, ecx
push 0x5d26ac
test eax, eax
setl cl
mov dword [esp + 0x58], ecx
mov ecx, ebp
call fcn.004ca0c0
xor edx, edx
push 0x5d2694
test eax, eax
setl dl
mov ecx, ebp
mov dword [esp + 0x5c], edx
call fcn.004ca0c0
mov edx, dword [ebp + 0x24]
xor ecx, ecx
test eax, eax
setl cl
inc edx
push 0x10
push edx
mov dword [esp + 0x64], ecx
call fcn.004c6580
add esp, 8
mov ecx, ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], edi
push 0x5d2654
call fcn.004ca0c0
mov ecx, dword [ebp + 0x14]
lea eax, [eax + eax*4]
mov eax, dword [ecx + eax*4 + 8]
mov ecx, dword [ebp + 0x24]
cmp ecx, edi
mov dword [esp + 0x20], 1
jl 0x4c876f
mov edx, dword [esp + 0x28]
mov dword [esp + 0x60], eax
mov ebx, eax
lea esi, [edx + 4]
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x4c870a
lea eax, [esp + 0x20]
mov ecx, ebp
push eax
push ebx
call fcn.004ea1b0
jmp 0x4c871d
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x20]
push ecx
push edx
mov ecx, ebp
call fcn.004ea170
shl eax, 1
test edi, edi
mov dword [esi], eax
jle 0x4c874c
mov edx, dword [esi - 0x10]
mov ecx, eax
cmp ecx, edx
jge 0x4c8734
mov dword [esp + 0x18], 1
mov eax, ecx
sub eax, edx
test eax, eax
jle 0x4c874c
cmp eax, 0xc
jge 0x4c874c
mov dword [esi - 0x10], ecx
mov dword [esp + 0x18], 1
mov edx, dword [esp + 0x60]
mov dword [esi - 4], edi
mov eax, dword [ebp + 0x24]
inc edi
add ebx, 4
add edx, 2
add esi, 0x10
cmp edi, eax
mov dword [esp + 0x60], edx
jle 0x4c86f4
mov ebx, dword [esp + 0x80]
mov ecx, dword [ebp + 0x18]
mov edi, dword [esp + 0x28]
xor edx, edx
xor esi, esi
cmp ecx, edx
mov dword [esp + 0x1c], esi
jle 0x4c8797
mov eax, dword [ebp + 0x14]
add eax, 0x10
cmp dword [eax], edx
jne 0x4c878d
inc esi
add eax, 0x14
dec ecx
jne 0x4c8788
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x38]
mov dword [esp + 0x64], edx
cmp eax, edx
mov dword [esp + 0x74], edx
jne 0x4c87fd
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
add eax, edx
mov edx, dword [ebp + 0x20]
cmp edx, 1
jle 0x4c87db
add ecx, 0x1c
lea esi, [edx - 1]
mov edx, dword [ecx + 4]
mov edi, dword [ecx]
add edx, edi
cmp edx, eax
jle 0x4c87cd
mov eax, edx
add ecx, 0x14
dec esi
jne 0x4c87c0
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
mov edx, dword [ebp + 0x14]
lea ecx, [ebx + ebx*4]
mov ebx, dword [edx + ecx*4 + 8]
lea ecx, [edx + ecx*4]
sub eax, ebx
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x74], eax
cmp eax, edx
jle 0x4c87fd
mov dword [esp + 0x64], 1
push 0x5d2664
mov ecx, ebp
call fcn.004ca0c0
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [eax + edx*4 + 8]
add ecx, 0x22
push ecx
mov ecx, ebp
call fcn.004ea170
mov ecx, dword [ebp + 0x24]
xor edx, edx
cmp eax, ecx
mov dword [esp + 0x70], eax
setl dl
mov eax, edx
mov edx, dword [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x3c], eax
cmp edx, ebx
jne 0x4c88a6
cmp dword [esp + 0x54], ebx
jne 0x4c88a6
cmp dword [esp + 0x58], ebx
jne 0x4c88a6
cmp dword [esp + 0x5c], ebx
jne 0x4c88a6
cmp dword [esp + 0x18], ebx
jne 0x4c88a6
cmp dword [esp + 0x64], ebx
jne 0x4c88a6
cmp eax, ebx
jne 0x4c88a6
cmp esi, ebx
jne 0x4c88a6
cmp dword [esp + 0x90], ebx
jne 0x4c88a6
cmp dword [esp + 0x94], ebx
jne 0x4c88a6
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x8c]
push eax
push ecx
push edx
call dword [esp + 0x94]
add esp, 0xc
push edi
call fcn.004c66b0
add esp, 4
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x74
ret 0x10
mov eax, dword [esp + 0x18]
mov dword [esp + 0x78], ebx
cmp eax, ebx
je 0x4c893e
push 0x4c97c0
inc ecx
push 0x10
push ecx
push edi
call fcn.005032a1
mov eax, dword [ebp + 0x24]
add esp, 0x10
xor ecx, ecx
cmp eax, ebx
jle 0x4c88e9
lea eax, [edi + 4]
mov edx, dword [eax + 0x10]
mov esi, dword [eax]
sub edx, esi
inc ecx
mov dword [eax + 8], edx
mov edx, dword [ebp + 0x24]
add eax, 0x10
cmp ecx, edx
jl 0x4c88d4
mov eax, dword [ebp + 0x24]
push 0x4cd530
shl eax, 4
push 0x10
mov dword [eax + edi + 0xc], ebx
mov ecx, dword [ebp + 0x24]
inc ecx
push ecx
push edi
call fcn.005032a1
mov ecx, dword [ebp + 0x24]
add esp, 0x10
xor eax, eax
xor esi, esi
cmp ecx, ebx
jl 0x4c893a
lea ecx, [edi + 0xc]
mov dword [ecx - 4], eax
mov edx, dword [ecx]
add eax, edx
mov edx, eax
and edx, 3
je 0x4c892f
mov ebx, 4
sub ebx, edx
add eax, ebx
xor ebx, ebx
mov edx, dword [ebp + 0x24]
inc esi
add ecx, 0x10
cmp esi, edx
jle 0x4c8916
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x18]
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ecx
je 0x4c8a0f
cmp dword [ebp + 0x28], ebx
je 0x4c8970
mov edx, dword [ebp + 0x24]
cmp edx, ebx
jl 0x4c899b
lea eax, [edi + 8]
inc edx
mov esi, dword [eax]
add eax, 0x10
add ecx, esi
dec edx
jne 0x4c8964
jmp 0x4c8997
mov esi, dword [ebp + 0x24]
xor eax, eax
cmp esi, ebx
jl 0x4c899b
lea edx, [edi + 0x18]
mov edi, dword [edx - 0x10]
shl edi, 0x10
add ecx, edi
lea edi, [eax + 1]
cmp edi, esi
jg 0x4c898d
add ecx, dword [edx]
add eax, 2
add edx, 0x20
cmp eax, esi
jle 0x4c897c
mov dword [esp + 0x68], ecx
push 0x5d2674
mov ecx, ebp
call fcn.004ca0c0
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], ebx
mov ecx, dword [eax + edx*4 + 8]
mov eax, dword [ebp + 0x24]
cmp eax, ebx
mov dword [esp + 0x24], ecx
jle 0x4c8a0f
mov edx, dword [esp + 0x28]
lea ebx, [edx + 4]
mov esi, dword [ebx + 8]
test esi, esi
jle 0x4c89fc
mov edi, dword [ebx]
mov eax, dword [esp + 0x24]
push esi
lea ecx, [edi + eax]
push ecx
mov ecx, ebp
call fcn.004ea250
test eax, eax
je 0x4c89fc
mov edx, dword [ebp + 8]
push esi
add edx, edi
mov edi, dword [esp + 0x28]
add edx, edi
mov ecx, ebp
push edx
call fcn.004c97e0
add dword [esp + 0x6c], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x24]
inc eax
add ebx, 0x10
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4c89c7
mov ecx, dword [esp + 0x90]
xor eax, eax
cmp ecx, eax
je 0x4c8b52
mov edi, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea eax, [ebx + ebx*2]
lea edi, [eax + eax + 0x47]
and edi, 0xfffffffc
push edi
mov dword [esp + 0x50], edi
call fcn.004c64a0
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x40], esi
and ecx, 3
rep stosb byte es:[edi], al
xor ecx, ecx
mov byte [esi], 0
mov byte [esi + 1], 0
mov byte [esi + 2], 0
mov byte [esi + 3], 4
mov byte [esi + 4], 0
mov byte [esi + 5], 0x36
mov dword [esp + 0x34], ecx
lea eax, [ecx + ecx*2]
lea edi, [ecx + 1]
inc cl
cmp edi, 2
lea eax, [esi + eax*4]
lea edx, [edi + edi*2]
mov byte [eax + 6], 0
mov byte [eax + 7], 3
mov byte [eax + 8], 0
mov byte [eax + 9], 1
mov byte [eax + 0xa], 4
mov byte [eax + 0xb], 9
mov byte [esi + edx*4], 0
mov byte [eax + 0xd], cl
jne 0x4c8ab0
xor ecx, ecx
jmp 0x4c8ab6
lea ecx, [ebx + ebx]
sar ecx, 8
cmp edi, 2
mov byte [eax + 0xe], cl
jne 0x4c8ac5
mov ecx, 0xe
jmp 0x4c8ace
lea ecx, [ebx + ebx]
and ecx, 0xff
mov edx, dword [esp + 0x34]
mov byte [eax + 0xf], cl
mov ecx, edx
sar ecx, 8
mov byte [eax + 0x10], cl
cmp edi, 2
mov byte [eax + 0x11], dl
jne 0x4c8b17
mov ecx, dword [0x5d269c]
lea eax, [edx + esi + 0x36]
add edx, 0xe
mov dword [eax], ecx
mov ecx, dword [0x5d26a0]
mov dword [esp + 0x34], edx
mov dword [eax + 4], ecx
mov ecx, dword [0x5d26a4]
mov dword [eax + 8], ecx
mov cx, word [0x5d26a8]
mov word [eax + 0xc], cx
jmp 0x4c8b45
xor ecx, ecx
test ebx, ebx
jle 0x4c8b3e
lea eax, [edx + esi + 0x37]
mov edx, dword [esp + 0x90]
mov byte [eax - 1], 0
add eax, 2
mov dl, byte [ecx + edx]
inc ecx
mov byte [eax - 2], dl
cmp ecx, ebx
jl 0x4c8b21
mov edx, dword [esp + 0x34]
lea eax, [edx + ebx*2]
mov dword [esp + 0x34], eax
mov ecx, edi
cmp ecx, 4
jl 0x4c8a7a
jmp 0x4c8b5a
mov dword [esp + 0x4c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x94]
test eax, eax
je 0x4c8c57
push 0x22c
mov dword [esp + 0x4c], 0x22c
call fcn.004c64a0
mov ebx, eax
mov eax, dword [esp + 0x98]
add esp, 4
mov edi, 0x100
mov byte [ebx], 0
mov byte [ebx + 1], 0
mov byte [ebx + 2], 0
mov byte [ebx + 3], 1
mov byte [ebx + 4], 0
mov byte [ebx + 5], 3
mov byte [ebx + 6], 0
mov byte [ebx + 7], 1
mov byte [ebx + 8], 0
mov byte [ebx + 9], 0
mov byte [ebx + 0xa], 0
mov byte [ebx + 0xb], 0xc
mov byte [ebx + 0xc], 0
mov byte [ebx + 0xd], 4
mov byte [ebx + 0xe], 2
mov byte [ebx + 0xf], 0x20
mov byte [ebx + 0x10], 0
mov byte [ebx + 0x11], 0
mov byte [ebx + 0x12], 0
mov byte [ebx + 0x13], 4
mov byte [ebx + 0x14], 0
mov byte [ebx + 0x15], 4
mov byte [ebx + 0x16], 0
mov byte [ebx + 0x17], 1
mov byte [ebx + 0x18], 0
mov byte [ebx + 0x19], 0
mov byte [ebx + 0x1a], 0
mov byte [ebx + 0x1b], 0xff
mov byte [ebx + 0x1c], 0xff
mov byte [ebx + 0x1d], 0xff
mov byte [ebx + 0x1e], 0
mov byte [ebx + 0x1f], 0
mov byte [ebx + 0x20], 0
mov byte [ebx + 0x21], 0
mov byte [ebx + 0x22], 0xff
mov byte [ebx + 0x23], 0xff
mov byte [ebx + 0x24], 0
mov byte [ebx + 0x25], 0
mov byte [ebx + 0x26], 0
mov byte [ebx + 0x27], 1
mov byte [ebx + 0x28], 0
mov byte [ebx + 0x29], 4
mov byte [ebx + 0x2a], 0
mov byte [ebx + 0x2b], 0
lea esi, [ebx + 0x2d]
xor ecx, ecx
add esi, 2
mov cl, byte [eax + 1]
add eax, 2
mov byte [esi - 3], cl
mov dl, byte [eax - 2]
mov byte [esi - 2], dl
dec edi
jne 0x4c8c3e
jmp 0x4c8c5d
xor ebx, ebx
mov dword [esp + 0x48], ebx
mov eax, dword [esp + 0x3c]
xor esi, esi
cmp eax, esi
je 0x4c8de1
push 0x5d2664
mov ecx, ebp
call fcn.004ca0c0
mov ecx, dword [ebp + 0x14]
lea eax, [eax + eax*4]
push 0x24
mov dword [esp + 0x80], 0x24
mov edx, dword [ecx + eax*4 + 8]
mov dword [esp + 0x28], edx
call fcn.004c64a0
mov edi, eax
add esp, 4
mov dword [esp + 0x60], edi
mov ecx, dword [esp + 0x24]
mov eax, ecx
inc ecx
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
push ecx
push eax
mov ecx, ebp
call fcn.004ea0f0
mov byte [edi + esi], al
inc esi
cmp esi, 0x24
jl 0x4c8ca0
mov edx, dword [ebp + 0x24]
push 0x5d265c
sar edx, 8
mov byte [edi + 0x22], dl
mov al, byte [ebp + 0x24]
mov ecx, ebp
mov byte [edi + 0x23], al
call fcn.004ca0c0
mov edx, dword [ebp + 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 0x24]
mov esi, dword [edx + ecx*4 + 8]
shl eax, 2
push eax
mov dword [esp + 0x84], eax
call fcn.004c64a0
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x34], eax
xor eax, eax
add esp, 4
cmp ecx, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], eax
jle 0x4c8d84
mov ecx, dword [esp + 0x30]
lea eax, [esi + 2]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x70]
lea edi, [ecx + 2]
mov dword [esp + 0x70], eax
mov dword [esp + 0x10], eax
lea edx, [esp + 0x20]
mov ecx, ebp
push edx
push esi
call fcn.004ea170
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x20]
push eax
push ecx
mov ecx, ebp
call fcn.004ea170
mov ecx, dword [esp + 0x44]
add esi, 4
add ecx, 4
add edi, 4
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x34]
mov edx, ecx
sar edx, 8
mov byte [edi - 6], dl
mov byte [edi - 5], cl
mov ecx, eax
sar ecx, 8
mov byte [edi - 4], cl
mov byte [edi - 3], al
mov eax, dword [esp + 0x70]
dec eax
mov dword [esp + 0x70], eax
jne 0x4c8d2c
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x24]
cmp edx, eax
jge 0x4c8df4
mov eax, dword [esp + 0x34]
mov ecx, edx
sar eax, 8
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x30]
lea edi, [eax + ecx*4 + 2]
lea edx, [esp + 0x20]
mov ecx, ebp
push edx
push esi
call fcn.004ea170
mov cl, byte [esp + 0x70]
mov dl, byte [esp + 0x34]
mov byte [edi - 2], cl
mov ecx, eax
sar ecx, 8
mov byte [edi - 1], dl
mov byte [edi], cl
mov byte [edi + 1], al
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x24]
add esi, 2
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4c8da4
jmp 0x4c8df4
mov dword [esp + 0x30], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], esi
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
xor eax, eax
mov esi, dword [esp + 0x38]
test ecx, ecx
setne al
xor edx, edx
test edi, edi
setne dl
add eax, edx
mov edx, dword [esp + 0x54]
xor ecx, ecx
mov edi, dword [esp + 0x1c]
test edx, edx
setne cl
add eax, ecx
xor edx, edx
test esi, esi
mov esi, dword [ebp + 0x18]
setne dl
add eax, edx
sub eax, edi
add eax, esi
mov esi, 0x14
push esi
push eax
mov dword [esp + 0x2c], eax
call fcn.004c6580
mov edx, dword [ebp + 0x18]
xor ecx, ecx
add esp, 8
xor edi, edi
cmp edx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ecx
jle 0x4c903f
mov dword [esp + 0x34], ecx
lea ecx, [eax + 4]
add eax, 0x10
mov dword [esp + 0x44], ecx
mov dword [esp + 0x70], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x34]
add eax, edx
mov ecx, dword [eax + 0x10]
test ecx, ecx
jle 0x4c9017
mov edx, dword [esp + 0x44]
mov ecx, 5
mov esi, eax
mov eax, dword [esp + 0x34]
lea edi, [edx - 4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [eax + ecx + 8]
mov dword [edx + 8], ecx
mov edx, dword [esp + 0x70]
mov ecx, dword [edx]
mov edx, dword [ebp + 0x14]
push ecx
mov ecx, ebp
mov eax, dword [eax + edx + 8]
push eax
call fcn.004ea250
test eax, eax
je 0x4c8f0a
mov ecx, dword [ebp + 0x14]
mov edi, dword [esp + 0x34]
mov esi, dword [ebp + 8]
mov edx, dword [edi + ecx + 0x10]
lea eax, [edi + ecx]
push edx
mov ecx, ebp
mov eax, dword [eax + 8]
add eax, esi
push eax
call fcn.004c97e0
mov esi, dword [esp + 0x44]
mov dword [esi], eax
mov ecx, dword [ebp + 0x14]
lea eax, [edi + ecx]
mov ecx, dword [edi + ecx]
cmp ecx, 0x68656164
jne 0x4c8f0e
mov eax, dword [eax + 8]
lea edx, [esp + 0x20]
add eax, 8
push edx
push eax
mov ecx, ebp
call fcn.004ea1b0
sub dword [esi], eax
jmp 0x4c8f0e
mov esi, dword [esp + 0x44]
mov eax, dword [esi - 4]
cmp eax, 0x636d6170
jne 0x4c8f4c
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x4c8f31
mov eax, dword [esp + 0x48]
push eax
mov dword [esi + 0xc], eax
push ebx
jmp 0x4c8ff7
cmp eax, 0x636d6170
jne 0x4c8f4c
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x4c8f4c
mov ecx, dword [esp + 0x74]
mov dword [esi + 0xc], ecx
jmp 0x4c9000
cmp eax, 0x6c6f6361
jne 0x4c8f7d
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4c8f7d
mov edx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x24]
neg edx
sbb edx, edx
mov ecx, dword [esp + 0x68]
and edx, 2
add edx, 2
inc eax
imul edx, eax
mov dword [esi + 0xc], edx
mov dword [esi], ecx
jmp 0x4c9000
cmp eax, 0x676c7966
jne 0x4c8f99
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4c8f99
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x6c]
mov dword [esi + 0xc], edx
jmp 0x4c8ffe
cmp eax, 0x6e616d65
jne 0x4c8fba
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x4c8fba
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
push eax
mov dword [esi + 0xc], eax
push ecx
jmp 0x4c8ff7
cmp eax, 0x68686561
jne 0x4c8fd8
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4c8fd8
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x60]
push eax
mov dword [esi + 0xc], eax
push edx
jmp 0x4c8ff7
cmp eax, 0x686d7478
jne 0x4c9000
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4c9000
mov eax, dword [esp + 0x80]
mov dword [esi + 0xc], eax
push eax
mov eax, dword [esp + 0x34]
push eax
mov ecx, ebp
call fcn.004c97e0
mov dword [esi], eax
mov ecx, dword [esp + 0x14]
inc ecx
add esi, 0x14
mov dword [esp + 0x44], esi
mov dword [esp + 0x14], ecx
mov edi, ecx
mov esi, 0x14
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x70]
add ecx, esi
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x18]
inc eax
add edx, esi
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x70], edx
jl 0x4c8e71
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4c9094
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x94]
lea ecx, [edi + edi*4]
test eax, eax
lea esi, [edx + ecx*4]
mov dword [esi], 0x636d6170
je 0x4c907b
mov eax, dword [esp + 0x48]
mov ecx, ebp
push eax
push ebx
call fcn.004c97e0
mov ecx, dword [esp + 0x48]
mov dword [esi + 4], eax
mov dword [esi + 0x10], ecx
jmp 0x4c9093
push 0x24
push 0x5d2548
mov ecx, ebp
call fcn.004c97e0
mov dword [esi + 4], eax
mov dword [esi + 0x10], 0x24
inc edi
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4c90ed
mov eax, dword [esp + 0x1c]
lea edx, [edi + edi*4]
lea esi, [eax + edx*4]
mov eax, dword [esp + 0x90]
test eax, eax
mov dword [esi], 0x6e616d65
je 0x4c90d4
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
push ecx
push edx
mov ecx, ebp
call fcn.004c97e0
mov dword [esi + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x10], eax
jmp 0x4c90ec
push 8
push 0x5d256c
mov ecx, ebp
call fcn.004c97e0
mov dword [esi + 4], eax
mov dword [esi + 0x10], 8
inc edi
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4c911e
mov edx, dword [esp + 0x1c]
lea ecx, [edi + edi*4]
push 0x20
push 0x5d2574
lea esi, [edx + ecx*4]
mov ecx, ebp
mov dword [esi], 0x706f7374
call fcn.004c97e0
mov dword [esi + 4], eax
mov dword [esi + 0x10], 0x20
inc edi
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4c914e
mov ecx, dword [esp + 0x1c]
lea eax, [edi + edi*4]
push 0x56
push 0x5d2594
lea esi, [ecx + eax*4]
mov ecx, ebp
mov dword [esi], 0x4f532f32
call fcn.004c97e0
mov dword [esi + 4], eax
mov dword [esi + 0x10], 0x56
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
push 0x4cd530
push 0x14
push edx
push edi
call fcn.005032a1
mov ecx, dword [esp + 0x34]
add esp, 0x10
mov esi, ecx
shl esi, 4
test ecx, ecx
lea eax, [esi + 0xc]
mov dword [esp + 0x70], eax
jle 0x4c91b8
mov edx, dword [esp + 0x24]
lea ecx, [edi + 0x10]
mov dword [esp + 0x80], edx
mov dword [ecx - 8], eax
mov edx, dword [ecx]
add eax, edx
mov edx, eax
and edx, 3
je 0x4c91a0
mov edi, 4
sub edi, edx
add eax, edi
mov edx, dword [esp + 0x80]
add ecx, 0x14
dec edx
mov dword [esp + 0x80], edx
jne 0x4c9189
mov eax, dword [esp + 0x70]
push eax
call fcn.004c64a0
mov edi, eax
mov eax, dword [esp + 0x28]
mov ecx, eax
add esp, 4
sar ecx, 8
or edx, 0xffffffff
mov dword [esp + 0x6c], edi
test eax, eax
mov byte [edi], 0
mov byte [edi + 1], 1
mov byte [edi + 2], 0
mov byte [edi + 3], 0
mov byte [edi + 4], cl
mov byte [edi + 5], al
je 0x4c91f1
inc edx
shr eax, 1
jne 0x4c91ec
lea ecx, [edx + 4]
mov eax, 1
shl eax, cl
mov byte [edi + 9], dl
mov ecx, eax
sub esi, eax
shr ecx, 8
mov byte [edi + 7], al
mov byte [edi + 6], cl
mov eax, esi
mov esi, dword [esp + 0x24]
mov ecx, edx
mov edx, eax
sar ecx, 8
shr edx, 8
test esi, esi
mov byte [edi + 8], cl
mov byte [edi + 0xa], dl
mov byte [edi + 0xb], al
jle 0x4c92c3
mov ecx, dword [esp + 0x1c]
lea eax, [edi + 0xd]
lea edi, [ecx + 8]
mov edx, dword [edi - 8]
add eax, 0x10
shr edx, 0x18
mov byte [eax - 0x11], dl
mov ecx, dword [edi - 8]
shr ecx, 0x10
mov byte [eax - 0x10], cl
mov edx, dword [edi - 8]
shr edx, 8
mov byte [eax - 0xf], dl
mov cl, byte [edi - 8]
mov byte [eax - 0xe], cl
mov edx, dword [edi - 4]
shr edx, 0x18
mov byte [eax - 0xd], dl
mov ecx, dword [edi - 4]
shr ecx, 0x10
mov byte [eax - 0xc], cl
mov edx, dword [edi - 4]
shr edx, 8
mov byte [eax - 0xb], dl
mov cl, byte [edi - 4]
mov byte [eax - 0xa], cl
mov edx, dword [edi]
sar edx, 0x18
mov byte [eax - 9], dl
mov ecx, dword [edi]
sar ecx, 0x10
mov byte [eax - 8], cl
mov edx, dword [edi]
sar edx, 8
mov byte [eax - 7], dl
mov cl, byte [edi]
mov byte [eax - 6], cl
mov edx, dword [edi + 8]
sar edx, 0x18
mov byte [eax - 5], dl
mov ecx, dword [edi + 8]
sar ecx, 0x10
mov byte [eax - 4], cl
mov edx, dword [edi + 8]
sar edx, 8
mov byte [eax - 3], dl
mov cl, byte [edi + 8]
mov byte [eax - 2], cl
add edi, 0x14
dec esi
jne 0x4c9236
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x8c]
mov esi, dword [esp + 0x88]
push edx
push eax
push edi
call esi
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
add esp, 0xc
push ecx
push edx
mov ecx, ebp
call fcn.004c97e0
mov ecx, dword [esp + 0x24]
test ecx, ecx
jle 0x4c930d
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
add ecx, 4
add eax, dword [ecx]
add ecx, 0x14
dec edx
jne 0x4c9305
mov ecx, 0xb1b0afba
sub ecx, eax
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0x78], ecx
jle 0x4c976d
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x7c], eax
add edx, 0x10
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 0x10]
cmp eax, 0x68656164
jne 0x4c93f7
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax - 4]
push ecx
push edx
mov ecx, ebp
call fcn.004ea250
test eax, eax
je 0x4c93bd
mov eax, dword [esp + 0x10]
push 8
mov ecx, dword [eax - 4]
mov eax, dword [ebp + 8]
add ecx, eax
push ecx
push edi
call esi
mov eax, dword [esp + 0x84]
push 4
mov edx, eax
mov ecx, eax
shr edx, 0x18
mov byte [esp + 0x60], dl
mov edx, eax
mov byte [esp + 0x63], al
lea eax, [esp + 0x60]
shr ecx, 0x10
shr edx, 8
push eax
push edi
mov byte [esp + 0x69], cl
mov byte [esp + 0x6a], dl
call esi
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [eax - 4]
mov eax, dword [ebp + 8]
sub ecx, 0xc
push ecx
lea ecx, [edx + eax + 0xc]
push ecx
push edi
call esi
add esp, 0x24
jmp 0x4c9735
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], 0
cmp dword [edx], 0
jle 0x4c9735
push 1
push 0x5fcd1c
push edi
call esi
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add esp, 0xc
inc eax
mov edx, dword [ecx]
mov dword [esp + 0x14], eax
cmp eax, edx
jl 0x4c93d2
jmp 0x4c9735
cmp eax, 0x636d6170
jne 0x4c9442
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x4c941c
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push eax
push ebx
push edi
call esi
add esp, 0xc
jmp 0x4c9735
cmp eax, 0x636d6170
jne 0x4c9442
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4c9442
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edx
push 0x5d2548
push edi
call esi
add esp, 0xc
jmp 0x4c9735
cmp eax, 0x6e616d65
jne 0x4c9491
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x4c946b
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
mov ecx, dword [eax]
push ecx
push edx
push edi
call esi
add esp, 0xc
jmp 0x4c9735
cmp eax, 0x6e616d65
jne 0x4c9491
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4c9491
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push ecx
push 0x5d256c
push edi
call esi
add esp, 0xc
jmp 0x4c9735
cmp eax, 0x706f7374
jne 0x4c94b7
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x4c94b7
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push eax
push 0x5d2574
push edi
call esi
add esp, 0xc
jmp 0x4c9735
cmp eax, 0x4f532f32
jne 0x4c94dd
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x4c94dd
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edx
push 0x5d2594
push edi
call esi
add esp, 0xc
jmp 0x4c9735
cmp eax, 0x68686561
jne 0x4c9503
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4c9503
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x60]
mov ecx, dword [eax]
push ecx
push edx
push edi
call esi
add esp, 0xc
jmp 0x4c9735
cmp eax, 0x686d7478
jne 0x4c9529
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4c9529
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov ecx, dword [eax]
push ecx
push edx
push edi
call esi
add esp, 0xc
jmp 0x4c9735
cmp eax, 0x6c6f6361
jne 0x4c95ca
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4c95ca
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x14], 0
test eax, eax
jl 0x4c9735
mov eax, dword [esp + 0x28]
add eax, 8
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x28]
test eax, eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
je 0x4c958e
sar ecx, 0x18
mov byte [esp + 0x2c], cl
mov edx, dword [eax]
sar edx, 0x10
mov byte [esp + 0x2d], dl
mov ecx, dword [eax]
sar ecx, 8
mov byte [esp + 0x2e], cl
mov dl, byte [eax]
mov byte [esp + 0x2f], dl
push 4
jmp 0x4c959f
sar ecx, 9
mov byte [esp + 0x2c], cl
mov edx, dword [eax]
sar edx, 1
mov byte [esp + 0x2d], dl
push 2
lea eax, [esp + 0x30]
push eax
push edi
call esi
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
mov ecx, dword [ebp + 0x24]
add esp, 0xc
inc eax
add edx, 0x10
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x4c], edx
jle 0x4c955e
jmp 0x4c9735
cmp eax, 0x676c7966
jne 0x4c96d6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4c96d6
push 0x5d2674
mov ecx, ebp
call fcn.004ca0c0
mov edx, dword [ebp + 0x14]
lea ecx, [eax + eax*4]
mov dword [esp + 0x14], 0
mov eax, dword [edx + ecx*4 + 8]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x24]
test eax, eax
jle 0x4c9735
mov ecx, dword [esp + 0x28]
add ecx, 0xc
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
test eax, eax
mov dword [esp + 0x70], eax
jle 0x4c96b5
mov ecx, dword [esp + 0x70]
mov eax, edx
mov edx, dword [esp + 0x24]
push ecx
mov eax, dword [eax - 8]
mov ecx, ebp
mov dword [esp + 0x84], eax
add eax, edx
push eax
call fcn.004ea250
test eax, eax
mov eax, dword [esp + 0x70]
je 0x4c966e
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x28]
add ecx, edx
add ecx, eax
push ecx
push edi
call esi
add esp, 0xc
jmp 0x4c9697
test eax, eax
jle 0x4c9697
mov dword [esp + 0x80], eax
push 1
push 0x5fcd1c
push edi
call esi
mov eax, dword [esp + 0x8c]
add esp, 0xc
dec eax
mov dword [esp + 0x80], eax
jne 0x4c9679
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
and eax, 3
je 0x4c96b5
mov ecx, 4
sub ecx, eax
push ecx
push 0x5fcd14
push edi
call esi
add esp, 0xc
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
mov ecx, dword [ebp + 0x24]
inc eax
add edx, 0x10
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], edx
jl 0x4c9619
jmp 0x4c9735
mov eax, dword [esp + 0x10]
mov ecx, ebp
mov edx, dword [eax]
mov eax, dword [eax - 4]
push edx
push eax
call fcn.004ea250
test eax, eax
je 0x4c9704
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov ecx, dword [eax - 4]
add edx, ecx
push edx
push edi
call esi
add esp, 0xc
jmp 0x4c9735
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], 0
cmp dword [eax], 0
jle 0x4c9735
push 1
push 0x5fcd1c
push edi
call esi
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add esp, 0xc
inc eax
mov edx, dword [ecx]
mov dword [esp + 0x14], eax
cmp eax, edx
jl 0x4c9715
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
and eax, 3
je 0x4c9753
mov ecx, 4
sub ecx, eax
push ecx
push 0x5fcd10
push edi
call esi
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x7c]
add ecx, 0x14
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x7c], eax
jne 0x4c9333
mov edx, dword [esp + 0x30]
push edx
call fcn.004c66b0
mov eax, dword [esp + 0x64]
push eax
call fcn.004c66b0
push ebx
call fcn.004c66b0
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004c66b0
mov edx, dword [esp + 0x7c]
push edx
call fcn.004c66b0
mov eax, dword [esp + 0x30]
push eax
call fcn.004c66b0
mov edi, dword [esp + 0x40]
add esp, 0x18
push edi
call fcn.004c66b0
add esp, 4
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x74
ret 0x10